Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Checking Unix Performance - Why is a process running slowly? Post 302442505 by bluejayek on Wednesday 4th of August 2010 01:16:33 PM
Old 08-04-2010
Usually I only use top.
Top will display a chart that is updated frequently (every second by default on my machine).
It gives the CPU usage, % used by the user, % by the system, and % idle.

In the chat it will tell you what % of the cpu each process is using, and how much processor time it has consumed up until that point (that is the 4th column named time). It also gives information on memory usage, current state, PID, user, and such.
It is a very useful utility and should get you what you need to know.

One thing to note that I have found with multicore processors. The % cpu use on each process is a % of a single core. Thus with a quad core you can have two processes using 100% and still have the total cpu use read as 50%.

Hope this helps.
 

10 More Discussions You Might Find Interesting

1. Programming

Checking performance

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)
Discussion started by: hadarb
1 Replies

2. Shell Programming and Scripting

checking for a running process from korn cron

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)
Discussion started by: jph
2 Replies

3. Shell Programming and Scripting

how to get the list of process running in the server from the local machin n unix ?

how to get the list of process running in the server from the local machin n unix ? (3 Replies)
Discussion started by: guhas
3 Replies

4. UNIX and Linux Applications

How can i see if a unix Process Aplication i.e oracle is running in parallel

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)
Discussion started by: alexcol
1 Replies

5. UNIX for Dummies Questions & Answers

perl scripting for checking if a process is running

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)
Discussion started by: pistachio
2 Replies

6. Shell Programming and Scripting

Checking the cron process in unix

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)
Discussion started by: Ashok_oct22
2 Replies

7. Shell Programming and Scripting

How to check for a specific process running or not in Unix

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)
Discussion started by: Haimanti
4 Replies

8. Shell Programming and Scripting

Issue Running UNIX process from CRON !!

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)
Discussion started by: Oracle_User
2 Replies

9. Shell Programming and Scripting

Checking running process status using "grep" on multiple servers in load sharing system.

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)
Discussion started by: ankitknit
1 Replies

10. Shell Programming and Scripting

Md5sum is running very slowly

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
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
All times are GMT -4. The time now is 05:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy