Quote:
Originally Posted by
Scrutinizer
I don't think that should be necessary. What are you trying to do?
I'm, trying to make some scripts that monitor system information using free, iostat, mpstat, vmstat.... and maybe sar/sadc commands.
That scripts must be launched with some delay between each execution.
Then, I will recollect such information with others scripts that will be ploted with gnuplot using dates on X axis.
To do some arithmetic (add the delay) with dates I work with seconds since Epoch, because it's easier to use with variables. However to plot graphics I need to convert seconds to a human readable format, to show them. Dates must be correct to match with other monitor processes (oracle, Weblogic, etc...)
Anyway, you helped me a lot to know how dates work and now I think I'm able to find out a way to get what I need.
Thanks.
Of course, any other help or advice will be very welcome