David Landgren > BSD-Process > showprocattr

Download:
BSD-Process-0.07.tar.gz

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

showprocattr - Show attributes of current processes

SYNOPSIS ^

showprocattr [-nrV] attr [...]

showprocattr -a [-nr] pid (or 'self') [...]

DESCRIPTION ^

Display one or more attributes for all processes currently running on the system.

OPTIONS ^

-a

All. Show all attributes of a specified pid. The magic label 'self' corresponds to the running process (hence, your perl interpreter).

-n

Non-zero. Only display the process if all requested attributes are non-zero. When -a is also active, will suppress attributes whose values are zero.

-q

Query. Display all the reognised attribute names that may be examined.

-r

Resolve. Display uids and gids as names, rather than their numerical values.

-V

Print the version of this program and exit.

EXAMPLES ^

procshowattr -n kthread

Show only the processes that are kernel threads.

SEE ALSO ^

BSD::Process

AUTHOR ^

David Landgren, copyright (C) 2006. All rights reserved.

LICENSE ^

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: