File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2626## Help
2727
2828``` text
29- usage: users [-h] [-V] [-c CRIT] [-w WARN]
29+ usage: users [-h] [-V] [-c CRIT] [--test TEST] [- w WARN]
3030
3131Counts how many users are currently logged in, both via tty (on Windows:
3232Console) and pts (on Linux: typically ssh, on Windows: RDP). Also counts the
@@ -39,6 +39,8 @@ options:
3939 in the format "3,10". On Windows, you can additionally
4040 set it for disconnected users, in the format "3,10,1".
4141 Default: [None, None, None]
42+ --test TEST For unit tests. Needs "path-to-stdout-file,path-to-
43+ stderr-file,expected-retc".
4244 -w, --warning WARN Set the warning threshold for logged in tty/pts users,
4345 in the format "1,5". On Windows, you can additionally
4446 set it for disconnected users, in the format "1,5,10".
You can’t perform that action at this time.
0 commit comments