Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pcp::logsummary(3) [centos man page]

LogSummary(3)						User Contributed Perl Documentation					     LogSummary(3)

NAME
PCP::LogSummary - Perl interface for pmlogsummary(1) SYNOPSIS
use PCP::LogSummary; my $summary = new PCP::LogSummary($log, @metrics, $start, $end); DESCRIPTION
The PCP::LogSummary module is a wrapper around the Performance Co-Pilot pmlogsummary(1) command. Its primary purpose is to automate the production of post-processed pmlogsummary data, in particular to automate the step where the summarised data is imported into a spreadsheet for further anaylsis. This has proven to often be an iterative process - done manually it involves much cutting+pasting, and can be a significant time waster. EXPORT new metric_instance SEE ALSO
pmlogsummary(1). The PCP mailing list pcp@oss.sgi.com can be used for questions about this module. Further details can be found at http://oss.sgi.com/projects/pcp AUTHOR
Nathan Scott, <nathans@debian.org> COPYRIGHT AND LICENSE
Copyright (C) 2008 by Aconex This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 (see the "COPYING" file in the PCP source tree for further details). perl v5.16.3 2013-12-05 LogSummary(3)

Check Out this Related Man Page

PCP.CONF(5)							File Formats Manual						       PCP.CONF(5)

NAME
pcp.conf - the Performance Co-Pilot configuration and environment file SYNOPSIS
/etc/pcp.conf DESCRIPTION
When using Performance Co-Pilot (PCP) tools and utilities and when calling PCP library functions, a standard set of environment variables are defined in /etc/pcp.conf. These variables are generally used to specify the location of various PCP pieces in the file system and may be loaded into shell scripts by sourcing the /etc/pcp.env(5) shell script and queried by C/C++ programs using the pmGetConfig(3) library function. If a variable is already defined in the environment, the values in pcp.conf do not override those values, i.e. the values in pcp.conf serve as installation defaults only. Both the pcp.env and pcp.conf files are expected to be found in /etc by default. If required, the pcp.conf file may be relocated and PCP_CONF set in the environment to specify the full path to the new location. The pcp.env file can not be relocated (this is the only hard coded path required by PCP). The syntax rules for pcp.conf are as follows : 1. the general syntax is PCP_VARIABLE_NAME=variable value to end of line 2. lines that begin with # and all blank lines are ignored. 3. all variables must be prefixed with PCP_. This is a security issue - variables that do not have this prefix will be silently ignored. 4. there should be no space between the variable name and the literal = and no space between the = and the variable value (unless the value actually starts with a space). This is required because the pcp.conf file may be sourced directly by Makefiles as well as inter- preted by the pcp.env script and the pmGetConfig function. 5. variable values may contain spaces and should not be quoted. The pcp.env script automatically quotes all variable values from the character immediately following the = through to the end of the line. For further details and an explanation of the use of each variable, see the comments in the /etc/pcp.conf file itself. ENVIRONMENT
The PCP_CONF environment variable specifies an alternative path to the pcp.conf file. SEE ALSO
PCPIntro(1), PCPIntro(3), PMAPI(3), pmGetConfig(3) and pcp.env(5). Performance Co-Pilot PCP PCP.CONF(5)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Iplanet(SUNONE): automate instance startup

On a Sun Solaris 5.8 machine, We are attempting to automate the startup of our Iplanet servers and are struggling with the fact that we would have to hard-code the passwords somewhere. Here is what the administrator's guide says: Is there any way to truly encrypt the password? (1 Reply)
Discussion started by: dangral
1 Replies

2. Shell Programming and Scripting

How to automate responses

I would have searched for this but I couldn't really think of what to use for the search text... I've got a situation where I need to automate responses to an executable when running it from a script so that it can be made into a job the operators don't have to interact with. When I run it... (2 Replies)
Discussion started by: djp
2 Replies

3. Shell Programming and Scripting

Conditional File Movement script scheduled using CRON job

Hi All, i am trying to automate a process and have to create a unix script like wise. I have a scenario in which i need to automate a file movement. Below are the steps i need to automate. 1. Check whether a file (Not Fixed name-Pattern search of file say 'E*.dat') is present in a... (2 Replies)
Discussion started by: imu
2 Replies

