feedGnuplot(1)
π feedGnuplot(1) π
okay so bestie, this is the feedGnuplot page from the General Commands Manual, and it is literally the cutest way to make GNUplot do your bidding from a pipe. grab a strawberry drink π and let's go.
πΈ NAME πΈ
feedGnuplot β a general purpose pipe-oriented plotting tool β¨
π SYNOPSIS π
likwid-setFreq <coreId> <frequency> [<governor>]
okay so yes, that is exactly what the synopsis line says, no cap β we are simply reporting it, not questioning it, and we are moving on. π
π DESCRIPTION π
feedGnuplot is a pipe-oriented plotting frontend for GNUplot that can read intermediate results and create a sort of live plot of the data. it's giving "your data, but make it a movie". π₯
it's used by likwid-perfscope(1) to print performance counter data printed out by the timeline daemon mode of likwid-perfctr(1).
the Perl script feedGnuplot is not written by the LIKWID Authors β it was written by Dima Kogan and published under GPL. the original web page is https://github.com/dkogan/feedgnuplot. we stan a credited icon. π
β¨ OPTIONS β¨
-hβ prints a help message to standard output, then exits. that's it, that's the whole vibe. π«Ά--[no]domainβ if enabled, the first element of each line is the domain variable. if not, the point index is used.--[no]dataidβ if enabled, each data point is preceded by the ID of the data set that point corresponds to. this ID is interpreted as a string, NOT as just a number. if not enabled, the order of the point is used.--[no]3dβ do [not] plot in 3D. this only makes sense with--domain. each domain here is an (x,y) tuple. π§--colormapβ show a colormapped xy plot. requires extra data for the color.zmin/zmaxcan be used to set the extents of the colors. automatically incrementsextraValuesPerPoint. π--[no]streamβ do [not] display the data a point at a time, as it comes in. the live-plot main character energy. β--[no]linesβ do [not] draw lines to connect consecutive points.--[no]pointsβ do [not] draw points.--circlesβ plot with circles. this requires a radius be specified for each point. automatically incrementsextraValuesPerPoint. β--xlabel xxxβ set x-axis label.--ylabel xxxβ set y-axis label.--y2label xxxβ set y2-axis label. does not apply to 3d plots.--zlabel xxxβ set z-axis label. only applies to 3d plots.--title xxxβ set the title of the plot. π--legend curveID=legendβ set the label for a curve plot. use this option multiple times for multiple curves. with--dataid,curveIDis the ID. otherwise, it's the index of the curve, starting at 0.--autolegendβ use the curve IDs for the legend. titles given with--legendoverride these.--xlen xxxβ when using--stream, sets the size of the x-window to plot. omit this or set it to 0 to plot ALL the data. does not make sense with 3d plots. implies--monotonic.--xmin xxxβ set the minimal point in range for the x-axis. these are ignored in a streaming plot.--xmax xxxβ set the maximal point in range for the x-axis. these are ignored in a streaming plot.--ymin xxxβ set the minimal point in range for the y-axis.--ymax xxxβ set the maximal point in range for the y-axis.--y2min xxxβ set the minimal point in range for the y2-axis. does not apply to 3d plots.--y2max xxxβ set the maximal point in range for the y2-axis. does not apply to 3d plots.--zmin xxxβ set the minimal point in range for the z-axis. only applies to 3d plots or colormaps.--zmax xxxβ set the maximal point in range for the z-axis. only applies to 3d plots or colormaps.--y2 xxxβ plot the data specified by this curve ID on the y2 axis. without--dataid, the ID is just an ordered 0-based index. does not apply to 3d plots.--curvestyle curveID=styleβ additional styles per curve. with--dataid,curveIDis the ID. otherwise, it's the index of the curve, starting at 0. use this option multiple times for multiple curves. π--curvestyleall xxxβ additional styles for ALL curves.--extracmds xxxβ additional commands. these could contain extra global styles for instance.--size xxxβ Gnuplot size option.--squareβ plot data with aspect ratio 1. for 3D plots, this controls the aspect ratio for all 3 axes.--square_xyβ for 3D plots, set square aspect ratio for ONLY the x,y axes.--hardcopy xxxβ if not streaming, output to a file specified here. format inferred from filename.--maxcurves xxxβ the maximum allowed number of curves. this is 100 by default, but can be reset with this option. this exists purely to prevent perl from allocating all of the system's memory when reading bogus data. like, genuinely, it's a guardrail, respect it. π--monotonicβ if--domainis given, checks to make sure that the x-coordinate in the input data is monotonically increasing. if a given x-variable is in the past, all data currently cached for this curve is purged. without--monotonic, all data is kept. does not make sense with 3d plots. no--monotonicby default.--extraValuesPerPoint xxxβ how many extra values are given for each data point. normally this is 0, and does not need to be specified, but sometimes we want extra data, like for colors or point sizes or error bars, etc.feedGnuplotoptions that require this (colormap,circles) automatically set it. this option is ONLY needed if unknown styles are used, with--curvestyleallfor instance.--dumpβ instead of printing to gnuplot, print to STDOUT. for debugging. π
π¦ EXAMPLE π¦
- simple real-time plotting example: plot how much data is received on the
wlan0network interface in bytes/second
while true; do sleep 1; cat /proc/net/dev; done | gawk '/wlan0/ {if(b)
{print $2-b; fflush()} b=$2}' |
feedgnuplot --lines --stream --xlen 10 --ylabel 'Bytes/sec' --xlabel
seconds
reads the stats of the network interface wlan0 every second, reformats it with gawk and pipes the formated output into feedGnuplot to create a line plot (--lines) of the streaming input (--stream). always show the last 10 seconds (--xlen) and use the labels seconds for the x-axis and Bytes/sec for the y-axis. π₯
- simple real-time plotting example: plot the
idleCPU consumption against time
sar 1 -1 | awk '$1 ~ /..:..:../ && $8 ~/^[0-9.]*$/ {print $1,$8;
fflush()}' |
feedgnuplot --stream --domain --lines --timefmt '%H:%M:%S' --set
'format x %H:%M:%S '
reads the CPU IDLE consumption and sets the current time as x-axis key. β°
π AUTHOR π
written by Dima Kogan <dima@secretsauce.net>.
π BUGS π
report Bugs on <https://github.com/dkogan/feedgnuplot/issues>. don't suffer in silence bestie, file the issue. π«Ά
π SEE ALSO π
gnuplot(1), awk(1), sar(1), likwid-perfscope(1), likwid-perfctr(1)
aaaand that's the whole page, you ate that π β this one ships as likwid-5, dated 19.08.2026, and it's a whole vibe. periodt. πβ¨
π¦ where this page comes from
- nixpkgs unstable: likwid 5.5.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms