Checking Unix Performance - Why is a process running slowly?
Hi
Please can someone explain to me how they would go about monitoring the performance of a process in Unix. Lets say that a user is running a process in Unix but it seems to be taking a long time, whereas it completed a lot quicker yesterday. How would you go about investigating what is causing the process to run slower today in Unix?
The reason that I am confused is because there appears to be so many Unix commands that could be used when looking at performance issues. I am sure that you would use each Unix command for a specific reason but I want to know what you would do. Here are some commands that I know of:
Generally speaking, can you tell me what sequence of steps you would under take to understand why a process is running slowly and what Unix commands you would use to figure it out.
Hi,
I'm trying to check performance of processes running on my unix server. I have a system that is working at half the intended load
right now and I want to know what to expect when I'll go to full load.
I know I can use top but I'm not sure whether cpu usage is
the right parameter to check... (1 Reply)
cron starts a job every 10 minutes via a korn shell - I need to determine if the previous process is still running before I allow the new process to start - HELP
I've tried ps -ef, etc but I have seen many situation where it says that the is running when it is not - any ideas on how to absolutely... (2 Replies)
There is a unix process process in oracle running and i see running by typing ps -fea|grep GE_CLIENTES.
The question is How can i see if this process is running in paralel. I dont know with a Unix command or specifically its a comand from Oracle.
I kow a Parallel process ia a process that... (1 Reply)
Hi All,
I am new to perl and have been trying to write a short script to check a process.Though i havent reached to the stage where i can match the output.
I am trying to pass a variable x with value /opt/RGw/csbp-base/CSBP_BAT.01.00.05/csbp_BAT.01.00.05.jar
and then pass another variable... (2 Replies)
Hi Experts,
Is there any command by which i can chk that the cron process is running fine? Say i have scheduled the cron to run at 10 o clock every monday,Do i need to wait for the time it runs and then chk using ps -ef?
Please shed some light.
Thanks
Ashok. (2 Replies)
I have used ps -ef | grep <process name> to see if the process is still running or not. But, not being able to find anything in particular. Any clue on this... (4 Replies)
Experts,
Not sure whether the problem described here is related with Unix or is it with Oracle Installation. Here is the description of the issue:
A new Unix server is setup as a part of Unix and Oracle upgradation activity for one of the Application, I work on.
One strange thing is... (2 Replies)
Suppose i have 3 different servers say x,y and z.
Im running some process say ABC and 40 instances for the same is being created.
In load sharing suppose on
server x, 20 instances are running
server y, 10 instances are running
server z, 10 instances are running.
While checking the... (1 Reply)
Hi,
I am trying to get the hash values of md5 of a string. I am on Redhat Linux. using the 25-27 field in the file I need to generate the md5 and append it at the end of the record as a new field.
I have tried the below code but its painfully slow. can you please suggest any alternatives or... (21 Replies)
Discussion started by: ahmedwaseem2000
21 Replies
LEARN ABOUT NETBSD
pmc
PMC(1) BSD General Commands Manual PMC(1)NAME
pmc -- performance-monitoring counter interface for command execution
SYNOPSIS
pmc -h
pmc -C
pmc -c event command [options ...]
DESCRIPTION
pmc is a means of using a processor's performance-monitoring counter (PMC) facility to measure various aspects of a program's execution. It
is meant to be used in a fashion similar to time(1).
The arguments are as follows:
-h Display a list of performance counter events available on the system.
-C Cancel any performance counters that are currently running.
-c event
Count the event specified by event while running the command.
DIAGNOSTICS
PMC support is not compiled into the kernel Performance-monitoring counter support has not been compiled into the kernel. It may be
included using the PERFCTRS option. See options(4) for details.
PMC counters are not supported by CPU Performance-monitoring counters are not available for the CPU.
SEE ALSO time(1), options(4)HISTORY
The pmc command first appeared in NetBSD 1.6.
AUTHORS
The pmc command was written by Frank van der Linden <fvdl@wasabisystems.com>. The kernel support for reading performance counters on the
i386 architecture was written by
Jason R. Thorpe <thorpej@zembu.com>.
BUGS
The pmc command currently only supports performance-monitoring counters on the i386 architecture.
BSD October 24, 2000 BSD