pstatus [ -a, --active ] [--help] [ -f FILE, --file FILE ] [ -l TIME, --loop TIME ] [ -p PRG, --program PRG ] [ -r RANGE, --range RANGE ] [--version]
This command dumps the status information of a running pproxy or pserv, respectively. The data is dumped on STDOUT in a human readable form. In both cases the list of sessions with current data and statistical data is dumped.
Print only active session slots.
Filename to read the data from. Normally this is /var/run/popular/pproxy.state or /var/run/popular/pserv.state. If no file name is given and the --program option is not used, both these names are tried and the first one found is used. This option can't be used together with the --program option.
Print short help screen.
Print data in a loop every TIME seconds. Default is no looping. If no TIME is given, one second is used.
Program to read data from. Can be pproxy or pserv. The corresponding .state in /var/run/popular is read. This option can't be used together with the --file option.
Print only the range of slots. RANGE can be one of 'n-m', 'n-', or '-m'.
Print version information.