From 3a3409eed1d23d2af1c6939aecf6c9bf6e2ba6c9 Mon Sep 17 00:00:00 2001 From: pixel Date: Sat, 15 Oct 2022 23:28:13 +0200 Subject: [PATCH] ac: add page (#9053) --- pages/common/ac.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/ac.md diff --git a/pages/common/ac.md b/pages/common/ac.md new file mode 100644 index 0000000000..13cbb5e5a2 --- /dev/null +++ b/pages/common/ac.md @@ -0,0 +1,20 @@ +# ac + +> Print statistics on how long users have been connected. +> More information: . + +- Print how long the current user has been connected in hours: + +`ac` + +- Print how long users have been connected in hours: + +`ac -p` + +- Print how long a particular user has been connected in hours: + +`ac -p {{username}}` + +- Print how long a particular user has been connected in hours per day (with total): + +`ac -dp {{username}}`