NAME
Proc::ProcessTable::ncps - New Colorized(optional) PS, a enhanced version of PS with advanced searching capabilities
VERSION
Version 0.1.2
SYNOPSIS
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.
METHODS
new
This 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
run
This runs it.
The return value is a string.
print $ncps->run
startString
Generates a short time string based on the supplied unix time.
timeString
Turns the raw run string into something usable.
memString
Turns the raw run string into something usable.
nextColor
Returns the next color.
AUTHOR
Zane C. Bowers-Hadley, <vvelox at vvelox.net>
BUGS
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.
SUPPORT
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
CPAN Ratings
Search CPAN
Repository
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This software is Copyright (c) 2019 by Zane C. Bowers-Hadley.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)