Re: Swap space size in C
From: Dan Pop (Dan.Pop_at_cern.ch)
Date: 12 Dec 2003 14:20:01 GMT
In <email@example.com> Grumble <firstname.lastname@example.org> writes:
>Otto Meijer wrote:
>> for one of my projects I need to figure out the size of the
>> swap file(s) of a certain system. The problem is I need to do this
>> on a host of platforms like: HP_UX, Solaris, Linux, AIX, OSF,
>> OpenVMS and Windows.
>> This seems much more difficult than I thought origionaly.
>> Some platforms don't seem to have any API to query this information.
>> Any hints how to tack this would be very welcome
>AFAICT, your best bet is the Portable Operating System Interface for
>UNIX, aka POSIX.
Which, AFAICT, blissfully ignores the issue.
-- Dan Pop DESY Zeuthen, RZ group Email: Dan.Pop@ifh.de