Summary: | the panel system monitor plugin doesn't show all harddisk activity (gnome-base/gnome-applets-2.10.0) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Simon Stelling (RETIRED) <blubb> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED NEEDINFO | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Simon Stelling (RETIRED)
2005-08-09 07:55:24 UTC
from a quick scan through the code, it looks like they loop through all the mounted filesystems and add together ( totaling ) the disk use over all your mounted filesystems: mountentries = glibtop_get_mountlist (&mountlist, FALSE); for (i = 0; i < mountlist.number; i++) { glibtop_fsusage fsusage; glibtop_get_fsusage(&fsusage, mountentries[i].mountdir); read += fsusage.read; write += fsusage.write; } where they set: guint64 read, write; Can you test this at all by generating a lot of traffic on your raided disks? Maybe glibtop_get_fsusage is not grabbing your raid and not returning the fsusage. Thanks! the problem is the RAID: when I put load on md0 and md1 (sd(a/b)1, sd(a/b)2), i can't see anything on the graph, but when i put load on sda3, which is not in a raid, it works fine. do you know where glibtop_get_mountlist is defined? I can't find it :/ yeah, its in the gtop library, libgtop. If you look in ./docs/libgtop2.info in the source, around line 1664 it shows more than enough information about how to use the method. ( or you can use info libgtop2, but thats no fun :) ) The actual method is defined in the source at ./sysdeps/common/mountlist.c at line 566, and is very short indeed :) This *should* be easy to fix if you want to put the time in to putting some debug lines in there and seeing if its even detecting the raided drives. If not, I should get around to this in the near future. Thanks! Hi all, Is this still an issue with current versions of libgtop/gnome-applets? If it is, please don't hesitate to reopen this bug. :) Thanks |