無限健一 > Unicorn-Manager > Unicorn::Manager::CLI::Proc

Download:
Unicorn-Manager-0.006009.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.006009   Source  

NAME ^

Unicorn::Manager::CLI::Proc - Process table used by Unicorn::Manager

VERSION ^

Version 0.006009

SYNOPSIS ^

The Unicorn::Manager::CLI::Proc Module provides a table of unicorn processes. Master/worker states are correctly represented. The modules utilizes /proc and thus only works on Linux systems.

ATTRIBUTES/CONSTRUCTION ^

Construction

    my $uniman_proc = Unicorn::Manager::CLI::Proc->new;

process_table

Get the process table.

refresh

Refreshes the process table.

    $uniman_proc->refresh;

as_json

Return process table as json.

    my $json_text = $uniman_proc->as_json;

as_hash

Return process table as hash.

    my %hash_with_uids = $uniman_proc->as_hash(1);

    my %hash_with_usernames = $uniman_proc->as_hash;

AUTHOR ^

Mugen Kenichi, <mugen.kenichi at uninets.eu>

BUGS ^

Report bugs at:

SUPPORT ^

syntax highlighting: