Search Results

Search: Posts Made By: fpmurphy
Forum: Solaris 04-08-2008
64,192
Posted By fpmurphy
The Solaris dtrace facility can also display the...
The Solaris dtrace facility can also display the seconds since Epoch.


#!/usr/sbin/dtrace -qs

tick-1sec
{
printf("%d seconds since the epoch\n", `time);
exit(0)
}
Forum: Solaris 04-06-2008
64,192
Posted By fpmurphy
vgersh99 - that is a very cool solution! ...
vgersh99 - that is a very cool solution!


perl -e 'use Time::Local; print timelocal("00","00","00","01","01","2000"),"\n";'
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy