How do I get the number of tics or seconds since the last boot?
How do I convert tics to seconds?
Thanks,
Siegfried
man uptime
first line of w
Maybe he means doing it the way the utility does with utmp and wtmp.
Try man utmp.
under linux:
cat /proc/uptime
very handy in scripting