Hi again On Sun, 10 May 2009 10:16:34 +0300, "Eugene V. Lyubimkin" <[email protected]> wrote: > Ok, I understood. Still works for me, but doesn't work for you. I just > forwarded your report upstream.
I remember to check what htop is checking in /proc and have done
a strace -efile -p `pidof htop` and found this:
open("/proc/2821/task/2821/io", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/proc/2821/task/2821/statm", O_RDONLY) = 5
open("/proc/2821/task/2821/stat", O_RDONLY) = 5
open("/proc/5077/task", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
open("/proc/5077/task/5077/io", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/proc/5077/task/5077", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/proc/5077/task/5077/statm", O_RDONLY) = 5
open("/proc/7185/task", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
open("/proc/7185/task/7185/io", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat("/proc/7185/task/7185", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/proc/7185/task/7185/statm", O_RDONLY) = 5
htop is checking the /proc/*/task/*/io instead of /proc/*/io.
the later exists, the former doesnt
a little more researching and i found that another system i have
(slackware) do have both /proc/*/task/*/io and /proc/*/io and that
htop works there
so the problem is that my system isnt setting up the /proc entries
correctly... i will try to find out more tomorrow
Thanks
higuita
--
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger. It works the same in every country.
-- Hermann Goering, Nazi and war criminal, 1883-1946
signature.asc
Description: PGP signature

