Menu

#221 cpuload.pm can not parse top output on suse 10.0

open
nobody
5
2006-03-06
2006-03-06
Anonymous
No

/big-sister-1.02/uxmon/Monitor/cpuload.pm

My computer is smart. When I am lonley "top" reports:
top - 18:32:46 up 13 days, 2:44, 1 user, load
average: 0.00, 0.01, 0.00

_ 1 user, _ not 1 users. :)

This helps:

diff:
---------------
101,102c101,102
<
< if( $top =~ /^(.*users,\s*load average.*)$/m ) {
---
> #
> if( $top =~ /^(.*user[s]?,\s*load average.*)$/m ) {
---------------

I am using SuSe 10.0

--
t.ballin.ext@ndr.de

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.