Newsgroups: comp.unix.aix
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!uw-beaver!milton!gibdo!slh
From: slh@gibdo.engr.washington.edu ()
Subject: Re: mathematics of swap space
Message-ID: <1991Apr23.071812.16740@gibdo.engr.washington.edu>
Summary: well...
Sender: news@milton.u.washington.edu (News)
Reply-To: slh@gibdo.engr.washington.edu (PUT YOUR NAME HERE)
Organization: zippity
References: <2758@sapwdf.UUCP>
Date: Tue, 23 Apr 1991 07:24:35 GMT

In article <2758@sapwdf.UUCP> Bill Wohler <wohler@sap-ag.de> writes:
|swap space gurus:
|
|  with 128M of real memory and 208M of swap (and effective total of
|  336M of memory!) on a 530, i would not have expected to see "INIT:
|  swap space low", especially considering when the sum of the SIZE
|  column of "ps uax" is only 58M.
|
|	ps uax | awk '{sum += $5}
|	END {print sum}'
|	57876
|
	No swap space guru, but:
	I believe your virtual memory size is only as large as your swap space,
	so you really only have 208M of virtual memory.
	Also your awk thing will not always work, since the fields of ps
	can run together (not to say your sum probably isn't close enough)

