pstatus

Name

pstatus --  Display status of POPular proxy and server

Synopsis

pstatus [ -a, --active ] [--help] [ -f FILE, --file FILE ] [ -l TIME, --loop TIME ] [ -p PRG, --program PRG ] [ -r RANGE, --range RANGE ] [--version]

Description

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.

Options

-a, --active

Print only active session slots.

-f FILE, --file FILE

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.

--help

Print short help screen.

-l TIME, --loop TIME

Print data in a loop every TIME seconds. Default is no looping. If no TIME is given, one second is used.

-p PRG, --program PRG

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.

-r RANGE, --range RANGE

Print only the range of slots. RANGE can be one of 'n-m', 'n-', or '-m'.

--version

Print version information.

See Also

pcheck(1), pcheckd(8), pclean(8), pcontrol(1), pdeliver(1), pproxy(8), pserv(8), ptestpdm(1), The POPular Manual