Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Proc::ProcessTable::InUserrContributed Perl DProc::ProcessTable::InfoString(3)

NAME
       Proc::ProcessTable::InfoString -	Greats a PS like stat string showing
       various symbolic	represenation of various flags/state as	well as	the
       wchan.

VERSION
       Version 0.0.1

SYNOPSIS
       Quick summary of	what the module	does.

       Perhaps a little	code snippet.

	   use Proc::ProcessTable::InfoString;
	   use Proc::ProcessTable;

	   my $is = Proc::ProcessTable::InfoString->new();

	   my $p = Proc::ProcessTable->new( 'cache_ttys' => 1 );
	   my $pt = $p->table;

	   foreach my $proc ( @{ $pt } ){
	       print $proc->pid.' '.$is->info( $proc )."\n";
	   }

       The mapping for the left	side of	the output is as below.

	  States  Description
	  Z	  Zombie
	  S	  Sleep
	  W	  Wait
	  R	  Run

	  Flags	  Description
	  O	  Swapped Output
	  E	  Exiting
	  s	  Session Leader
	  L	  POSIX	lock advisory
	  +	  has controlling terminal
	  X	  traced by a debugger
	  F	  being	forked

METHODS
   new
       This initiates the object.

       One argument is taken and that is a optional hash reference.

       args hash

       This will be passed to Term::ANSIColor.

       If not specified, no ANSI color codes are used.

       The return string is terminated by a ANSI color reset character.

       flags_color

       The color to use	for the	flags section of the string.

       wchan_color

       The color to use	for the	wait channel section of	the string.

   info
AUTHOR
       Zane C. Bowers-Hadley, "<vvelox at vvelox.net>"

BUGS
       Please report any bugs or feature requests to
       "bug-proc-processtable-infostring at rt.cpan.org", or through the web
       interface at
       <https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Proc-ProcessTable-InfoString>.
       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::InfoString

       You can also look for information at:

       o   RT: CPAN's request tracker (report bugs here)

	   <https://rt.cpan.org/NoAuth/Bugs.html?Dist=Proc-ProcessTable-InfoString>

       o   AnnoCPAN: Annotated CPAN documentation

	   <http://annocpan.org/dist/Proc-ProcessTable-InfoString>

       o   CPAN	Ratings

	   <https://cpanratings.perl.org/d/Proc-ProcessTable-InfoString>

       o   Search CPAN

	   <https://metacpan.org/release/Proc-ProcessTable-InfoString>

       o   Repository

	   <https://gitea.eesdp.org/vvelox/Proc-ProcessTable-InfoString>

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)

perl v5.32.0			  2019-08-28 Proc::ProcessTable::InfoString(3)

NAME | VERSION | SYNOPSIS | METHODS | AUTHOR | BUGS | SUPPORT | ACKNOWLEDGEMENTS | LICENSE AND COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Proc::ProcessTable::InfoString&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help