mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
DragonFlyBSD update
- drop unused kinfo includes and link argument - detect kvm library necessity at configure step - fix variable typo
This commit is contained in:
@ -431,7 +431,7 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) {
|
||||
}
|
||||
|
||||
proc->m_virt = kproc->kp_vm_map_size / ONE_K;
|
||||
proc->m_resident = kproc->kp_vm_rssize * pageSizeKB;
|
||||
proc->m_resident = kproc->kp_vm_rssize * pageSizeKb;
|
||||
proc->nlwp = kproc->kp_nthreads; // number of lwp thread
|
||||
proc->time = (kproc->kp_swtime + 5000) / 10000;
|
||||
|
||||
|
@ -11,8 +11,6 @@ in the source distribution for its full text.
|
||||
#include <kvm.h>
|
||||
#include <sys/param.h>
|
||||
#include <osreldate.h>
|
||||
#include <sys/kinfo.h>
|
||||
#include <kinfo.h>
|
||||
#include <sys/jail.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/resource.h>
|
||||
|
Reference in New Issue
Block a user