Re: sysinfo equivalent in Freebsd

2006-10-19 Thread Dan Nelson
In the last episode (Oct 19), Ashok TM said: > In linux we have "sysinfo" system call which provides overall system > statistics. > struct sysinfo { >long uptime; /* Seconds since boot */ >unsigned long loads[3]; /* 1, 5, and 15 minute load averages */ >unsigned long tota

Re: sysinfo equivalent in Freebsd

2006-10-19 Thread RW
On Thursday 19 October 2006 07:05, Ashok TM wrote: > How to find the similar statistics from freebsd , is there any equivalent > system call in freebsd. ? > > I tried using WMMemFree (ports to bsd )without much luck . top gets this kind of thing from sysctl. Be aware though that free memory is a