Date: Wed, 3 Feb 2010 10:01:20 +0200 (EET) From: Stefan Parvu <sparvu@systemdatarecorder.org> To: freebsd-questions@freebsd.org Subject: cpu utilization question in FreeBSD Message-ID: <Pine.SOC.4.64.1002030959520.8263@systemdatarecorder.org>
next in thread | raw e-mail | index | archive | help
Hi, Im trying to put together a number of data recorders, to collect raw data from kernel or from applications. Here you can see a basic idea of SDR: http://www.systemdatarecorder.org/recording/recdesign.html http://www.systemdatarecorder.org/recording/recorders.html Im currently trying to port sysrec, http://www.systemdatarecorder.org/recording/sdr_bin/sysrec to FreeBSD. I would like to understand how CPU Utilization in FreeBSD counts, comparing to Solaris. Currently sysrec records the following metrics: # Utilisation, # CPU # usr + sys time across all CPUs # Memory # free RAM. freemem from availrmem # Disk # %busy. r+w times across all Disks # Network # throughput. r+w bytes across all NICs # # Saturation, # CPU # threads on the run queue # Memory # scan rate of the page scanner # Disk # operations on the wait queue # Network # errors due to buffer saturation # Would be fair to count CPU Util in FreeBSD similar with Solaris, User + System time ? Is there any Perl module or KSTAT functionality which exports these functionalities to userland for simple consumption ? Thanks, Stefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOC.4.64.1002030959520.8263>