NetBSD: support CPUUsage / Memory / Swap

This commit is contained in:
Carter Li
2024-10-28 15:19:05 +08:00
parent e19ed4c8f6
commit e7630aef34
3 changed files with 15 additions and 7 deletions
+4
View File
@@ -3,6 +3,10 @@
#include <sys/param.h>
#if __NetBSD__
#include <uvm/uvm_extern.h>
#endif
const char* ffDetectMemory(FFMemoryResult* ram)
{
struct uvmexp buf;