15a3a67ede
+ in /proc/<pid>/statm emulation, use the memory values from vmspace, rather than struct rusage, since the rusage values appear to be 0 for all processes except zombies. cf dsl's comment in kvm_proc.c::kvm_getproc2() + in /proc/<pid>/stat, instead of returning the tv_sec value, return the number of ticks we've had (roughly equivalent to the Linux jiffies). Calculate these values from the tv_usec values. Also: + enclose CPU_INFO_ITERATOR and CPU_INFO_FOREACH usage in #ifdef MULTIPROCESSOR, at the request of Nick Hudson Together, these changes allow htop to work on NetBSD. |
||
---|---|---|
.. | ||
Makefile | ||
files.procfs | ||
procfs.h | ||
procfs_cmdline.c | ||
procfs_ctl.c | ||
procfs_fd.c | ||
procfs_fpregs.c | ||
procfs_linux.c | ||
procfs_map.c | ||
procfs_mem.c | ||
procfs_note.c | ||
procfs_regs.c | ||
procfs_status.c | ||
procfs_subr.c | ||
procfs_vfsops.c | ||
procfs_vnops.c |