Wednesday, 3 January 2018

Linux from the command line - using the uptime command

Linux from the command line - using the uptime command

You can use uptime to get information about your system and how long it's been running etc.

Note that not all versions of uptime support all of the options in this article. For example the version that comes with GNU coreutils does not support any options.
https://www.howtoforge.com/linux-uptime-command/

3 comments:

  1. FYI for all the Mac lovers out there, you can run this command and see how long you've had your mac running. If you are anything like me, it's probably been awhile.

    >uptime
    0:38 up 11 days, 3:31, 3 users, load averages: 2.13 1.92 1.85

    ReplyDelete
  2. The who command is POSIX-standard and has flags of its own. "who -b" tells you when the system last booted.

    ReplyDelete
  3. Adrian Colley well, if we're gonna go there, might as well use "w" command. ;')

    ReplyDelete