OpenBSD: update

* Set process data for:
    - minflt
    - majflt
    - processor
    - nlwp

* Drop unimplemented nlwp column

* Scan userland threads

* Mark a 'Thread is currently on a CPU.' with 'R', and processes
  'Currently runnable' with 'P', do confine with man:ps(1) and Linux.
  See https://man.openbsd.org/ps.1

* Show CPU frequency
This commit is contained in:
Christian Göttsche
2021-03-19 17:34:12 +01:00
parent 58ad020aca
commit e4e3f6c390
5 changed files with 60 additions and 16 deletions

View File

@ -42,6 +42,7 @@ typedef struct OpenBSDProcessList_ {
kvm_t* kd;
CPUData* cpus;
int cpuSpeed;
} OpenBSDProcessList;