-q, --count
All login names and number of users logged on.
An option of whox.
Usage
whox -q [ FILE | ARG1 ARG2 ]
whox --count [ FILE | ARG1 ARG2 ]Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-q | --count | none | all login names and number of users logged on |
Examples
Count the logged-in users for a monitoring check
whox -qalice bob
# users=2Help in the terminal
gnux help whox --count