mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 04:34:35 +03:00
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:
@ -115,4 +115,8 @@ Process* ProcessList_getProcess(ProcessList* this, pid_t pid, bool* preExisting,
|
||||
|
||||
void ProcessList_scan(ProcessList* this, bool pauseProcessUpdate);
|
||||
|
||||
static inline Process* ProcessList_findProcess(ProcessList* this, pid_t pid) {
|
||||
return (Process*) Hashtable_get(this->processTable, pid);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user