tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Julio Ramos <jramos@mail.tim.com.pe>
Subject: RV: Percentage of real memory usage (%MEM)
Date: Mon, 27 May 2002 17:53:13 -0500	[thread overview]
Message-ID: <73EDAE002053D611810F0002A55C491A85817D@TIM-MAIL1> (raw)

Hello managers , I received a answer about this ask.

The reason your %MEM is more than 100% is. The column has the procceses that
are sharing memory space also. So if a 
you have 4 procceses sharing 5% of memory. This would add up to be 20% of
memory.. But it really only using 5%. 

If you want to know how much memory is not being used in your sytem use the
following command. Do not use the 1 first line. Use the second 
or more line.. The first line is total since the system was last booted. 

# vmstat 5 5 ... look at the free column, this is the free memory 


Benny Arledge 
Compaq Tru64 UNIX Support 

>  -----Mensaje original-----
> De: 	Julio Ramos  
> Enviado el:	Viernes 24 de Mayo de 2002 12:05 PM
> Para:	'tru64-unix-managers@ornl.gov'
> Asunto:	Percentage of real memory usage (%MEM)
> Importancia:	Alta
> 
> Hi managers, 
> I have a question from a user about % MEM,  I found in
> http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V51A_HTML/ARH9
> GBTE/TITLE.HTM
> information of % MEM, but how can i explain about of 4.0 or 12.7 in % MEM
> ?,  how can to calculate it ?
> 
> Saludos
> 
> Julio Ramos
> 
> 
> P.D.
> This information is in chapter 6
> 6.3.2 Displaying Memory by Using the ps Command
> To display the current state of the system processes and how they use
> memory, enter: 
> # /usr/ucb/ps aux 
> Information similar to the following is displayed: 
> USER  PID  %CPU %MEM   VSZ   RSS  TTY S    STARTED      TIME  COMMAND
> chen  2225  5.0  0.3  1.35M  256K p9  U    13:24:58  0:00.36  cp /vmunix
> /tmp
> root  2236  3.0  0.5  1.59M  456K p9  R  + 13:33:21  0:00.08  ps aux
> sorn  2226  1.0  0.6  2.75M  552K p9  S  + 13:25:01  0:00.05  vi met.ps
> root   347  1.0  4.0  9.58M  3.72 ??  S      Nov 07 01:26:44
> /usr/bin/X11/X -a
> root  1905  1.0  1.1  6.10M  1.01 ??  R    16:55:16  0:24.79
> /usr/bin/X11/dxpa
> mat   2228  0.0  0.5  1.82M  504K p5  S  + 13:25:03  0:00.02  more
> mat   2202  0.0  0.5  2.03M  456K p5  S    13:14:14  0:00.23  -csh (csh)
> root     0  0.0 12.7   356M  11.9 ??  R <  Nov 07 3-17:26:13  [kernel
> idle]
>              [1] [2]   [3] [4]      [5]               [6]     [7]
>  
>  
> The ps command displays a snapshot of system processes in order of
> decreasing CPU usage, including the execution of the ps command itself. By
> the time the ps command executes, the state of system processes has
> probably changed. 
> The ps command output includes the following information that you can use
> to diagnose CPU and virtual memory problems: 
> Percentage of CPU time usage (%CPU). [Return to example] 
> Percentage of real memory usage (%MEM). [Return to example] 
> 


                 reply	other threads:[~2002-05-27 22:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox