![]() |
![]()
| ![]() |
![]()
NAMEProc::ProcessTable::ncps - New Colorized(optional) PS, a enhanced version of PS with advanced searching capabilities VERSIONVersion 0.1.1 SYNOPSISuse 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. METHODSnewThis initiates the object. args hash ref match This is a hash to pash to Proc::ProcessTable::Match. If not specified, this it will not be used all processes will be displayed. cmajor_faults Boolean for if the children major faults column should be shown. Default: 0 cminor_faults Boolean for if the children minor faults column should be shown. Default: 0 major_faults Boolean for if the major faults column should be shown. Default: 0 minor_faults Boolean for if the minor faults column should be shown. Default: 0 jid Boolean for if the JIDs column should be shown. Default: 0 stats Boolean for if stats for PctCPU, PctMem, VSZ, RSS and time should be shown at the end. Default: 0 tty Boolean for if the TTY column should be shown. Default: 0 runThis runs it. The return value is a string. print $ncps->run startStringGenerates a short time string based on the supplied unix time. timeStringTurns the raw run string into something usable. memStringTurns the raw run string into something usable. nextColorReturns the next color. AUTHORZane C. Bowers-Hadley, "<vvelox at vvelox.net>" BUGSPlease 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. SUPPORTYou can find documentation for this module with the perldoc command. perldoc Proc::ProcessTable::ncps You can also look for information at:
ACKNOWLEDGEMENTSLICENSE AND COPYRIGHTThis software is Copyright (c) 2019 by Zane C. Bowers-Hadley. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible)
|