Re: [gentoo-user] Getting system stats

2007-11-09 Thread Mikko Ruuska
On Thu, 08 Nov 2007, Daniel Iliev wrote: On Thu, 8 Nov 2007 00:23:51 +0200 Aleksey V. Kunitskiy [EMAIL PROTECTED] wrote: On Wednesday 07 November 2007, James wrote: All, I'm writing a piece of code that requires I gather the following statistics every second: - CPU Usage

Re: [gentoo-user] Getting system stats

2007-11-09 Thread Liviu Andronic
On 11/7/07, James [EMAIL PROTECTED] wrote: Thoughts? I'm no expert in the field, but since dmstat was mentioned, this might be useful: http://gentoo-wiki.com/HARDWARE_Detecting_your_Hardware#dstat_.2F_vmstat_.2F_free Regards, Liviu -- [EMAIL PROTECTED] mailing list

[gentoo-user] Getting system stats

2007-11-07 Thread James
All, I'm writing a piece of code that requires I gather the following statistics every second: - CPU Usage (as a percentage) - NIC I/O - Hard Drive I/O I later have to correlate these stats as a function of time. I'm not really sure where I should be looking to gather these statistics.

Re: [gentoo-user] Getting system stats

2007-11-07 Thread Aleksey V. Kunitskiy
On Wednesday 07 November 2007, James wrote: All, I'm writing a piece of code that requires I gather the following statistics every second: - CPU Usage (as a percentage) - NIC I/O - Hard Drive I/O I later have to correlate these stats as a function of time. I'm not really sure where I

Re: [gentoo-user] Getting system stats

2007-11-07 Thread Daniel Iliev
On Thu, 8 Nov 2007 00:23:51 +0200 Aleksey V. Kunitskiy [EMAIL PROTECTED] wrote: On Wednesday 07 November 2007, James wrote: All, I'm writing a piece of code that requires I gather the following statistics every second: - CPU Usage (as a percentage) - NIC I/O - Hard Drive I/O

Re: [gentoo-user] Getting system stats

2007-11-07 Thread Iain Buchanan
On Wed, 2007-11-07 at 13:38 -0500, James wrote: All, I'm writing a piece of code that requires I gather the following statistics every second: - CPU Usage (as a percentage) this is an interesting one. I had to do this recently, and the only place I could get the data from is