Article View: comp.sys.sun
Article #13542physical RAM
From: Frank D. Greco CIS Adj. Prof.
Date: Thu, 01 Feb 1990 23:57
Date: Thu, 01 Feb 1990 23:57
14 lines
1263 bytes
1263 bytes
Recently I asked a question relating to RAM size on a Sun. I apologize for being vague. I must've received 10 answers with the obvious, telling me to watch the screen while I'm booting or using "eeprom memsize". What I had meant to ask was how does one find out *dynamically* how much RAM is currently available for application programs? That is, I need a programmatic method of finding out physical RAM usage. I am building a tool a la perfmeter that indicates physical RAM usage. I'm sure there is some info kept in the kernel on overall RAM usage, I just don't know where to look. Someone had told me that the program "top" shows this information. If someone can verify this fact and point me in the correct direction to the src to top, I would appreciate it very much. Thanks all, Frank G.
Technical Details
Message-ID:
<4660@brazos.Rice.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request From: frank5@mars.njit.edu (Frank D. Greco CIS Adj. Prof.) Newsgroups: comp.sys.sun Subject: physical RAM Keywords: SunOS Message-ID: <4660@brazos.Rice.edu> Date: 1 Feb 90 23:57:46 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n10 X-Sun-Spots-Digest: Volume 9, Issue 22, message 14 of 16