Unix::PID

Perl extension for getting PID info
Download

Unix::PID Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Daniel Muey
  • Publisher web site:
  • http://search.cpan.org/~dmuey/

Unix::PID Tags


Unix::PID Description

Perl extension for getting PID info Unix::PID is a Perl module for getting PID info.SYNOPSIS use Unix::PID; my $pid = Unix::PID->new();or specify where ps is at: my $pid = Unix::PID->new({ 'ps_path' => '/usr/util/bin' });or simplify pid file use by: use Unix::PID '/var/run/this.pid';This is *exactly* the same as: use Unix::PID; Unix::PID->new()->pid_file('/var/run/this.pid') or die 'The PID in /var/run/this.pid is still running.';So the "use Unix::PID 'pidfile';" will simplify 99% of the times you'd use $pid->pid_file(); Requirements: · Perl


Unix::PID Related Software