pidstatd - Determine if process ID is running for Perl IPC::Locker
pidstatd [ --help ] [ --port=port ] [ --version ]
Pidstatd will start a UDP daemon. The daemon responds to requests that contain a PID with a packet indicating the PID and if the PID currently exists.
The Perl IPC::Locker package optionally uses this daemon to break locks for PIDs that no longer exists.
Displays this message and program version and exits.
For debugging, prevents the daemon from creating additional processes and from going into the background. This allows messages to appear on stdout, and ctrl-C to stop the daemon.
Specifies the port number to be used.
Displays program version and exits.
As pidstatd is a UDP daemon, some requests may be dropped by the operating system, but this assists in graceful degradation under heavy loads. Pidstatd has been tested to perform well handling to above 13,000 requests per second on a 2GHz AMD Operton server.
The latest version is available from CPAN and from https://www.veripool.org/ipc-locker.
Copyright 2002-2022 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0.
Wilson Snyder <wsnyder@wsnyder.org>
IPC::Locker, IPC::PidStat, pidstat, pidwatch, uriexec
To install IPC::Locker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::Locker
CPAN shell
perl -MCPAN -e shell install IPC::Locker
For more information on module installation, please visit the detailed CPAN module installation guide.