Vyacheslav Matyukhin > Ubic-1.48 > Ubic::Daemon::OS

Download:
Ubic-1.48.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.48   Source   Latest Release: Ubic-1.57

NAME ^

Ubic::Daemon::OS - base class for os-specific daemon methods

VERSION ^

version 1.48

METHODS ^

new

Trivial constructor.

pid2guid($pid)

Get pid's guid. Guid is some kind of additional process identifier on systems where we can think of one.

On Linux, for example, it's the timestamp in jiffies when process started.

Returns undef if pid not found, throws exception on other errors.

pid2cmd($pid)

Get process cmd line from pid.

close_all_fh(@except)

Close all file descriptors except ones specified as arguments.

pid_exists($pid)

Check if process with given pid exists.

AUTHOR ^

Vyacheslav Matyukhin <mmcleric@yandex-team.ru>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Yandex LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: