COLPLOT(1)
π COLPLOT β bestie edition β¨
okay so this is the colplot(1) manual page, and by the end of it you're gonna be plotting collectl data like it's your whole personality π
grab a snack, we're going in.
πΈ NAME πΈ
colplot β plots collectl data using gnuplot π¨
π¦ SYNOPSIS π¦
colplot -plot plots [-switches]
β¨ DESCRIPTIONS β¨
so like, colplot generates the plots you picked with PLOT(s), and it can drop them on the terminal, shove them into a file, or straight up deliver them as email π The switches are the ones running the show here β they decide which files get plotted, the timeframes, the formats, and where everything ends up.
And if you're doing a web based display? You can run in live mode which gives you periodic screen refreshes so you can watch your real-time data do its little thing π For more detail, check the web-based help and the FAQ, bestie.
π PLOTS π
the plots themselves? you pick them from the standard list β go peep -showplots for that β using -plot.
-plotβ list one or more plot names, either separated with commas and no whitespace, or, if you're feeling spicy and want whitespace in there, make sure you enclose the whole string in quotes. no cap.
π SWITCHES π
the rest of the switches are all optional and they fall into several little categories. the first category is the ones that select the files and timeframes to plot, and they go a lil something like this:
-dirβ look in this directory for plot files instead of the one pointed to byPlotDirincolplot.conf. quick reminder of what counts: a plot file is one with a known extension and a properly formatted name. any file that fails either of those tests gets ignored, periodt.-contains string1 [string2...]β this field is one or more strings separated by commas or whitespace (and if it's whitespace, the entire string must be quoted, iykyk). every selected plot file gets its name compared against each string. Unless-anyis specified, each string must appear somewhere in that file name for the file to keep being selected.
and here's the special case, bestie: if there's a string containing a [, it's assumed to be in pdsh format β that's a compact format for specifying multiple hostnames, eg xyz[1-5,10] specifies 6 hosts whose names all begin with xyz and are followed by one of 6 values. in that case, only files with hostnames exactly matching these names will be selected. no vibes-based matching π
-allβ if specified, all strings specified by-containsmust match for a file to be seleceted for plotting.-date from[-thru]β the starting and ending date between which files are selected for plotting. the dates must be inyyyymmddformat π-lastmins minutesβ once all the files matching the selection criteria are discovered, use the more recent file access time to determine the ending time for plotting data. β οΈ heads up though: if you've copied the file from elsewhere and didn't preserve the last access time in the newly created files, this will produce unexpected results. not me warning you twice.-time from[-thru]β the starting and ending time between which data is plotted. the times must be inhh:mmORhh:mm:ssformat. the hour portion may be 1 or 2 digits β°
the next set of switches controls which plots are actually displayed:
-filters string1 [string2...]β these only apply to detail plots. they select which devices to produce plots for. invalid or unknown devics are ignored. in other words: if one selects-filters eth xyz d1and requests network plots, only ethernet devices will be displayed. sincexyzis an invalid selection string it is ignored. since there are no network devices withd1in their names, it too will be ignored. and if one choses network and disk plots, ethernet devices as well as any disk names with ad1in them will be displayed. slay, filtering π-type typeβ by default, plots are geneated using solid lines. However, one can request a different format be used including points or stacked line or stacked points.-uniqueβ if one generates multiple unique plot files per day via the-ouswitch incollectl, those files will be ignored bycolplot. this switch β currently only available via the CLI β will cause those files to be selected and displayed in the same plot. one plot, many files, iconic behavior β¨
the next set of switches deal with plot formatting, typically only used under unusual circumstances since the default formats meet most needs:
-adjustβcolplotuses a default height for the vertical axis which can be overridden via-height. However sometimes a plot is not high enough for all the labels to fit in the legend. this switch will keep the user specified height for all plots in which the legend fits as a single column but increase the heights of those that aren't high enough. it's giving "tailored fit" π§΅-filetype typeβ this switch must be used in conjunction with selecting a destination other than the terminal, specifically email or directory. one can use it to change the default from aPDFfile to either aPNGfile for each plot orTTYto sendPNGoutput for one plot toSTDOUT.-height numberβ this controls the vertical hight of a plot. this width also includes the xaxis and you can therefore increase the room taken by a single plot by choosing-noxaxis. (yes it says hight, we're keeping it, it's part of the lore π)-nolegend numberβ this removes the legend from the plotting area, causing the plot to become physically wider.-noxaxisβ this removed the xaxis from the plotting area, causing the plot to become physically taller.-thick numberβ for some people the thickness of the lines in a plot may be too thin to clearly see the different color variations of the lines. versions ofgnuplot>=4.2support wider lines and therefore so doescolplot. if using scatter plots, a different plotting symbol is actually used. values of2or3are usually sufficient.-width numberβ this switch controls the width of a plot where1is the size of a printable page. if set to more than1and either-fileor-mailis chosen it will be forced to1. by setting this number to less than1, it may be possible to fit more than one plot on a page or screen. and as this width also includes the legend, you can further reduce the plot size by choosing-nolegend.-xtics nβ this causes a tic mark to be drawn on the xaxis every n seconds. it usually doesn't make sense unless you've chosen a fairly narrow timeframe in which to generate a plot.-ylogβ make the y-axis logrithmic.
this set of switches deal with the plot destination when it is NOT the terminal window:
-email addressβ Linux only. address to send plot file(s) to. the only syntax check is for an@to appear somewhere in the address string. that's the whole vetting process, bestie π§-filedir directoryβ the name of directory into which the plot file(s) will be placed. the directory must exist. no creating it for you, sorry π«Ά-hrefβ print the hrefs that would be used if run from a browser.-incctlβ really only intended for users familiar withgnuplot, this is the control file used to generate the plots. it allows someone to manually edit the file to change the plot appearance and/or labels by rerunninggnuplotusing its settings π§-pagbrkβ instead of generating a page break in a pdf file whenever a page fills, this flag will cause a page break whenever the hostname changes.-subject subjectβ use this subject in email rather than the default.
and finally, for completeness, there are several types of help:
-helpβ standard help.-showparamsβ this is really a debugging aid, intended for developers and/or people building custom plot definitions. when specified, the plotting parameters for each selected plot will be shown. of particular value is the actual column number for each data element in each selected file. π devs, this one's for you-showplotsβ list the names of all the standard plots available for use with the-plotsswitch.-versionβ show both the versions of bothcolplotas well asgnuplot.
π AUTHOR π
this program was written by Mark Seger (mjseger@gmail.com). Copyright 2003-2015 Hewlett-Packard Development Company, L.P.
π SEE ALSO π
(that's it, that's the list β nothing else linked here, bestie π¦)
and that's the whole thing! this page lives in the LOCAL manual, dated OCTOBER 2008, for COLPLOT(1) β go forth and plot, you absolute main character ππ
π¦ where this page comes from
- debian bookworm: colplot 5.2.0-1.1 Β· GPL-2.0-only OR Artistic-1.0-Perl
- debian trixie: colplot 5.2.0-1.3 Β· GPL-2.0-only OR Artistic-1.0-Perl
- ubuntu jammy: colplot 5.2.0-1.1 Β· GPL-2.0-only OR Artistic-1.0-Perl
- ubuntu noble: colplot 5.2.0-1.3 Β· GPL-2.0-only OR Artistic-1.0-Perl
- ubuntu resolute: colplot 5.2.0-5 Β· GPL-2.0-only OR Artistic-1.0-Perl
- ubuntu stonking: colplot 5.2.0-5 Β· GPL-2.0-only OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms