From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Julio Ramos Newsgroups: gmane.os.tru64.managers Subject: RV: Percentage of real memory usage (%MEM) Date: Mon, 27 May 2002 17:53:13 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <73EDAE002053D611810F0002A55C491A85817D@TIM-MAIL1> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1022539912 26636 127.0.0.1 (27 May 2002 22:51:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 27 May 2002 22:51:52 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17CTLE-0006vL-00 for ; Tue, 28 May 2002 00:51:52 +0200 Original-Received: (qmail 21389 invoked by uid 5); 27 May 2002 22:52:28 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21381 invoked from network); 27 May 2002 22:52:28 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (134.167.3.110) by 0 with SMTP; 27 May 2002 22:52:28 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GWS00L5RKVG9X@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 27 May 2002 18:52:28 -0400 (EDT) Original-Received: from tim-viruswall.tim.com.pe ([200.24.163.195]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GWS001AEKUL2W@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 27 May 2002 18:51:58 -0400 (EDT) Original-Received: from tim-mail2.tim.com.pe (localhost [127.0.0.1]) by tim-viruswall.tim.com.pe (8.11.6/8.11.6) with ESMTP id g4RMhsS10336 for ; Mon, 27 May 2002 17:43:55 -0500 Original-Received: by tim-mail2.tim.com.pe with Internet Mail Service (5.5.2653.19) id ; Mon, 27 May 2002 17:54:53 -0500 Content-return: allowed Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:339 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:339 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] >