Skip to Content
gnux

-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

ShortLongValueDefaultMeaning
-q--countnoneall login names and number of users logged on

Examples

Count the logged-in users for a monitoring check

whox -q
Output
alice bob
# users=2

Help in the terminal

gnux help whox --count

On this page