Search Results

Search: Posts Made By: Yeaboem
Forum: Solaris 05-15-2013
2,356
Posted By jlliagre
Here is a way to get the uptime in seconds that...
Here is a way to get the uptime in seconds that doesn't require root privilege: kstat -p unix:0:system_misc:boot_time|nawk '
{
srand();
printf("%d s\n",srand()-$2);
}'
Showing results 1 to 1 of 1

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