Re: Sysctl uptime

2003-06-30 Thread Shantanu Mahajan
+-- Remington L. [freebsd] [30-06-03 21:17 -0700]: | Is there a sysctl string that can tell me my uptime? | | | | -- you can get the uptime. indirectly. sysctl kern.boottime Regards, Shantanu -- You can look through a file in a nice

Re: Sysctl uptime

2003-06-29 Thread Joshua Oreman
On Mon, Jun 30, 2003 at 09:17:54PM -0700 or thereabouts, Remington L. wrote: > Is there a sysctl string that can tell me my uptime? No, but kern.boottime is the boot time of the kernel, so subtract that from `date +%s` and you have uptime in seconds. Note that sysctl's output for this field will n

Sysctl uptime

2003-06-29 Thread Remington L.
Is there a sysctl string that can tell me my uptime? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"