Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.ci.com.au!brian.telstra.net!news.telstra.net!nsw.news.telstra.net!news.syd.connect.com.au!news.mel.connect.com.au!news.mel.aone.net.au!news-out.internetmci.com!infeed2.internetmci.com!newsfeed.internetmci.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news-peer.sprintlink.net!news.sprintlink.net!Sprint!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!idea.exnet.iastate.edu!flip k From: flipk@idea.exnet.iastate.edu (Phillip F Knaack) Newsgroups: comp.unix.bsd.openbsd.misc Subject: Re: Swapinfo Date: 12 Jul 1997 00:23:49 GMT Organization: Iowa State University, Ames, Iowa, USA Lines: 27 Message-ID: <5q6iql$762$1@news.iastate.edu> References: <5q136p$prv@info.nask.pl> NNTP-Posting-Host: idea.exnet.iastate.edu X-Newsreader: NN version 6.5.1.1 (NOV) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.openbsd.misc:180 jarekb@pap.waw.pl (Jaroslaw Bazydlo) writes: >Is there a way to check haw much swap space is allocated in OpenBSD ? >I mean smtj like FreeBSD's swapinfo or Solaris' swap -l. I'm using >OpenBSD/sparc 2.1. The command you are looking for is "/usr/sbin/pstat -s". Example "pstat -s" output: Device 1K-blocks Used Avail Capacity Type /dev/wd0b 39816 11048 28768 28% Interleaved "systat swap" will show a live update of swap usage. Or, the command "systat vmstat" will show live updates of other type of information, or the "top" command available from many sites. Example "top" output (only the line relevant to memory usage): Memory: 16M Act 8304K Inact 4512K Wired 412K Free 28% Swap Cheers, Phil -- Interoperation with matter-transporters using polar coordinate systems is discouraged, due to round-off and other algorithmic errors in certain ubiquitous floating-point implementations, leading to results which are best discreetly described as "disappointing." --RFC 1437