On Wed 19 Oct 2005 at 10:17AM, mnikhil m wrote:
> Hi
>
> Can someone please tell me what could be the source of information to know the
> machine's bootime for uptime command other than to know it from utmpx/wtmpx
> files.
> something from init ?? but how
There is a kstat.
$ kstat -p unix:::boot_time
unix:0:system_misc:boot_time 1127335615
This is a time_t.
-dp
--
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code