Hi,

I intend to use DX to plot some systems activities in real time. To do
it, I use the 'sar' command which give me this kind of output :

09:35:09  %usr  %sys %intr  %wio %idle %sbrk  %wfs %wswp %wphy %wgsw
%wfif
09:35:39    16     6     1     1    76     0    95     0     0     5
0
09:36:09    14     4     1     0    81     0    56     0     0    44
0
09:36:39    18     4     1     1    77     0    95     0     0     5
0
09:37:09    24     4     1     1    69     0    50    50     0     0
0
09:37:39    23     6     1     2    68     0    96     3     0     1
0
09:38:10    25     5     1     3    67     0   100     0     0     0
0


I'd like to plot '%usr' versus 'time' but I don't know how to convert
something like 09:35:39 to the EPOCH format needed by DX.

Can anybody help me ?


Regards,

Jerome Margat

Reply via email to