[BACK]Return to machine.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / top

Diff for /src/usr.bin/top/machine.c between version 1.106 and 1.107

version 1.106, 2020/06/26 20:55:55 version 1.107, 2020/07/06 16:27:59
Line 314 
Line 314 
 getprocs(int op, int arg, int *cnt)  getprocs(int op, int arg, int *cnt)
 {  {
         size_t size;          size_t size;
         int mib[6] = {CTL_KERN, KERN_PROC, 0, 0, sizeof(struct kinfo_proc), 0};          int mib[6] = {CTL_KERN, KERN_PROC, KERN_PROC_ALL, 0,
               sizeof(struct kinfo_proc), 0};
         static int maxslp_mib[] = {CTL_VM, VM_MAXSLP};          static int maxslp_mib[] = {CTL_VM, VM_MAXSLP};
         static struct kinfo_proc *procbase;          static struct kinfo_proc *procbase;
         int st;          int st;

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.107