Depending on your operating system and version, the sort will probably fail on one of these two. Process id is usually in column 3. If this looks totally useless, try getting the column headers and adjusting the column sorted on:-
Code:
ps -el|head -5
I hope that this helps.
Robin
Liverpool/Blackburn
UK
Hello Robin,
I have just tried the following command and I am NOT able to see any CPU utilization column there, could you please help in same.
Hi ,
I am running a C/C++ program on a solaris 5.8 machine. This parituclar application has a module which saves data to a file. The module uses fwrite() function to save data.
The fwrite function write about 500 MB of data to a file. The problem which I am facing is, the memory consumtion... (2 Replies)
Dear all,
When I write the daemon programs it is consuming high memory and processor time. How can I avoid this?
But, the system daemons are not consuming more. How?
Can any one explain how the system daemons are handling the memory consumption and processor time.
Thanks,... (1 Reply)
HI All,
Can anyone send me a command to find TOP 5 Memory consuming process.
It would be lelpful if I get output something like below
processname - pid - memory(in MB) - command
I tried few commands from the internet but the result only give the real memory usage or pagging, I want total... (4 Replies)
Hi all,
We have a server having much processes running. It is very difficuilt to trace the exact consuming more memory. Howerver, it shows CPU usage in sequence but how memory?
Tried working with TOP command.
Please let me know if something not clear.
Thanks,
Deepak (5 Replies)
Hi All,
We have a Linux (RHEL5) server hosting Oracle database.
Usually, Memory utilization will by 50 % and CPU utilization will be 20%.
In the last three days, volume of load was high and now back to normal.
Is it possible to check the Memory (RAM) utilization and CPU utilization in %... (1 Reply)
Hi All
what is the command to check process ids , which are running from long time and which are consuming more cpu?
Also how to check, what a particular PID is running what
For Ex:
i have a pid :3223722 which is running since from long time,
if i want to check what is this... (1 Reply)
When I run 'top' command,I see the following
Memory: 32G real, 12G free, 96G swap free
Though it shows as 12G free,I am not able to account for processes that consume the rest 20G.
In my understanding some process should be consuming atleast 15-16 G but I am not able to find them.
Is... (1 Reply)
Platform: Oracle Linux 6.4
To find the most memory consuming processes, I tried the following 2 methods
1. Method1
# ps aux | head -1 ; ps aux | sort -nk +4 | tail -7
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 95 0.0 0.0 0 0 ? ... (2 Replies)
Discussion started by: kraljic
2 Replies
LEARN ABOUT HPUX
cr_verify
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)