Sponsored Content
Top Forums UNIX for Advanced & Expert Users how to know which process consume CPU time more Post 302248247 by rajesh08 on Friday 17th of October 2008 07:07:20 AM
Old 10-17-2008
how to know which process consume CPU time more

Hi,

I have problem like everyday i have to check which process consuming more cpu time. I have done it manually using top command..
Is there any script which will tell the exact process name which will consuming more time. I am using hpux.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to check CPU consume time by unix script.

Hi, I searched for any answers to this query bu in vain. My question is , Is their any script or command to check how much CPU time is been taken by a script. thanks. (1 Reply)
Discussion started by: Rakesh Bhat
1 Replies

2. UNIX for Dummies Questions & Answers

how to get persistant cpu utilization values per process per cpu in linux (! top,ps)

hi, i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies

3. Shell Programming and Scripting

Why CPU time is longer than Elasped time?

I thought a program's elapsed time, some program language call it real time, should be the time of a program from start to finish. And it should be equal or longer than CPU time. This is true for the most of the cases. However, I do see some of my programs CPU time is longer than Elapsed time. ... (1 Reply)
Discussion started by: visio2000
1 Replies

4. UNIX Desktop Questions & Answers

Killing a process if it is not using any cpu time

Hi i am a newbie thanks in advance i have a process which keeps on running but doesn't use any CPU time and doesn't do the functionality which it is suppose to do . If i kill the process and start the process again then the process kicks in and starts using CPU time and continues to do its... (3 Replies)
Discussion started by: nick1982
3 Replies

5. Solaris

process CPU time

We are using JAVA program and strange thing is it takes 100% CPU when not in use. The program function is to stream a file on output port (one direction). It checks one directory and when there is a file in it, starts. While it is streaming the CPU usage is normal, about 20%. But, if... (9 Replies)
Discussion started by: orange47
9 Replies

6. UNIX Desktop Questions & Answers

Automatically killing a process if it doesn't use any CPU time

Hi, I'm new to Linux. I have a windows server that run many processes on it. In some cases the processes doesn't exit properly or just stop working and the process needs to be killed. I was wondering how i can automatically (couple of times a day) check which process doesn't use any CPU... (3 Replies)
Discussion started by: ramikom
3 Replies

7. Emergency UNIX and Linux Support

CPU and memory utilization of a process, by process name

Can someone please help me with a script that will help in identifying the CPU & memory usage by a process name, rather than a process id.This is to primarily analyze the consumption of resources, for performance tweaking. G (4 Replies)
Discussion started by: ggayathri
4 Replies

8. UNIX for Advanced & Expert Users

[Linux] How much time a process waited for CPU?

Hi, Is it possible in Linux to find out how much time a process waited for CPU? In Solaris we can see it in prstat. Thanks (1 Reply)
Discussion started by: sant
1 Replies

9. Red Hat

Gpk-update-icon consume more CPU

Dear all, I have installed OEL Oracle Linux 6.4 on my server , when I type " Top " command to see the CPU utilization , the output shows a root user executed "gpk-update-icon" which consume upto 98% , So needs your feedback with solution. If I kill this process it will effect ?? ... (1 Reply)
Discussion started by: mody82
1 Replies

10. AIX

Process lose its parent then consume high CPU usage ...

Hello. In an informix context, on AIX 5.3 TL 12, we encounter this problem : Sometimes in the day (probably when users exits from their session), a child process lose its parent (PPID is now "1") and this child is consumming lot of CPU "USER". I tried, on different cases, "truss -p... (4 Replies)
Discussion started by: stephnane
4 Replies
cr_verify(3)						     Library Functions Manual						      cr_verify(3)

NAME
cr_verify - verify integrity of crash dump SYNOPSIS
DESCRIPTION
uncompresses and verifies the sizes and checksums of every file in the crash dump identified by crash_cb. flags is a bitmask of zero or more of the following flag values: will not attempt to verify checksums of files in the crash dump if this flag is set. Only sizes will be verified. will write messages to stderr during time-consuming operations (decompressions and checksums) if this flag is set. will write messages to stderr describing any validation problems that are encountered. If this flag is set, should not be called when returns; repeated error messages would result. RETURN VALUE
Returns zero for success. Other possible return values are described in libcrash(5). EXAMPLES
The following call to cr_verify(3) verifies the integrity of the dump. WARNINGS
Because it uncompresses and checksums all files in a dump, can be very time-consuming. If was not specified, the calling application should notify its user before calling that there may be a significant delay. AUTHOR
was developed by HP. SEE ALSO
cr_open(3), cr_perror(3), libcrash(5). cr_verify(3)
All times are GMT -4. The time now is 08:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy