The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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

  • Technical support

    <mugen.kenichi at uninets.eu>