Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!sol.ctr.columbia.edu!emory!gatech!purdue!haven!decuac!pa.dec.com!shodha.enet.dec.com!alan From: alan@shodha.enet.dec.com ( Alan's Home for Wayward Notes File.) Newsgroups: comp.unix.ultrix Subject: Re: Displaying swap space... Summary: pstat -s. Message-ID: <2798@shodha.enet.dec.com> Date: 22 Mar 91 15:04:44 GMT References: Organization: Digital Equipment Corp. - Colorado Springs, CO. Lines: 29 In article , shahryar@sfsuvax1.SFSU.EDU (Persian Nightmare) writes: > > I would like to know how to display the swap space left on Ultrix 4.1?? Depending on what you want to know you can: 1. Use the -s option of pstat(8) to display, how much total page/swap is available, how much reserved, how much is actually being used for text, data and shared memory, and how swapfrag pieces there are. ULTRIX V4 doesn't allocate page/swap until it's needed, but it does reserve it whenever virual memory is allocated. This way we don't have to worry about a deadlock problem. 2. Get Monitor V1.2 (or .3) from gatekeeper.dec.com. It has an option to watch page/swap space. The next version will display reserved page/swap space on V4.x systems. 3. Write you own program to examine the swap device table and/or the swap map. > > Thanks, > > Shahryar > -- Alan Rollow alan@nabeth.cxn.dec.com