From 846b57187effd4d8b0b16fceb6a687316eb4451d Mon Sep 17 00:00:00 2001 From: Scr1ptK1tti3 <40638146+Scr1ptK1tti3@users.noreply.github.com> Date: Sat, 24 Nov 2018 15:56:03 -0600 Subject: [PATCH] Bash Uptime Command Reference (#22483) * Bash Uptime Command Reference Created the Bash Uptime Command Reference index.md file. * fix: added a valid front matter block --- guide/english/bash/bash-uptime/index.md | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 guide/english/bash/bash-uptime/index.md diff --git a/guide/english/bash/bash-uptime/index.md b/guide/english/bash/bash-uptime/index.md new file mode 100644 index 0000000000..214486e70f --- /dev/null +++ b/guide/english/bash/bash-uptime/index.md @@ -0,0 +1,30 @@ +--- +title: Bash Uptime +--- +# Bash Uptime + +The command `uptime` displays the following: + *current time + *how long the system has been running + *how many users are currently logged on + *the system load averages (for the past 1, 5, and 15 minutes) + +### Usage + +`uptime [options]` Displays the amount of time the system has been consistently running when entered with no options. + +### Options + + `-p`, `--pretty` show uptime in pretty format + `-h`, `--help` display this help and exit + `-s`, `--since` system up since + `-V`, `--version` output version information and exit + +### Example + +```bash +[~]# uptime -p +up 11 weeks, 3 days, 23 hours, 49 minutes +``` +### References +[uptime Linux Man Pages](https://linux.die.net/man/1/uptime)