Subject: Re: some questions about /proc
To: None <>
From: Martin Husemann <>
List: netbsd-users
Date: 07/26/2004 00:43:46
On Sun, Jul 25, 2004 at 04:08:26PM -0500, wrote:
> Does anyone know the NetBSD equivalents for:
> /proc/loadavg
> /proc/net/dev
> /proc/meminfo

I don't know what linux puts there, but you can use the -o option to 
mount_procfs to make it run in linux compat mode.

Loadavg and memory information are usually queried with sysctl(3)
(try sysctl(8): "sysctl hw" and "sysctl vm").

Information about network interfaces can be queried with getaddrinfo(3)
and getifaddrs(3).