For monitoring: nmon (1..10), xymon (10...100), nagios (50...) (number of monitored systems)
For an ad-hoc snapshot and debugging, I suggest the Posix format where you can specify the columns.
Examples for top 3 memory consumers:
This User Gave Thanks to MadeInGermany For This Post:
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 OSF1
memx
memx(8) System Manager's Manual memx(8)NAME
memx - memory exerciser
SYNOPSIS
/usr/field/memx -s [-h] [-ofile] [-ti] [-mj] [-pk]
OPTIONS
The memx options are as follows: Print the help message for the memx command. Disables automatic shared memory testing. Save diagnostic
output in file. Run time in minutes (i). The default is to run until the process receives a CTRL-C or a kill -15 pid command. The memory
size in bytes (j) to be tested by each spawned process. Must be greater than 4095. The default is (total-memory)/20. The number of pro-
cesses to spawn (k). The default is 20. The maximum is also 20.
DESCRIPTION
The memx memory exerciser spawns processes to exercise memory by writing and reading three patterns: 1's and 0's, 0's and 1's, and a random
pattern.
You specify the number of processes to spawn and the size of memory to be tested by each process. If the shmx Shared Memory exerciser is
present, it will be the first process spawned; the remaining processes are standard memory exercisers. The memx exerciser will run until
the process receives a CTRL-C or a kill -15 pid command.
A logfile for you to examine and then remove is created in the current working directory. If there are errors in the logfile, check the
syslog file where the driver and kernel error messages are saved.
RESTRICTIONS
The memx exerciser is restricted by the size of the available swap space. The size of the swap space and the size of internal memory
available determines how many processes can run on the system. For example, If there is 16 Mbytes of swap space and 16 Mbytes of memory,
all of the swap space would be used if all 20 spawned memory exercisers are running. In that event, no new processes would be able to run.
On systems with large amounts of memory and small swap space, you must restrict the number of memory exercisers and/or the size of memory
being tested.
If there is a need to run a system exerciser over an NFS link or on a diskless system there are some restrictions. For exercisers that
need to write into a file system, such as fsx(8), the target file system must be writable by root. Also, the directory in which any of the
exercisers are executed must be writable by root because temporary files are written into the current directory. These latter restrictions
are sometimes difficult to overcome because often NFS file systems are mounted in a way that prevents root from writing into them. Some of
the restrictions may be overcome by copying the exerciser to another directory and then executing it.
You should specify the -s option to disable automatic shared memory testing, which is not supported.
EXAMPLES
The following example tests all of memory by running 20 spawned processes until a CTRL-C or kill -15 pid command is received: %
/usr/field/memx The following example runs 10 spawned processes, memory size 500,000 bytes, for 180 minutes in the background. %
/usr/field/memx -t180 -m500000 -p10 &
SEE ALSO
Commands: cmx(8), diskx(8), fsx(8), shmx(8), tapex(8)memx(8)