Siebel::Srvrmgr::ListParser::Output::ListProcs::Proc - class to represent instances of processes from "list procs" command
use Siebel::Srvrmgr::OS::Process; my $proc = Siebel::Srvrmgr::OS::Process->new( { pid => 4568, fname => 'siebmtshmw', pctcpu => 0.35, pctmem => 10, rss => 12345, vsz => 123456 } );
This module is a Moose class.
Instances of Siebel::Srvrmgr::ListParser::Output::ListProcs::Proc refer to a single line from the output of the list procs command.
list procs
This class offers some validations on the values recovered, as well some additional funcionality as methods besides getters/setters.
A string representing the name of the server that the proc is associated to. It is a required attribute during object creation, and is read-only.
A string of the component alias associated with this proc. It is a required attribute during object creation, and is read-only.
A integer representing the OS PID associated with this proc. It is a required attribute during object creation, and is read-only.
A integer representing the tasks sisproc number (whatever that means). It is a required attribute during object creation, and is read-only.
A integer representing the number of normal tasks in execution for this proc. It is a required attribute during object creation, and is read-only.
A integer representing the number of subtasks in execution for this proc. It is a required attribute during object creation, and is read-only.
A integer representing the number of hidden tasks in execution for this proc. It is a required attribute during object creation, and is read-only.
A integer representing the process virtual memory free pages. It is a required attribute during object creation, and is read-only.
A integer representing the process virtual memory used pages. It is a required attribute during object creation, and is read-only.
A integer representing the process physical memory used pages. It is a required attribute during object creation, and is read-only.
A boolean value that identifies if this process is enabled to have tasks. It is a required attribute during object creation, and is read-only.
A string representing the state of the process. It is a required attribute during object creation, and is read-only.
A integer representing the number of sockets received for this process.
All attributes have their respective getter methods (get_ATTRIBUTE_NAME)
get_ATTRIBUTE_NAME
Returns the sum of the values of the attributes normal_tasks, sub_tasks and hidden_tasks.
normal_tasks
sub_tasks
hidden_tasks
MooseX::FollowPBP
Moose
Siebel::Srvrmgr::ListParser::Output::Tabular::ListProcs
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>.
This software is copyright (c) 2015 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>.
This file is part of Siebel Monitoring Tools.
Siebel Monitoring Tools is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Siebel Monitoring Tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Siebel Monitoring Tools. If not, see http://www.gnu.org/licenses/.
To install Siebel::Srvrmgr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Siebel::Srvrmgr
CPAN shell
perl -MCPAN -e shell install Siebel::Srvrmgr
For more information on module installation, please visit the detailed CPAN module installation guide.