{"id":4145,"date":"2016-08-17T15:36:29","date_gmt":"2016-08-17T14:36:29","guid":{"rendered":"https:\/\/stevepedwards.today\/DebianAdmin\/?p=4145"},"modified":"2016-08-17T15:36:29","modified_gmt":"2016-08-17T14:36:29","slug":"gnuplot-basic-starter-example-data-file-for-system-profile-plots","status":"publish","type":"post","link":"https:\/\/stevepedwards.today\/DebianAdmin\/gnuplot-basic-starter-example-data-file-for-system-profile-plots\/","title":{"rendered":"Gnuplot &#8211; Basic Starter Example Data File for System Profile Plots"},"content":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_4145\" class=\"pvc_stats all  \" data-element-id=\"4145\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>This example is my starter data.dat file for building complexity if required, later. It combines the basics required for a time of day x axis against y axis numerical data, with x\/y autoscaling and title functions etc. Paste it into some file name:<\/p>\n<p><span style=\"color: #0000ff;\">vi plot1.gnu<\/span><\/p>\n<p><span style=\"color: #ff0000;\">set title 'user CPU time'<\/span><br \/>\n<span style=\"color: #ff0000;\">set autoscale<\/span><br \/>\n<span style=\"color: #ff0000;\">set terminal png medium size 640,480<\/span><br \/>\n<span style=\"color: #ff0000;\">set xdata time<\/span><br \/>\n<span style=\"color: #ff0000;\">set xlabel 'Time of Day' font 'Arial,14'<\/span><br \/>\n<span style=\"color: #ff0000;\">set ylabel '%CPU util' font 'Arial,14'<\/span><br \/>\n<span style=\"color: #ff0000;\">set timefmt '%Y-%m-%d %H:%M:%S'<\/span><br \/>\n<span style=\"color: #ff0000;\">set output 'userCPU.png'<\/span><br \/>\n<span style=\"color: #ff0000;\">plot 'data1.dat' using 1:3 title 'user cpu%' with linespoints<\/span><\/p>\n<p>This requires the data file \"data1.dat\" to be available in your home dir, if running gnuplot from there. The 1:3 reads the 3rd column data from left to right to plot it against the pre-defined x time axis. It outputs a PNG of the plot, also in the home directory. The rest is self evident - titles etc.<\/p>\n<p>The data can be a column list of numbers created from any source - by hand etc. For this example I'm collecting data from sar\/sadf.<\/p>\n<p><span style=\"color: #0000ff;\">sudo apt-get install sysstat<\/span><\/p>\n<p>Turn on sadc logging in<\/p>\n<p><span style=\"color: #0000ff;\">sudo vi \/etc\/default\/sysstat<\/span><\/p>\n<p><span style=\"color: #ff0000;\">ENABLED=\"true\"<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sar<\/span><br \/>\n<span style=\"color: #ff0000;\">Cannot open \/var\/log\/sysstat\/sa17: No such file or directory<\/span><br \/>\n<span style=\"color: #ff0000;\">Please check if data collecting is enabled in \/etc\/default\/sysstat<\/span><\/p>\n<p>After a\u00a0\"linux jiffie\" or two, and the creation of a binary log folder e.g:\u00a0<span style=\"color: #0000ff;\">ls \/var\/log\/sysstat\/sa17<\/span>,\u00a0sar will be able to output data from 10 min intervals, as will sadf:<\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/sar1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4148\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/sar1.png\" alt=\"sar1.png\" width=\"639\" height=\"373\" \/><\/a><\/p>\n<p>stevee@AMDA8 ~ $ <span style=\"color: #0000ff;\">sadf -p -P 0,1,2,3 | head\u00a0<\/span><br \/>\n<span style=\"color: #ff0000;\">AMDA8 599 2016-08-17 11:55:01 UTC cpu0 %<strong>user<\/strong> 10.28<\/span><br \/>\n<span style=\"color: #ff0000;\">AMDA8 599 2016-08-17 11:55:01 UTC cpu0 %nice 0.07<\/span><br \/>\n<span style=\"color: #ff0000;\">.....<\/span><\/p>\n<p>This is the data I will strip columns from for that data.dat file\u00a0as the y axis in is already configured to read time\/date info in this format of columns 3 and\/or 4 above:\u00a0<span style=\"color: #ff0000;\">set timefmt '%Y-%m-%d %H:%M:%S'<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sadf -p -P 0,1,2,3 | grep user | grep cpu0 | awk '{print $3,$4,$8}'<\/span><\/p>\n<p><span style=\"color: #ff0000;\">2016-08-17 11:55:01 10.28<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 12:45:01 7.67....<\/span><\/p>\n<p>3 columns allows you to see where the 1:3 fits in the gnuplot conf file, and will allow an extra date on the x axis to be added if you want later.<\/p>\n<p>Direct this into data.dat:\u00a0<span style=\"color: #0000ff;\">sadf -p -P 0,1,2,3 | grep user | grep cpu0 | awk '{print $3,$4,$8}' &gt; data1.dat<\/span><\/p>\n<p><span style=\"color: #0000ff;\">cat data1.dat<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 11:55:01 10.28<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 12:05:01 5.27<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 12:15:01 17.73<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 12:25:01 13.63<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 12:35:01 4.38<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 12:45:01 7.67<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 12:55:01 8.40<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 13:05:01 11.02<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 13:15:01 13.57<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 13:25:01 10.07<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 13:35:01 5.68<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 13:45:01 3.20<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 13:55:01 4.32<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 14:05:01 2.40<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 14:15:01 9.42<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 14:25:01 10.45<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 14:35:01 14.02<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 14:45:01 14.45<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 14:55:01 16.20<\/span><\/p>\n<p>Now you just run gnuplot with the conf file:<\/p>\n<p><span style=\"color: #0000ff;\">gnuplot plot1.gnu<\/span><\/p>\n<p>An aptly named userCPU.png should appear in your home dir:<\/p>\n<p><span style=\"color: #0000ff;\">ls<\/span><br \/>\n<span style=\"color: #ff0000;\">bin Cprogs Desktop Downloads Pictures Public <strong>userCPU.png<\/strong><\/span><br \/>\n<span style=\"color: #ff0000;\">Contacts data1.dat Documents Music plot1.gnu Templates Videos<\/span><\/p>\n<p>Open it:<\/p>\n<p><span style=\"color: #0000ff;\">xdg-open userCPU.png\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/userCPU-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4154\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/userCPU-1.png\" alt=\"userCPU.png\" width=\"640\" height=\"480\" \/><\/a><\/p>\n<p>Compare the data values from the data.dat file and check their graph points:<\/p>\n<p><span style=\"color: #0000ff;\">cat data1.dat | awk '{print $3}' | sed ':a;N;$!ba;s\/\\n\/; \/g'<\/span><br \/>\n<span style=\"color: #ff0000;\">10.28; 5.27; 17.73; 13.63; 4.38; 7.67; 8.40; 11.02; 13.57; 10.07; 5.68; 3.20; 4.32; 2.40; 9.42; 10.45; 14.02; 14.45; 16.20; 8.94\u00a0<\/span><\/p>\n<p>Nice! Now you can tart it up with colours and whatever you want by adding more functions to the conf file etc.<\/p>\n<p><span style=\"color: #00ff00;\"><a style=\"color: #00ff00;\" href=\"https:\/\/gnuplot.sourceforge.net\/docs_4.2\/node1.html\">https:\/\/gnuplot.sourceforge.net\/docs_4.2\/node1.html<\/a><\/span><\/p>\n<p>Hmmm...just noticed...the latest sar data is 1hr 08 behind real time...<\/p>\n<p><span style=\"color: #0000ff;\">date<\/span><br \/>\n<span style=\"color: #ff0000;\">Wed Aug 17 <strong>16:43:37<\/strong> BST 2016<\/span><\/p>\n<p><span style=\"color: #0000ff;\">cat data1.dat | tail -n1<\/span><br \/>\n<span style=\"color: #ff0000;\">2016-08-17 <strong>15:35:01<\/strong> 6.11<\/span><\/p>\n<p>OK, a few hrs later, a thing to note is that you need to increase the PNG size as you add more data else the x axis time gets squished, so I changed:<\/p>\n<p><span style=\"color: #ff0000;\">set terminal png large size 1280,960<\/span><\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/userCPUlg.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4162\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/userCPUlg.png\" alt=\"userCPUlg.png\" width=\"809\" height=\"609\" \/><\/a><\/p>\n<p>The x axis time fields (with seconds) are set by the data, <strong>not<\/strong> the conf file, so if you wanted to ignore the seconds you have to strip that colon separated column from the output. Then you could remove the %S from<\/p>\n<p><span style=\"color: #ff0000;\">set timefmt '%Y-%m-%d %H:%M:%S'<\/span><\/p>\n<p>If you study the data, the time is taken every 01 secs, so that is what needs removal:<\/p>\n<p><span style=\"color: #ff0000;\">2016-08-17 17:05:<strong>01<\/strong> 24.73<\/span><br \/>\n<span style=\"color: #ff0000;\"> 2016-08-17 17:15:<strong>01<\/strong> 7.24<\/span><br \/>\n<span style=\"color: #ff0000;\"> 2016-08-17 17:25:<strong>01<\/strong> 2.75<\/span><\/p>\n<p>Appending sed to strip these chars from the line does the job:<\/p>\n<p><span style=\"color: #0000ff;\">sadf -p -P 0,1,2,3 | grep user | grep cpu0 | awk '{print $3,$4,$8}' | sed 's\/:01\/\/g'<\/span><\/p>\n<p><span style=\"color: #ff0000;\">2016-08-17 11:<strong>55<\/strong> 10.28<\/span><br \/>\n<span style=\"color: #ff0000;\"> 2016-08-17 12:<strong>05<\/strong> 5.27<\/span><br \/>\n<span style=\"color: #ff0000;\"> 2016-08-17 12:<strong>15<\/strong> 17.73<\/span><\/p>\n<p>Now there is data with only 10 min intervals. Amending the conf file for that also gives month and day, but very squashed so needs rotation:<\/p>\n<p><span style=\"color: #ff0000;\">set format x \"%m-%d %H:%M\"<\/span><\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/nosecs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4165\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/nosecs.png\" alt=\"nosecs.png\" width=\"812\" height=\"167\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\">set format x \"%H:%M\"<\/span><\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/nosecs2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4166\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/nosecs2.png\" alt=\"nosecs2.png\" width=\"810\" height=\"191\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\">set xtics rotate<\/span><\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/rotatedef.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4168\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/rotatedef.png\" alt=\"rotatedef.png\" width=\"711\" height=\"158\" \/><\/a><\/p>\n<p>That defaults to 90 degs, but 45 may be better for added info but I cannot get this \"by 45\" to work:<\/p>\n<p><span style=\"color: #ff0000;\">set title 'user CPU time'<br \/>\nset autoscale<br \/>\nset terminal png large size 1280,960<br \/>\nset xdata time<br \/>\nset xlabel 'Time of Day' font 'Arial,14' <strong>offset -2,0<\/strong><br \/>\nset ylabel '%CPU util' font 'Arial,12'<br \/>\nset timefmt '%Y-%m-%d %H:%M:%S'<br \/>\nset xtics <strong>rotate<\/strong><br \/>\nset format x <strong>\"%H:%M\"<\/strong><br \/>\nset output 'userCPU.png'<br \/>\nplot 'data1.dat' using 1:3 title 'user cpu%' with linespoints<br \/>\n<\/span><\/p>\n<p>Finally, to include the full ymd\/time date:<br \/>\n<span style=\"color: #ff0000;\">set format x \"%Y-%m-%d %H:%M\"<\/span><\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/userCPU-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4171\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/userCPU-2.png\" alt=\"userCPU.png\" width=\"1280\" height=\"960\" \/><\/a><\/p>\n<p>Each time you want an instant updated plot viewed, run the three cmds on one line e.g:<\/p>\n<p><span style=\"color: #0000ff;\">sadf -p -P 0,1,2,3 | grep user | grep cpu0 | awk '{print $3,$4,$8}' | sed 's\/:01\/\/g' &gt; data1.dat; gnuplot plot1.gnu;\u00a0xdg-open userCPU.png<\/span><\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/userCPU-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4173\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/userCPU-3.png\" alt=\"userCPU.png\" width=\"1280\" height=\"960\" \/><\/a><\/p>\n<p>It's easy to view the other CPU% usage options like idle and system just by changing the grepped term and\/or the png name. Swap user for idle for example - note the y axis autoscale increase:<\/p>\n<p><span style=\"color: #0000ff;\">sadf -p -P 0,1,2,3 | grep <strong>idle<\/strong> | grep cpu0 | awk '{print $3,$4,$8}' | sed 's\/:01\/\/g' &gt; data1.dat; gnuplot plot1.gnu; mv -v userCPU.png <strong>idleCPU.png\u00a0<\/strong>; xdg-open<strong> idleCPU.png<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/idleCPU.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4177\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/idleCPU.png\" alt=\"idleCPU.png\" width=\"1280\" height=\"960\" \/><\/a><\/p>\n<p>The idle is almost a mirror image of the user graph! The system must be similar to the user stats then?<\/p>\n<p><span style=\"color: #0000ff;\">sadf -p -P 0,1,2,3 | grep system | grep cpu0 | awk '{print $3,$4,$8}' | sed 's\/:01\/\/g' &gt; data1.dat; gnuplot plot1.gnu; mv -v userCPU.png system.png; xdg-open system.png<\/span><\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/system.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4179\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/system.png\" alt=\"system.png\" width=\"1280\" height=\"960\" \/><\/a><\/p>\n<p>Very similar:<\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/usersystem.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4181\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/usersystem.png\" alt=\"usersystem.png\" width=\"1366\" height=\"768\" \/><\/a><\/p>\n<p>If xdg-open complains with:<\/p>\n<p><span style=\"color: #ff0000;\">(eog:18950): EOG-WARNING **: Couldn't load icon: Error writing<\/span><\/p>\n<p>stick it in the bit bucket to get the cmd line back:<\/p>\n<p><span style=\"color: #0000ff;\"> sadf -p -P 0,1,2,3 | grep system | grep cpu0 | awk '{print $3,$4,$8}' | sed 's\/:01\/\/g' &gt; data1.dat; gnuplot plot1.gnu; mv -v userCPU.png system.png; xdg-open system.png <strong>&amp;2&gt; \/dev\/null <\/strong><\/span><br \/>\n<span style=\"color: #ff0000;\">\u02dcuserCPU.png, -&gt; \u02dcsystem.png,<\/span><br \/>\n<span style=\"color: #ff0000;\">[1] 19094<\/span><br \/>\n<span style=\"color: #ff0000;\">stevee@AMDA8 ~ $<\/span><\/p>\n<p>With a change of log folder at 2400hrs, you may want to run data from a prior day with the same format for these commands:<\/p>\n<p><span style=\"color: #0000ff;\">sadf <strong>\/var\/log\/sysstat\/sa17<\/strong>\u00a0-P 0,1,2,3 | grep nice | grep cpu0 | awk '{print $3,$4,$8}' | sed 's\/:01\/\/g' &gt; data1.dat; gnuplot plot1.gnu; mv -v userCPU.png nice.png; xdg-open nice.png &amp;2&gt; \/dev\/null<\/span><\/p>\n<p>Running for niceness also shows the autoscaling smaller y axis:<\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/nice.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4184\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/nice.png\" alt=\"nice.png\" width=\"1280\" height=\"960\" \/><\/a><\/p>\n<p>Finally, just for completeness of terminology, the <strong>iowait<\/strong> field (steal is all 0%):<\/p>\n<p><a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/iowait.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-4185\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2016\/08\/iowait.png\" alt=\"iowait.png\" width=\"1280\" height=\"960\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_4145\" class=\"pvc_stats all  \" data-element-id=\"4145\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>This example is my starter data.dat file for building complexity if required, later. It combines the basics required for a time of day x axis against y axis numerical data, with x\/y autoscaling and title functions etc. Paste it into some file name: vi plot1.gnu set title 'user CPU time' set autoscale set terminal png <a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/gnuplot-basic-starter-example-data-file-for-system-profile-plots\/\" class=\"more-link\">...<span class=\"screen-reader-text\">\u00a0 Gnuplot &#8211; Basic Starter Example Data File for System Profile Plots<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-4145","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"a3_pvc":{"activated":true,"total_views":1,"today_views":0},"_links":{"self":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/4145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/comments?post=4145"}],"version-history":[{"count":0,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/4145\/revisions"}],"wp:attachment":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/media?parent=4145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/categories?post=4145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/tags?post=4145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}