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: Percentage of real memory usage (%MEM) Date: Fri, 24 May 2002 12:05:07 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <73EDAE002053D611810F0002A55C491A85815F@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 1022260999 1279 127.0.0.1 (24 May 2002 17:23:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 24 May 2002 17:23:19 +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 17BImd-0000KW-00 for ; Fri, 24 May 2002 19:23:19 +0200 Original-Received: (qmail 12217 invoked by uid 5); 24 May 2002 17:03:51 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 12209 invoked from network); 24 May 2002 17:03:51 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 24 May 2002 17:03:51 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GWM00JOCKQFOU@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 24 May 2002 13:03:51 -0400 (EDT) Original-Received: from tim-viruswall.tim.com.pe ([200.24.163.195]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GWM00ML1KQBD5@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 24 May 2002 13:03:49 -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 g4OGtsg02727 for ; Fri, 24 May 2002 11:55:55 -0500 Original-Received: by tim-mail2.tim.com.pe with Internet Mail Service (5.5.2653.19) id ; Fri, 24 May 2002 12:06:45 -0500 Content-return: allowed Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) Importance: high X-Priority: 1 Xref: main.gmane.org gmane.os.tru64.managers:319 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:319 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/ARH9GB TE/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]