ac
Print statistics on how long users have been connected. More information: <https://man.openbsd.org/ac>.
Install
- All systems
-
curl cmd.cat/ac.sh
- Debian
-
apt-get install acct
- Ubuntu
-
apt-get install acct
- Alpine
-
apk add acct
- Kali Linux
-
apt-get install acct
- CentOS
-
yum install acct
- Fedora
-
dnf install acct
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install acct
- Raspbian
-
apt-get install acct
- Dockerfile
- dockerfile.run/ac
- Docker
-
docker run cmd.cat/ac ac
powered by Commando
Print statistics on how long users have been connected. More information: <https://man.openbsd.org/ac>.
-
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
© tl;dr; authors and contributors