Link to home
Start Free TrialLog in
Avatar of XK8ER
XK8ERFlag for United States of America

asked on

uptime command

hello there,
I would like to know how can I show the uptime on freebsd just like linux
[(05:02 PM)][(root@dedicated)] [(~)] $ cat /proc/uptime
798908.27 683182.34
[(05:03 PM)][(root@dedicated)] [(~)] $ cat /proc/uptime | cut -d ' ' -f1
798908.34
[(05:03 PM)][(root@dedicated)] [(~)] $ cat /proc/uptime | cut -d ' ' -f2
683182.48

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of saurabhpendharker
saurabhpendharker

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of XK8ER

ASKER

those two commands are not showing what the linux machines shows
There is no documentation what linux machine shows either. Can you elaborate?