NAME
XAS::Lib::Mixins::Process::Unix - A mixin for the XAS environment
SYNOPSIS
use XAS::Class
debug => 0,
version => '0.01',
base => 'XAS::Base',
mixin => 'XAS::Lib::Mixins::Process::Unix'
;
DESCRIPTION
This mixin provides a method to check for running processes on Unix.
METHODS
proc_status($pid)
Check for the running process. It can return one of the following status codes.
6 - Stopped, either by a job control signal or it is being traced.
5 - Uninterruptible sleep (usually IO)
3 - Running or runnable (on run queue)
2 - Interruptible sleep (waiting for an event to complete)
1 - Defunct ("zombie") process, terminated but not reaped by its parent
0 - Unknown
SEE ALSO
AUTHOR
Kevin L. Esteb, <kevin@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (c) 2012-2015 Kevin L. Esteb
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.