Hi,
I've been looking into libps today. One thing that confuses me is that task_basic_info.resident_size is said to be the number of resident pages of the current task. But in libps it seems to be used like it is the number of resident bytes used by the current task. I'm wondering is the comment wrong in gnumach/include/task_info.h:58 or in resident_size improperly used in libps or am I just very confused? In gnumach/include/host_info.h:63 host_basic_info.memory_size is said to be given in bytes. The conflict seems to directly arise in hurd/libps/spec.c:247 in ps_get_rmem_frac where the resident_size is divided by the memory_size to get the memory usage percent. ===== James Morrison University of Waterloo Computer Science - Digital Hardware 2A co-op http://hurd.dyndns.org Anyone referring to this as 'Open Source' shall be eaten by a GNU __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd