You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
Makefile | 1 year ago | |
README.md | 1 year ago | |
whoop | 1 year ago | |
whoop.1 | 1 year ago |
README.md
whoop
who, overpowered -- shows list of currently logged in users, with optional follow/auto-refresh mode.
usage
usage: whoop [-h] [-a] [-b] [-f] [-m] [-n] [-s] [-d DELAY]
Shows a list of online users.
options:
-h, --help show this help message and exit
-a, --ascii Use ASCII characters for frames
-b, --bell Audible notifications
-f, --follow Start in follow/auto-refresh mode
-m, --mono Monochrome output
-n, --numeric Show numeric PIDs
-s, --summary Show summary line
-d DELAY, --delay DELAY
Define the delay for follow mode (default=5 seconds)
example output
+-------------------------------------------------------+
| User | TTY | Logged in since | Session |
|----------------+--------+-------------------+---------|
| s........ | pts/0 | 22-02-03 12:31:12 | sshd |
| g.......... | pts/3 | 22-02-03 12:22:40 | sshd |
| d....... | pts/9 | 22-02-03 08:55:44 | sshd |
| c...... | pts/23 | 22-02-02 23:36:48 | sshd |
| b... | pts/25 | 22-02-02 14:30:40 | tmux |
| p........ | pts/22 | 22-01-27 21:20:16 | tmux |
| p........ | pts/19 | 22-01-27 21:09:36 | tmux |
| p........ | pts/20 | 22-01-27 21:09:36 | tmux |
| p.......... | pts/2 | 22-01-23 05:18:08 | sshd |
| g... | pts/14 | 22-01-21 18:40:16 | sshd |
| m..... | pts/12 | 22-01-18 01:46:56 | tmux |
| g... | pts/10 | 22-01-04 22:05:04 | sshd |
| h... | pts/4 | 22-01-02 14:32:48 | sshd |
+-------------------------------------------------------+
.whoiknow
The program highlights user names defined in ~/.whoiknow file (one username per line)
dependencies
tested on
- Ubuntu
- Arch Linux
- NetBSD