From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f88e1,ea04c1effb701bf3 X-Google-Attributes: gidf88e1,public X-Google-Thread: 1164f8,ea04c1effb701bf3 X-Google-Attributes: gid1164f8,public X-Google-Thread: f6653,ea04c1effb701bf3 X-Google-Attributes: gidf6653,public X-Google-Thread: fcda7,ea04c1effb701bf3 X-Google-Attributes: gidfcda7,public X-Google-ArrivalTime: 1994-11-24 04:46:21 PST Path: nntp.gmd.de!dearn!blekul11!idefix.CS.kuleuven.ac.be!ub4b!EU.net!howland.reston.ans.net!news2.near.net!info-server.bbn.com!bkort From: bkort@musenet.org (Barry Kort) Newsgroups: comp.sys.hp.hpux,comp.sys.sun.misc,comp.sys.dec,alt.sys.sun Subject: Re: How to check swap space from C Followup-To: comp.sys.hp.hpux,comp.sys.sun.misc,comp.sys.dec,alt.sys.sun Date: 24 Nov 1994 00:37:42 GMT Organization: MuseNet, the Multi-User Science Education Network, Cambridge, MA Message-ID: <3b0n8m$pba@info-server.bbn.com> References: <3ar8hg$ov6@loach.cichlid.com> NNTP-Posting-Host: cyber.bbn.com X-Newsreader: TIN [version 1.2 PL2] Xref: nntp.gmd.de comp.sys.hp.hpux:16898 comp.sys.sun.misc:18184 comp.sys.dec:19943 alt.sys.sun:3083 Andy Burgess (aab@cichlid.com) wrote: : Does anyone know how to determine free swap space from C code on any of the : following platforms: : hp: HP-UX A.09.05 A 9000/715 2012724640 : sun4: SunOS 4.1.3 : sun4: Solaris : dec: ULTRIX 4.4 In Ultrix, the command /etc/pstat -s will return this information, so you could always do a system call to the Ultrix shell and run that command. --Barry Kort