Proc::ProcessTable::ncps - New Colorized(optional) PS, a enhanced version of PS with advanced searching capabilities
Version 0.1.2
use Proc::ProcessTable::ncps; my $args={ cmajor_faults=>0, cminor_faults=>0, major_faults=>1, minor_faults=>0, numthr=>0, tty=>0, jid=>0, stats=>1, match=>{ checks=>\@filters, } }; my $ncps = Proc::ProcessTable::ncps->new( \%args ); print $ncps->run
The info column is provided by Proc::ProcessTable::InfoString. That POD has the information on what they all mean.
This initiates the object.
This is a hash to pash to Proc::ProcessTable::Match. If not specified, this it will not be used all processes will be displayed.
Boolean for if the children major faults column should be shown.
Default: 0
Boolean for if the children minor faults column should be shown.
Boolean for if the major faults column should be shown.
Boolean for if the minor faults column should be shown.
Boolean for if the JIDs column should be shown.
Boolean for if stats for PctCPU, PctMem, VSZ, RSS and time should be shown at the end.
Boolean for if the TTY column should be shown.
This runs it.
The return value is a string.
print $ncps->run
Generates a short time string based on the supplied unix time.
Turns the raw run string into something usable.
Returns the next color.
Zane C. Bowers-Hadley, <vvelox at vvelox.net>
<vvelox at vvelox.net>
Please report any bugs or feature requests to bug-proc-processtable-ncps at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Proc-ProcessTable-ncps. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-proc-processtable-ncps at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Proc::ProcessTable::ncps
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Proc-ProcessTable-ncps
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Proc-ProcessTable-ncps
CPAN Ratings
https://cpanratings.perl.org/d/Proc-ProcessTable-ncps
Search CPAN
https://metacpan.org/release/Proc-ProcessTable-ncps
Repository
https://github.com/VVelox/Proc-ProcessTable-ncps
This software is Copyright (c) 2019 by Zane C. Bowers-Hadley.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Proc::ProcessTable::ncps, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Proc::ProcessTable::ncps
CPAN shell
perl -MCPAN -e shell install Proc::ProcessTable::ncps
For more information on module installation, please visit the detailed CPAN module installation guide.