Hi there,
> I just switched to 2.6.x kernel and the busy don't wanted to change as i
> expected. So i start to search and find about the new /proc/stat variables.
> In 2.6.x we have 3 more variables (iowait,irq and softirq)
> I added this variables to proc_stat plugin and here the patch.
> It's working correctly in 2.6.x and i hope in 2.4.x too.
>
> If i understand correctly in "parse_proc_stat" in FOR cycle will go
> until 7 or until reach the end so the last params will not be updated in
> 2.4 kernel.
> On "my_cpu" if the hash_get_delta will return 0 if not find this new
> paramaters.
patch applied to trunk. Thanks a lot for your contribution!
btw, could you *please* update the wiki? Thanks again!
--
Michael Reinelt <re...@eu...>
http://home.pages.at/reinelt
GPG-Key 0xDF13BA50
ICQ #288386781
|