ubuntu - gnuplot line for every distinct value in one column -
ubuntu - gnuplot line for every distinct value in one column -
i have next info tcm* / tem* different instances. first column time in seconds. measure cpu usage, ram usage , amount of ram in mb in column 3-5. want plot cpu usage every instance in graph.
the graph should have first column (seconds) x-axis , 3rd y-axis. sec value should treated that: every distinct value there should 1 line in graph. graph have 9 lines.
how can that?
0 tcm1 10.5 2.9 29900 0 tcm2 5.3 3.0 30380 0 tem1 10.5 2.9 29816 0 tem2 15.8 2.9 29792 0 tem3 5.3 2.9 29752 0 tem4 5.3 2.7 27908 0 tem5 15.8 2.7 27752 0 tem6 26.3 2.9 29716 0 tem7 10.5 2.7 27728 1 tcm1 5.2 2.9 29900 1 tcm2 10.5 3.0 30380 1 tem1 5.2 2.9 29816 1 tem2 10.5 2.9 29792 1 tem3 10.5 2.9 29752 1 tem4 10.5 2.7 27908 1 tem5 5.2 2.7 27752 1 tem6 10.5 2.9 29716 1 tem7 5.2 2.7 27728 2 tcm1 24.8 2.9 29900 2 tcm2 5.0 3.0 30380 2 tem1 5.0 2.9 29816 2 tem2 5.0 2.9 29792 2 tem3 5.0 2.9 29752 2 tem4 9.9 2.7 27908 2 tem5 9.9 2.7 27752 2 tem6 9.9 2.9 29716 2 tem7 5.0 2.7 27728 3 tcm1 16.7 2.9 29900 3 tcm2 11.1 3.0 30380 3 tem1 11.1 2.9 29816 3 tem2 22.2 2.9 29792 3 tem3 16.7 2.9 29752 3 tem4 5.6 2.7 27908 3 tem5 22.2 2.7 27752 3 tem6 16.7 2.9 29716 3 tem7 5.6 2.7 27728 4 tcm1 8.6 2.9 29900 4 tcm2 8.6 3.0 30380 4 tem1 8.6 2.9 29816 4 tem2 4.3 2.9 29792 4 tem3 13.0 2.9 29752 4 tem4 8.6 2.7 27908 4 tem5 4.3 2.7 27752 4 tem6 4.3 2.9 29716 4 tem7 8.6 2.7 27728 5 tcm1 20.6 2.9 29900 5 tcm2 10.3 3.0 30380 5 tem1 5.2 2.9 29816 5 tem2 5.2 2.9 29792 5 tem3 5.2 2.9 29752 5 tem4 5.2 2.7 27908 5 tem5 5.2 2.7 27752 5 tem6 5.2 2.9 29716 5 tem7 5.2 2.7 27728 6 tcm1 11.0 2.9 29900 6 tcm2 16.4 3.0 30380 6 tem1 11.0 2.9 29816 6 tem2 21.9 2.9 29792 6 tem3 27.4 2.9 29752 6 tem4 5.5 2.7 27908 6 tem5 21.9 2.7 27752 6 tem6 21.9 2.9 29716 6 tem7 11.0 2.7 27728 7 tcm1 9.6 2.9 29900 7 tcm2 9.6 3.0 30380 7 tem1 4.8 2.9 29816 7 tem2 4.8 2.9 29792 7 tem3 9.6 2.9 29752 7 tem4 14.4 2.7 27908 7 tem5 4.8 2.7 27752 7 tem6 9.6 2.9 29716 7 tem7 9.6 2.7 27728 8 tcm1 22.3 2.9 29900 8 tcm2 11.2 3.0 30380 8 tem1 11.2 2.9 29816 8 tem2 11.2 2.9 29792 8 tem3 5.6 2.9 29752 8 tem4 5.6 2.7 27908 8 tem5 11.2 2.7 27752 8 tem6 5.6 2.9 29716 8 tem7 11.2 2.7 27728 9 tcm1 11.1 2.9 29900 9 tcm2 11.1 3.0 30380 9 tem1 5.6 2.9 29816 9 tem2 22.3 2.9 29792 9 tem3 22.3 2.9 29752 9 tem4 5.6 2.7 27908 9 tem5 5.6 2.7 27752 9 tem6 5.6 2.9 29716 9 tem7 11.1 2.7 27728
ubuntu plot gnuplot
Comments
Post a Comment