Bug 274906

Summary: [Patch] Superkaramba cpu sensor missing wait-load
Product: [Unmaintained] superkaramba Reporter: Duncan <1i5t5.duncan>
Component: generalAssignee: Ryan Nickell <p0z3r>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Patch adding wait-load to the cpu sensor, format="%wait"

Description Duncan 2011-06-04 13:22:32 UTC
Created attachment 60610 [details]
Patch adding wait-load to the cpu sensor, format="%wait"

Version:           unspecified (using KDE 4.6.3) 
OS:                Linux

The superkaramba cpu sensor has all the usual load classifications but one -- wait.  It even has an extra one, system+user (bug #115844, never closed despite the addition of the feature) according to the sources, but is missing wait.  According to the proc (5) manpage I have here, the wait ticks listing was added to the /proc/stat file clear back in kernel 2.5 something, so it's available all the way thru the 2.6 and now 3.x kernels and is available in ksysguard/systemmonitor plasma-engine but I'm new to superkaramba and know only bash, so haven't tried can't figure out how to get that to work for me.

Reproducible: Always




Despite knowing only bash, the superkaramba sources are clean and simple enough I was able to figure out, deploy and test a patch adding the new cpu load classification. =:^)

* Matching usage for the others, access is via format="%wait".

* The total load calculations are adjusted to include wait as well.

* As I don't know the BSDs I simply set wait to zero for them.

The patch is tested against superkaramba/kde 4.6.3 on Linux kernel 3.0-rc1-git-something.
Comment 1 Andrew Crouthamel 2018-09-04 15:53:15 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug.