08-17-2014
Another point, your vmstat output only displays the first line of statistics.
This represent the average value since last boot (or counter rollout). You should post at least two lines of values to get the current metrics.
The 'sr' column is showing a non null value (9) that clearly means the system suffered some RAM shortage.
10 More Discussions You Might Find Interesting
1. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
2. Solaris
Hi,
I'm running a multi-process software system on a Solaris 8 machine. When I monitor the memory usage, I see that the free memory is dropping rapidly, but I can't detect a process that uses this memory.
I'm using "top" to get the free memory and the memory usage of processes.
Thanks. (3 Replies)
Discussion started by: gewurtz
3 Replies
3. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
By using time command we can determine the execution time of a process or command.
bash-2.04$ time ls -l
total 0
-rw-r--r-- 1 admin tac 0 Oct 6 04:46 file1
-rw-r--r-- 1 admin tac 0 Oct 6 04:46 file2
real 0m0.002s
user 0m0.000s
sys 0m0.001s... (5 Replies)
Discussion started by: learn more
5 Replies
5. Solaris
I am working on Oracle 2 node RAC 10.2.0.4 on Solaris 10 T2000 kit.
The box has around 32G of memory of which 24G is used by oracle user. There is 3G of free memory on the box.
Sga max is set to 5G and while checking v$pgastat i see that maximum pga memory memory allocated was 6.5G. So oracle... (29 Replies)
Discussion started by: prabumohan
29 Replies
6. Solaris
Hi All,
We have a server with Solaris 10 installed. The total memory of the server is 64GB. In order to check the memory info of the server I use "top" utility that gives me total and free memory in real-time.
I have also installed a Sun container (non-global zone) on top of parent operating... (4 Replies)
Discussion started by: Slayer
4 Replies
7. Shell Programming and Scripting
i need to find memory usage by JVM in shell prompt,
i tried with
pidVal=$( ps -ef | grep "/opt/bea2/jrockit/bin/java -jrockit" | grep -v grep | awk -F' ' '{print $2}' | tr "\n" "," | cut -d ',' -f1 )
top -b -n 1 | grep $pidVal
this will just give cpu usage and ram... How do i find... (4 Replies)
Discussion started by: vivek d r
4 Replies
8. UNIX for Advanced & Expert Users
Hi Guys,
I have a script. It calls an executable inside (programmed in C). I will have to find the execution time of that script and amount of memory consumed by that process as well.
#!/bin/sh
echo "Script starting"
echo "executable staring"
executable parm1 parm2 parm3
echo... (4 Replies)
Discussion started by: PikK45
4 Replies
9. Solaris
One of my Solaris Unix server has total RAM 128G . top & vmstat command shows free memory is 86G and usage is 42G.
ps -eo pid,rss,commshows memory usage by process. when i sum all the memory usage by the process, it shows 1.9TB as shown below.
$ ps -eo pid,pmem,vsz,rss,comm | sort -rnk2 |... (5 Replies)
Discussion started by: baladelaware73
5 Replies
10. Solaris
I have multiple oracle databases on one server. All the database are running from the same user i.e. oraent.
The process for each database can be distinguished by the ps -ef command
Eg : ps -ef | grep oraentThe Output :
oraent 5361 1 0 20:58:05 ? 0:00 oracledb1... (11 Replies)
Discussion started by: yashreads
11 Replies
FREE(1) Linux User's Manual FREE(1)
NAME
free - Display amount of free and used memory in the system
SYNOPSIS
free [-b|-k|-m|-g] [-c count] [-l] [-o] [-t] [-s delay] [-V]
DESCRIPTION
free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel. The
shared memory column should be ignored; it is obsolete.
OPTIONS
-b Display the amount of memory in bytes.
-c count
Display the result count times. Requires the -s option.
-g Display the amount of memory in gigabytes.
-k Display the amount of memory in kilobytes. This is the default.
-l Show detailed low and high memory statistics.
-m Display the amount of memory in megabytes.
-o Display the output in old format, the only difference being this option will disable the display of the "buffer adjusted" line.
-s Continuously display the result delay seconds apart. You may actually specify any floating point number for delay, usleep(3) is used
for microsecond resolution delay times.
-t Display a line showing the column totals.
-V Display version information.
FILES
/proc/meminfo memory information
AUTHORS
Written by Brian Edmonds.
Send bug reports to <albert@users.sf.net>
SEE ALSO
ps(1), slabtop(1), top(1), vmstat(8).
Cohesive Systems 5 Oct 2009 FREE(1)