home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.admin:8237 comp.sys.sun.misc:5249
- Newsgroups: comp.sys.sun.admin,comp.sys.sun.misc
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!dkuug!daimi!aau!adminpb
- From: adminpb@aau.dk (Nis Peder Bonde)
- Subject: How much memory do I have ? HELP
- Message-ID: <1992Nov13.153835.18802@aau.dk>
- Organization: Aarhus University, Denmark
- Date: Fri, 13 Nov 1992 15:38:35 GMT
- Lines: 55
-
- Hardware: Sun 630MP, 64 Mb RAM
- OS: SunOS 4.1.2 (+Sun DBE)
-
- My question is very "simple":
- How much physical memory do I have left right now (if any !)
-
- =====
- When I run top, the status-line gives me:
- Memory: 21352K (21352K) real, 2536K free
-
- Well, I think: I use 21352K of my memory and have 2536K left.
- That gives 21352K + 2536K = 23888K, but where is the last
- 64*1024K - 23888K = 41648K ?
- =====
- When I run sps, the bottomline gives me:
- 58 (99408k) processes, 1 (1240k) busy, 31 (23804k) loaded, 27 (624k) swapped
-
- Now the situation looks much different! As far as I understand
- (the man-page doesn't help much :-) there is now used 99408K.
- That's too much, so the rest must be swapped out, I think:
- 99408K - 64*1024K = 33872K (hmmm, why did top report any free
- memory then? It allready seems to be overloaded !).
- =====
- When running pstat -s, I get the following info:
- 14548k allocated + 2280k reserved = 16828k used, 249728k available
-
- Only 16828k swap-space used ?????
- I just calculated, that it had to be about 33M !!!!!!
- I'm more and more mystified. At this point!
- =====
- When running vmstat, I get this:
- procs memory page disk faults cpu
- r b w avm fre re at pi po fr de sr d0 d1 d2 d3 in sy cs us sy id
- 0 0 0 0 2536 0 23 7 5 0 0 2 1 0 0 0 68 495 41 4 2 93
-
- This gives me not any more information. Besides, that vmstat confirms
- top in, that there is 2536K of free memory :-(
- =====
-
- Now I've come up with all the possibilities I can think of,
- but it hasn't helped me. Instead I'm totally mystified :-(
-
- Shall I tell my boss, that I need more RAM ?
-
- Could someone please explain me what the various programs show,
- if there is any other programs I should know of etc. etc. etc.
-
- Bonde
- --
- Nis Peder Bonde, System Administrator, Datakontoret, Aarhus University
- Phone : +45 86 20 27 11 ext. 4993
- Internet : adminpb@aau.dk
- X.400 : C=dk; ADMD=dk400; PRMD=minerva; O=aau; S=adminpb
-
- "Be careful out among the English" (Eli Lapp, The Witness)
-