I need the EXACT same output as Linux's "cat /proc/uptime".
For example, with /proc/uptime, you'd get
1884371.64 38646169.12
but with any Mac alternative, like "uptime", you'd get
20:25 up 20:26, 6 users, load averages: 3.19 2.82 2.76
I need it to be exactly like cat /proc/uptime, but on Mac OS X.
Will return something like 1 Day, 20 hours, 10 minutes, 55 seconds
Got it...
Then I just converted that to readable format (don't remember how):
There simply is no "/proc" directory on the Macintosh.
On MacOS, you can do a command like:
and you'll get a response like: