| Summary: | Disk stats not shown with Linux kernel 2.6.x (/proc/stats info has moved to /proc/diskstats) | ||
|---|---|---|---|
| Product: | [Unmaintained] ksysguard | Reporter: | Holger Janssen <holger.janssen> |
| Component: | general | Assignee: | KSysGuard Developers <ksysguard-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Diff to stat.c module which implements disk stats for 2.6 kernels (based on /proc/diskstats) | ||
|
Description
Holger Janssen
2004-05-29 03:44:29 UTC
Created attachment 6170 [details]
Diff to stat.c module which implements disk stats for 2.6 kernels (based on /proc/diskstats)
Attached path solved the problem for me. It processes the new /proc/diskstats
entries, and takes care of the 'disk' and 'partition' entries. The result is
that a monitor in created for each disk, as well as all mounted partitions, so
partitions could be monitored separately.
CVS commit by tokoe: Commit the patch written by Holger Janssen <holger.janssen@te4l.com> which fixes the stat sensor for 2.6 kernel. CCMAIL:82423-done@bugs.kde.org M +166 -2 stat.c 1.33 [POSSIBLY UNSAFE: scanf,printf] |