sa

Summarizes accounting information. Part of the acct package. Shows commands called by users, including basic info on CPU time spent processing and I/O rates. More information: <https://manned.org/man/sa.8>.

Install

All systems
curl cmd.cat/sa.sh
Debian Debian
apt-get install acct
Ubuntu
apt-get install acct
Alpine
apk add acct
image/svg+xml Kali Linux
apt-get install acct
CentOS
yum install psacct
Fedora
dnf install psacct
Windows (WSL2)
sudo apt-get update sudo apt-get install acct
Raspbian
apt-get install acct
Docker
docker run cmd.cat/sa sa powered by Commando

Summarizes accounting information. Part of the acct package. Shows commands called by users, including basic info on CPU time spent processing and I/O rates. More information: <https://manned.org/man/sa.8>.

  • Display executable invocations per user (username not displayed):
    sudo sa
  • Display executable invocations per user, showing responsible usernames:
    sudo sa --print-users
  • List resources used recently per user:
    sudo sa --user-summary

© tl;dr; authors and contributors