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

LVL 1
XK8ERAsked:
Who is Participating?
 
saurabhpendharkerConnect With a Mentor Commented:
Hello,

You can either of following commands to see uptime:

1) uptime
2) w
0
 
XK8ERAuthor Commented:
those two commands are not showing what the linux machines shows
0
 
gheistCommented:
There is no documentation what linux machine shows either. Can you elaborate?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.