[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: server info



On Fri, Nov 03, 2000 at 12:05:18AM -0500, Lawrence Rufo wrote:
> I am trying to customize a php script which monitors server info.  The
> script polls info from linux standards /proc/meminfo, /proc/cpuinfo.
> 
> Can anyone point me to where I can obtain similar info from my OpenBSD box
> :-?

You could try kernfs:
# mkdir /kern; mount -t kernfs /kern /kern
# ls /kern
boottime   hostname   machine    osrelease  physmem    usermem
byteorder  hz         model      osrev      posix      version
copyright  ipsec      msgbuf     ostype     rootdev
domainname loadavg    ncpu       pagesize   time

-Mark

> 
> Thank you,
> Larry
> 
> Lawrence Rufo - FASTNET Corporation 
> Lawrence.Rufo@fast.net (888)321-FAST(3278) http://www.fast.net 
> FASTNET (R) - Business and Personal Internet Solutions www.fast.net