4. UNIX for Dummies Questions & Answers

How do you automate an hourly file check?

Hi, New to the forum, Great site, I can learn a lot from here!! :cool: I would like to know how to automate a command that checks the Sybase database's are "alive" on an hourly basis, and mails outlook if they are not (1 Reply)
Discussion started by: mals
1 Replies

5. UNIX for Dummies Questions & Answers

Transfer the file

Dear all, Can anybody let me know how to automate a file transfer process to a remote m/c thru SFTP , automate means it will not prmpt for password. how i am going to achive this....and what all methods are available or tools are available ???? (2 Replies)
Discussion started by: manas_ranjan
2 Replies

6. UNIX for Dummies Questions & Answers

How to automate check outs from version control?

I'm in a fustrating situation where I am repeatidly checking code, editing, synchronizing, finding something is broke, reverting all my changes and starting over. This if often easier than trying to merge my changes with someone who has beat me to the checkin. Is there a way I can mitigate... (5 Replies)
Discussion started by: siegfried
5 Replies

7. Shell Programming and Scripting

automate ftpget to multiple hosts

Hi Folks, I have scanned the threads all day and have not found anything close enugh to what I need. I'm probably more confused now than before. Here's what I'm trying to do: 1. automate for running in the early am. (I think I can handle the cron part) 2. get the newest file from a... (5 Replies)
Discussion started by: huntfishtrap
5 Replies

8. OS X (Apple)

Terminal scripting to automate login to cisco devices. Help Please !

Hello, I am new to the mac world, and would like to automate my login to cisco devices (routers, switches etc...), i am in a need of writing a script that i may just click on an icon on the desktop and it will open terminal and run a few command. as follow: telnet to an ip address type... (2 Replies)
Discussion started by: drdread
2 Replies

9. UNIX for Dummies Questions & Answers

filling variable with ls

hello All, Need some further help. This will make my live easier. Instead of copy and pasting I think I can automate some website building. when I do a ls from a directory I need the file names placed into a sentence. it is going about wordts like: word-AB-1234.jpg... (1 Reply)
Discussion started by: ToXiQ
1 Replies

10. Shell Programming and Scripting

Automate screen with shell

Hi all ! I'm trying to automate an SQL process that is running manually, but it involves in one step the use of an application to run a screen where you have to write some data, is there a way to do this with a shell ?? the application is informix and of course I don't hace the source code... (3 Replies)
Discussion started by: nzq71k
3 Replies

11. UNIX for Dummies Questions & Answers

To automate a process

CAN ANYONE HELP TO SOLVE i wann write a script to automate a process .i.e, to search files in the FTP server and and if files are there and we hav to bring that files to our system. After copying the files in our system we have to upload the data in the tables. I have scripts to load the... (2 Replies)
Discussion started by: nani1984
2 Replies

12. Shell Programming and Scripting

Unable to automate telnet login

i have to connect windows server from one of the unix box so i am using telnet and below is my following code #!/bin/sh host=hostname log=loginid port=23 pass=password cmd1=mkdir test1234 ( echo open ${host} ${port} sleep 1 echo ${log} sleep 3 echo "\r\n" sleep 3 echo ${pass}... (11 Replies)
Discussion started by: chandan.p
11 Replies

13. Shell Programming and Scripting

Automate copying files

Need assistance in automate a process. directory has list of files that needs to be copied based on the paths listed in another file . Need to automate this process. Your inputs are highly appreciated Directory that has list of files. abc.sh def.sh demo.sh foo.sh bar.sh File... (2 Replies)
Discussion started by: ajayram_arya
2 Replies

14. UNIX for Beginners Questions & Answers

Script to automate a service message

Hi I am trying to figure out, on how to automate whether in a simple script or using awk/sed/grep commands to automate a "service.message" file which has tag separated message stating as; "There is currently no outage or system is unavailable for duration of change....", therefore, when... (14 Replies)
Discussion started by: Gamma
14 Replies