tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* How to read memory information for ps aux?
@ 2006-04-07 19:28 Cohen, Andy
  2006-04-27  1:02 ` Tru64 to AIX (OT) Rich Glazier
  0 siblings, 1 reply; 3+ messages in thread
From: Cohen, Andy @ 2006-04-07 19:28 UTC (permalink / raw)


We're trying to figure out memory usage on our DS20E.  We're running
Tru64 5.1 PK6 utilizing swap in eager mode with 3 GB of RAM and 6 GB of
swap.  I'm told that "ps aux" has a few columns of interest:
 
%MEM -- pct. of physical memory the process is using
VSZ -- virtual memory (swap) used by that process
RSS -- how much physical memory is being
 
However, when I review the output from a 'ps aux' the numbers don't
really add up.  I presume it's a bit more nuanced than what the
definitions above are.
 
Here's a snippet:
 
USER         ,   PID, %CPU, %MEM,   VSZ,  RSS, TTY      ,S    ,STARTED ,
TIME, COMMAND
root         ,     0,  2.4,  3.6, 3.81G, 111M, ??       ,R <  ,  Apr 06,
27:16.21, [kernel idle]
oracle       , 27028,  1.8,  0.1, 1.70G, 2.6M, ??       ,S    ,  Apr 06,
9:15.92, oraclepsprod (LOCAL=NO)
cnx_oadm     ,218482,  1.6,  0.0, 4.11M, 808K, ??       ,S N  ,08:01:01,
6:47.15, /sbin/vdump -0vf - -D
/disk04_SAN/oradata/psprod/hotback/current
oracle       ,292090,  1.2,  0.1, 1.70G, 3.7M, ??       ,S    ,13:19:23,
0:22.34, oraclepsprod (LOCAL=NO)
root         ,307634,  0.5,  0.2, 8.99M, 5.8M, pts/0    ,S  + ,13:46:51,
0:14.80, top
cnx_oadm     ,218493,  0.4,  0.0, 2.20M,  64K, ??       ,R N  ,08:01:02,
2:14.06, rsh florida cd /disk04/oradata/psprod_from_odin/hotback/current

cnx_oadm     , 95316,  0.3,  0.0, 2.48M, 352K, ??       ,S N  ,00:01:00,
1:10.32, /home/app/oracle/local/HIGH_CPU_PROC_CHECK.sh 90
psoft        , 13397,  0.3,  0.8, 94.9M,  26M, ??       ,S    ,  Apr 06,
2:17.10, PSPRCSRV -C dom=PSUNX_58581 -g 1 -i 101 -u odin.cognex.com -U 
root         ,312251,  0.0,  0.0, 2.27M, 312K, ??       ,S    ,14:07:40,
0:00.01, telnetd
root         ,312534,  0.0,  0.0, 2.48M,  96K, pts/2    ,R  + ,14:09:02,
0:00.00, -ksh (ksh)
root         ,312536,  0.0,  0.3, 9.76M, 7.8M, pts/2    ,R  + ,14:09:02,
0:00.04, ps aux
cnx_oadm     ,312535,  0.0,  0.0, 2.02M, 184K, ??       ,S N  ,14:09:01,
0:00.00, sleep 5
oracle       ,248075,  0.0,  0.1, 1.70G, 2.2M, ??       ,I    ,10:10:29,
0:00.10, oraclepsprod (LOCAL=NO)
oracle       , 52258,  0.0,  0.1, 1.70G, 1.7M, ??       ,I    ,15:03:45,
0:40.64, ora_arc1_psprod
oracle       ,253733,  0.0,  0.1, 1.70G, 2.4M, ??       ,I    ,10:33:06,
0:00.38, oraclepsprod (LOCAL=NO)
oracle       , 57727,  0.0,  0.1, 1.70G, 2.0M, ??       ,I    ,16:34:20,
0:00.35, oraclepsprod (LOCAL=NO)
 
When I add up the number in RSS (taking into account K and M) I get (at
the time I ran it) less than 800 M.  This seems low to me.  Is it just
active memory versus total allocated physical memory?

Also, the VSZ column, when added up, comes to a value far exceeding the
amount of swap space we have.  In the example above you can see that the
oraclepsprod processes have a VSZ value of 1.70G.  I know that each one
of those isn't reserving 1.7G of swap.  Does this have something to do
with using shared memory?  The [kernel idle] process has an RSS of 111M
and a VSZ of 3.81G.

We trying to get a good handle on our memory utilization so any help
with this is most appreciated.

Thank you!
Andy


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Tru64 to AIX (OT)
  2006-04-07 19:28 How to read memory information for ps aux? Cohen, Andy
@ 2006-04-27  1:02 ` Rich Glazier
  2006-04-27 22:50   ` SUMMARY: " Rich Glazier
  0 siblings, 1 reply; 3+ messages in thread
From: Rich Glazier @ 2006-04-27  1:02 UTC (permalink / raw)


This has been by far the best user group on the net,
and has been a life saver for me over the last 5 or so
years.  Thanks to everyone.

I am migrating my Tru64 machines to AIX.  Does anyone
know a good AIX group?  I see the comp.sys one.  The
princeton.edu LISTSERV one looks to be defunct now. 
Is that true?

I hate leaving Tru64.

Thanks,

Rich

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* SUMMARY: Tru64 to AIX (OT)
  2006-04-27  1:02 ` Tru64 to AIX (OT) Rich Glazier
@ 2006-04-27 22:50   ` Rich Glazier
  0 siblings, 0 replies; 3+ messages in thread
From: Rich Glazier @ 2006-04-27 22:50 UTC (permalink / raw)


Thanks to everone who replied.  Many had the same
questions for me, so I'll just answer them in the
Summary.

First, since I work for a governmental agency, we can
not sell the Alphas.  They have to be auctioned.  It
will be a local Denver auction.  If anyone has
interest in that, let me know and I'll try to remember
to give you the dates (probably a year away).

Second, is that for some reason the
listserv@pucc.princeton.edu address keeps getting
returned to me, but I'm not worring about that.  There
are pleanty of good Aix groups based on google
searches and IBMs web site.

Lastly
Aix was settled on mainly because of an Oracle /
Oracle Apps ERP project, and that was the consultants
preference.  I have worked with Aix in the past, and I
do like it, so I was fine with that recomendation. 
It's a very developed and robust OS.  It's gone so far
away from traditional Unix though, that it's hard to
even call it Unix anymore. I prefer traditional Unix
files and strucure, but Aix gives the sysAdmin tools
far supirior to Tru64 (IMO).

I guess the last straw for me was when HP abandoned
AdvFS and TruCluster.  Then I really had very little
incentive to move to HP-UX.  I ruled Solaris out based
on the uncertainly of Sun corp.

Thanks for everyones input!

--- Rich Glazier <rglazier2002@yahoo.com> wrote:

> This has been by far the best user group on the net,
> and has been a life saver for me over the last 5 or
> so
> years.  Thanks to everyone.
> 
> I am migrating my Tru64 machines to AIX.  Does
> anyone
> know a good AIX group?  I see the comp.sys one.  The
> princeton.edu LISTSERV one looks to be defunct now. 
> Is that true?
> 
> I hate leaving Tru64.
> 
> Thanks,
> 
> Rich
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-27 22:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-07 19:28 How to read memory information for ps aux? Cohen, Andy
2006-04-27  1:02 ` Tru64 to AIX (OT) Rich Glazier
2006-04-27 22:50   ` SUMMARY: " Rich Glazier

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