Siebel::Srvrmgr::ListParser::Output::Tabular::ListProcs - subclass to parse list procs command
This subclass of Siebel::Srvrmgr::ListParser::Output::Tabular parses the output of the command list comp types.
list comp types
This is the list configuration of the srvrmgr expected by the module:
srvrmgr
srvrmgr> configure list procs SV_NAME (31): Server name CC_ALIAS (31): Component alias TK_PID (11): Task process id TK_SISPROC (11): Task sisproc number TK_NUM_NORMAL_TASKS (11): Number of normal tasks in this process TK_NUM_SUBTASK_TASKS (11): Number of subtask tasks in this process TK_NUM_HIDDEN_TASKS (11): Number of hidden tasks in this process PROC_VM_FREE_PAGES (11): Process virtual memory free pages PROC_VM_USED_PAGES (11): Process virtual memory used pages PROC_PH_USED_PAGES (11): Process physical memory used pages TK_IS_PROC_ENABLED (31): Is the process enabled for tasks TK_DISP_RUNSTATE (31): Process run state TK_SOCKETS (11): Sockets Received
If the configuration is not setup as this, the parsing will fail and the module may raise exceptions.
This class will not support fixed width output: with such configuration, the width of CC_ALIAS column will vary and not respect the configured with in srvrmgr.
All from superclass.
Returns a iterator (sub reference) to retrieve Siebel::Srvrmgr::ListParser::Output::ListProcs::Proc objects from the parsed output.
Expects as parameter the name of the server tha you want to retrieve the procs.
Siebel::Srvrmgr::ListParser::Output::Tabular
Moose
Siebel::Srvrmgr::ListParser::Output::Tabular::ByServer
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.