Output from ps is normally good. Try :-
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:-
I hope that this helps.
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
shmmax
shmmax(5) File Formats Manual shmmax(5)NAME
shmmax - maximum size (in bytes) for a System V shared memory segment
VALUES
Default
Allowed values
DESCRIPTION
Shared memory is an efficient InterProcess Communications (IPC) mechanism. One process creates a shared memory segment and attaches it to
its address space. Any processes looking to communicate with this process through the shared memory segment, then attach the shared memory
segment to their corresponding address spaces as well. Once attached, a process can read from or write to the segment depending on the
permissions specified while attaching it.
This tunable sets the maximum size for such a segment within the system, and is dynamic as of HP-UX 11i.
Who is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect immediately.
When Should the Value of This Tunable Be Raised?
should be raised if it is below the maximum and user programs are attempting to segments larger than the current value, and receiving an
error message.
What Are the Side Effects of Raising the Value?
The only effect is that user programs can use to get larger segments.
When Should the Value of This Tunable Be Lowered?
If you wish to enforce behavior on the user's code, limiting the maximum size of System V segments.
What Are the Side Effects of Lowering the Value?
None.
What Other Tunable Values Should Be Changed at the Same Time?
and should be considered because enforcing smaller segments may cause the user's code to try to create more segments to accomplish the
task.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
SEE ALSO shmem(5), shmmni(5), shmseg(5).
Tunable Kernel Parameters shmmax(5)