Kevin::Command::kevin::workers - Command to list Minion workers
version 0.5.1
Usage: APPLICATION kevin workers [OPTIONS] ./myapp.pl kevin workers ./myapp.pl kevin workers -l 10 -o 20 Options: -h, --help Show this summary of available options -l, --limit <number> Number of workers to show when listing them, defaults to 100 -o, --offset <number> Number of workers to skip when listing them, defaults to 0
Kevin::Command::kevin::workers lists workers at a Minion queue. It produces output as below.
ID HOST:PID JOBS STATUS QUEUES 27302 39c7d2ded2c4/dev13.ke.vin:31 0/4/310 Up 2 days image-resizer 27293 e7b1c0a64810/dev12.ke.vin:34 0/4/378 Up 2 days image-resizer 27187 7d7190787c5e/dev12.ke.vin:33 0/4/381 Up 2 days uploader video-uploader 27186 6badf6e19282/dev12.ke.vin:34 0/4/289 Up 2 days uploader video-uploader 27185 59dc9b9752dd/dev12.ke.vin:35 0/4/108 Up 2 days uploader video-uploader 26851 8bd2e06cdbd2/dev13.ke.vin:31 0/4/209 Up 2 days poker 26850 b9d044771a57/dev13.ke.vin:32 0/4/237 Up 11 days poker 26822 f24eaa47795d:6429 0/4/183 Up 2 weeks item-searcher 26748 0fdb4ead83c5:6400 0/4/349 Up 2 weeks item-searcher
The entry under JOBS reads as
JOBS
active jobs / capacity / performed jobs
Kevin::Command::kevin::workers inherits all attributes from Mojolicious::Command and implements the following new ones.
my $description = $command->description; $command = $command->description('Foo');
Short description of this command, used for the command list.
my $usage = $command->usage; $command = $command->usage('Foo');
Usage information for this command, used for the help screen.
Kevin::Command::kevin::workers inherits all methods from Mojolicious::Command and implements the following new ones.
$command->run(@ARGV);
Run this command.
Minion, Minion::Command::minion::job.
Adriano Ferreira <ferreira@cpan.org>
This software is copyright (c) 2017 by Adriano Ferreira.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Kevin::Command::kevin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Kevin::Command::kevin
CPAN shell
perl -MCPAN -e shell install Kevin::Command::kevin
For more information on module installation, please visit the detailed CPAN module installation guide.