Sponsored Content
Full Discussion: Performance issue
Top Forums UNIX for Dummies Questions & Answers Performance issue Post 302499405 by mad_man12 on Thursday 24th of February 2011 10:15:05 AM
Old 02-24-2011
giving error while executing

Thanks a lot but but to be frank i dont have any knowledge about perl
so what i did was to put the script and file1, file2 file3 in a directory and
ran the script but it gives me a syntax error

Code:
 
./format.pl [4] use: not found
./format.pl [5] use: not found
./format.pl: 0403-057 Syntax error at line 7 : `(' not expected

Please Advice
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Performance issue

Hello all, I just stuck up in an uncertain situation related to network performance... I am trying to access one of my remote client unix machine from a distant location.. The client machine is Ultra-5_10 , with SunOS 5.5.1 The ndd result ( hme1 )shows that the machine is hooked to a... (5 Replies)
Discussion started by: shibz
5 Replies

2. AIX

performance issue

We have a AIX v5.3 on a p5 system with a poor performing Ingres database. We added one CPU to the system to see if this would help. Now there are two CPU's. with sar and topas -P I see good results: CPU usage around 30% with topas I only see good results in the process output screen, the... (1 Reply)
Discussion started by: rein
1 Replies

3. UNIX for Advanced & Expert Users

performance issue

Hi, on a linux server I have the following : vmstat 2 10 procs memory swap io system cpu r b w swpd free buff cache si so bi bo in cs us sy id 0 4 0 675236 39836 206060 1617660 3 3 3 6 8 7 1 1 ... (1 Reply)
Discussion started by: big123456
1 Replies

4. Shell Programming and Scripting

performance issue

I want to read a file. is it good to use File I/O or shell script?? which one is the best option? (1 Reply)
Discussion started by: vishwaraj
1 Replies

5. UNIX for Advanced & Expert Users

Performance issue!

In my C program i am using very large file(approx 400MB) to read parts of it frequently. But due to large file the performance of the program goes down very badly. It shows very high I/O usage and I/O wait time. My question is, What are the ways to optimize or tune I/O on linux or how i can get... (10 Replies)
Discussion started by: mavens
10 Replies

6. Solaris

Performance issue

Hi Gurus, I am beginner in solaris and want to know what are the things we need to check for performance monitoring on our solairs OS. for DISK,CPU and MEMORY. Also how we do ipforwarding in slaris Many thanks for your help Pradeep P (4 Replies)
Discussion started by: ppandey21
4 Replies

7. Shell Programming and Scripting

Performance issue or something else?

Hi All, I have the following script which I use in Nagios to check the health of the applications, the problem with it is that the curl part ($TOTAL) does not return anything after running for 2-3 hrs, even though from command line the script runs fine but not from Nagios. There are 17... (1 Reply)
Discussion started by: jacki
1 Replies

8. AIX

Performance issue

Hi, We have 2 lpars on p6 blade. One of the lpar is having 3 core cpu with 5gb memory running sybase as database. An EOD process takes 25 min. to complete. Now we have an lpar on P7 server with entitled cpu capacity of 2 with 16 Gb memory and sybase as database. The EOD process which takes... (17 Replies)
Discussion started by: vjm
17 Replies

9. AIX

Performance issue

Hi We have an AIX5.3 server with application which is written in C. We are facing server (lpar) hangs intermediately. If we open new telnet window prompts for user and takes hell of a time to authenticate, not only that if we run ps -aef then also it takes lot of time. surprisingly there is no... (2 Replies)
Discussion started by: powerAIX
2 Replies

10. Red Hat

Performance issue in Linux

IN solaris, for network high-availability we are using IPMP concept, can u tell me in REDHAT LINUX what we are using... also pls share good step to read & understand the that concept... Also performance issue in linux what are step & cmd can u tell me??? (2 Replies)
Discussion started by: tiger09
2 Replies
PMPROBE(1)						      General Commands Manual							PMPROBE(1)

NAME
pmprobe - lightweight probe for performance metrics SYNOPSIS
pmprobe [-fIiLVvz] [-a archive] [-h hostname] [-K spec] [-n pmnsfile] [-O time] [-Z timezone] [metricname ...] DESCRIPTION
pmprobe determines the availability of performance metrics exported through the facilities of the Performance Co-Pilot (PCP). The metrics of interest are named in the metricname arguments. If metricname is a non-leaf node in the Performance Metrics Name Space (pmns(5)), then pmprobe will recursively descend the PMNS and report on all leaf nodes. If no metricname argument is given, the root of the namespace is used. The output format is spartan and intended for use in wrapper scripts creating configuration files for other PCP tools. By default, there is one line of output per metric, with the metric name followed by a count of the number of available values. Error conditions are encoded as a negative value count (as per the PMAPI(3) protocols, but may be decoded using pmerr(1)) and followed by a textual description of the error. Unless directed to another host by the -h option, pmprobe will contact the Performance Metrics Collector Daemon (PMCD) on the local host. The -a option causes pmprobe to use the specified archive rather than connecting to a PMCD. The -a and -h options are mutually exclusive. The -L option causes pmprobe to use a local context to collect metrics from PMDAs on the local host without PMCD. Only some metrics are available in this mode. The -a,-h and -L options are mutually exclusive. Normally pmprobe operates on the distributed Performance Metrics Name Space (PMNS), however, if the -n option is specified an alternative local PMNS file is loaded from the file pmnsfile. Other options control the output of additional information when one or more values is available. -f When used with -i or -I the set of instances reported will be all of those known at the source of the performance data. By default the set of reported instances are those for which values are currently available, which may be smaller than the set reported with -f. -I Report the external identifiers for each instance. The literal string PM_IN_NULL is reported for singular metrics. -i Report the internal identifiers for each instance. The values are in decimal and prefixed by ``?''. As a special case, the literal string PM_IN_NULL is reported for singular metrics. -K When using the -L option to fetch metrics from a local context, the -K option may be used to control the DSO PMDAs that should be made accessible. The spec argument conforms to the syntax described in __pmSpecLocalPMDA(3). More than one -K option may be used. -O When used in conjunction with an archive source of metrics and the -v option the time argument defines a time origin at which the met- rics should be fetched from the archive. Refer to PCPIntro(1) for a complete description of this option, and the syntax for the time argument. When the ``ctime'' format is used for the time argument in a -O option, the timezone becomes an issue. The default is to use the local timezone on the system where pmprobe is run. The -Z option changes the timezone to timezone in the format of the environment variable TZ as described in environ(5). The -z option changes the timezone to the local timezone at the host that is the source of the performance metrics, as identified via the -a option. -v Report the value for each instance, as per the formatting rules of pmPrintValue(3). When fetching from an archive, only those instances present in the first archive record for a metric will be displayed; see also the -O option. The -v option is mutually exclusive with either the -I or -i options. The -V option provides a cryptic summary of the number of messages sent and received across the PMAPI interface. EXAMPLES
$ pmprobe disk.dev disk.dev.read 2 disk.dev.write 2 disk.dev.total 2 disk.dev.blkread 2 disk.dev.blkwrite 2 disk.dev.blktotal 2 disk.dev.active 2 disk.dev.response 2 $ pmprobe -I disk.dev.read disk.dev.write disk.all.total disk.dev.read 2 "dks0d1" "dks0d2" disk.dev.write 2 "dks0d1" "dks0d2" disk.all.total 1 PM_IN_NULL $ pmprobe -v pmcd.numagents pmcd.version pmcd.control.timeout pmcd.numagents 1 9 pmcd.version 1 "2.0 beta-1" pmcd.control.timeout 1 5 $ pmprobe -v disk.dev.total disk.all.total disk.dev.total -1012 Unknown metric name disk.all.total 1 4992466 FILES
$PCP_VAR_DIR/pmns/* default PMNS specification files PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura- tion file, as described in pcp.conf(5). SEE ALSO
PCPIntro(1), pmcd(1), pmdumplog(1), pminfo(1), PMAPI(3), pmErrStr(3), __pmSpecLocalPMDA(3), pcp.conf(5), pcp.env(5) and pmns(5). Performance Co-Pilot PCP PMPROBE(1)
All times are GMT -4. The time now is 08:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy