Re: Collecting System Statistics Programatically

2001-07-27 Thread Jim Bryant
Tabor Kelly wrote: > > I have found how to collect limited system statistics with > sysctlbyname(), but I need to know how to do more. In specific I need > to know how much memory is being used, and what percentage of > processor cycles are being used. > > Any help is greatly appreciated, Thank

Re: Collecting System Statistics Programatically

2001-07-27 Thread Gersh
As for memory look at the output of a vmstat -m. That will show you your kernel memory useage. For processor cycles build a profiling kernel (config -p). Look at the man pages for kgmon and gprof to see how to use the profiler. On Fri, 27 Jul 2001, Tabor Kelly wrote: > I have found how to col

Re: Collecting System Statistics Programatically

2001-07-27 Thread Doug White
On Fri, 27 Jul 2001, Tabor Kelly wrote: > I have found how to collect limited system statistics with > sysctlbyname(), but I need to know how to do more. In specific I need > to know how much memory is being used, and what percentage of > processor cycles are being used. You can get memory utili