Bug 274906 - [Patch] Superkaramba cpu sensor missing wait-load
Summary: [Patch] Superkaramba cpu sensor missing wait-load
Status: RESOLVED UNMAINTAINED
Alias: None
Product: superkaramba
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Ryan Nickell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-04 13:22 UTC by Duncan
Modified: 2018-09-04 15:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch adding wait-load to the cpu sensor, format="%wait" (4.62 KB, patch)
2011-06-04 13:22 UTC, Duncan
Details

Note You need to log in before you can comment on or make changes to this bug.
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.