[rrd-users] Re: How to calculate current time in seconds?

Serge Maandag serge.maandag at staff.zeelandnet.nl
Wed Oct 29 17:36:29 MET 2003


EPOCH=`date +%s`

Serge.

-----Original Message-----
From: Li, Charles [mailto:Charles.Li at dep.state.fl.us] 
 
I want to make a graph from 6am today to now.
How do I get the current time in seconds from a shell script?
Thanks, Charles

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list