IPC::PidStat::PidServer - Process ID existence server
use IPC::PidStat::PidServer; IPC::PidStat::PidServer->new(port=>1234)->start_server; # Or more typically via the command line pidstatd
IPC::PidStat::PidServer responds to UDP 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.
Creates a server object.
Starts the server. Does not return.
The port number (INET) or name (UNIX) of the lock server. Defaults to 'pidstatd' looked up via /etc/services, else 1752.
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, pidstatd
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.