|
NAMEIPC::PidStat - Process ID existence testSYNOPSISuse IPC::PidStat; my $exister = new IPC::PidStat( port=>1234, ); $exister->pid_request(host=>'foo', pid=>$pid) while (1) { # Poll receiving callbacks my ($epid, $eexists, $ehostname) = $exister->recv_stat(); print "Pid $epid ",($eexists?'exists':'dead'),"\n" if $ehostname; } DESCRIPTIONIPC::PidStat allows remote requests to be made to the pidstatd, to determine if a PID is running on the daemon's machine.PidStat uses UDP, and as such results are fast but may be unreliable. Furthermore, the pidstatd may not even be running on the remote machine, so responses should never be required before an application program makes progress. METHODS
STATIC METHODS
PARAMETERS
DISTRIBUTIONThe latest version is available from CPAN and from <https://www.veripool.org/ipc-locker>.Copyright 2002-2019 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. AUTHORSWilson Snyder <wsnyder@wsnyder.org>SEE ALSOIPC::Locker, pidstat, pidstatd, pidwatchIPC::PidStat::Server
Visit the GSP FreeBSD Man Page Interface. |