Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 1997 04:02:50 +0200 (EET)
From:      Vladimir Kushnir <kushn@olinet.isf.kiev.ua>
To:        freebsd-questions@FreeBSD.ORG
Subject:   System information: how to?
Message-ID:  <Pine.BSF.3.96.971120034556.27086A-100000@kushnir.kiev.ua>

next in thread | raw e-mail | index | archive | help
Hello all
Sorry if this question is misplaced, but how do I retrieve a system
information (free memory, cache, swap total and in use etc.) from inside
of the program without having to exec something (having in mind something
like KDE kcontrolcenter)? sysctl() doesn't seem to give a lot of it.     
Oh, one more thing: I'd prefer not to setuid it.

Thanks in advance
Vladimir





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971120034556.27086A-100000>