Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!cs.utexas.edu!uunet!mcsun!ukc!reading!rosemary!ac1 From: ac1@rosemary.cs.reading.ac.uk (Andrew Cunningham) Newsgroups: comp.sys.hp Subject: Re: swap space for diskless clients Message-ID: <2329@onion.reading.ac.uk> Date: 4 May 90 19:29:07 GMT References: <1990Apr30.024120.20924@comp.vuw.ac.nz> Sender: news@reading.ac.uk Reply-To: ac1@rosemary.cs.reading.ac.uk (Andrew Cunningham) Organization: Comp. Sci. Dept., Reading Univ., UK. Lines: 36 In article <1990Apr30.024120.20924@comp.vuw.ac.nz> andy@comp.vuw.ac.nz (Andy Bond) writes: >I'm trying to find the total swap space available for a diskless >HP300. If I look at nswap in the kernel, its value is zero, whereas >for a disked HP300 it is correct. This seems understandable since the >HP300's share swap space on a server (which returns the correct nswap >value), but none the less, isn't too helpful. > The total swap on the server is divided amongst the cnodes in a shared cluster; no c-node has a limit short of the total; thus all the space is available for any given cnode. [Unless you have local swap; then each node can swap to its local disk, and to a remote disk as well, i think, which makes things much more complex for your purposes...] >I really want to get total and free swap space used in a cluster by >all the diskless clients as well as the disked server (providing the >swap space). I could look through the proc table on each cluster host >but this seems a somewhat long-winded approach. > as already suggested, monitor is your friend when trying to do this. This munges the information held on the server about what swap is being used by each cnode. Hope this is useful AndyC >Thanks for any help, >andy Andrew Cunningham JANET:ac1@uk.ac.reading.cs.csug SNAIL: Dept. of Computer Science, Whiteknights, READING RG6 2AX FROM UselessCapitals IMPORT Disclaimer; "Sodomy non sapiens" (Buggered if I know) -Terry Pratchett "Mort"