mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-09 20:40:13 -04:00
45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
$NetBSD: patch-fa,v 1.2 2004/02/04 14:25:59 markd Exp $
|
|
|
|
--- ksysguard/ksysguardd/modules.h.orig 2003-03-13 01:26:04.000000000 +1300
|
|
+++ ksysguard/ksysguardd/modules.h
|
|
@@ -56,6 +56,19 @@
|
|
#include "netdev.h"
|
|
#endif /* OSTYPE_FreeBSD */
|
|
|
|
+#ifdef OSTYPE_NetBSD
|
|
+#include "CPU.h"
|
|
+#include "Memory.h"
|
|
+#include "ProcessList.h"
|
|
+#ifdef __i386__
|
|
+#include "apm.h"
|
|
+#endif
|
|
+#include "diskstat.h"
|
|
+#include "loadavg.h"
|
|
+#include "logfile.h"
|
|
+#include "netdev.h"
|
|
+#endif /* OSTYPE_NetBSD */
|
|
+
|
|
#ifdef OSTYPE_Solaris
|
|
#include "LoadAvg.h"
|
|
#include "Memory.h"
|
|
@@ -120,6 +133,19 @@ struct SensorModul SensorModulList[] = {
|
|
{ "NetDev", initNetDev, exitNetDev, updateNetDev, checkNetDev, 0, NULLTIME },
|
|
#endif /* OSTYPE_FreeBSD */
|
|
|
|
+#ifdef OSTYPE_NetBSD
|
|
+ { "CpuInfo", initCpuInfo, exitCpuInfo, updateCpuInfo, NULLVVFUNC, 0, NULLTIME },
|
|
+ { "Memory", initMemory, exitMemory, updateMemory, NULLVVFUNC, 0, NULLTIME },
|
|
+ { "ProcessList", initProcessList, exitProcessList, updateProcessList, NULLVVFUNC, 0, NULLTIME },
|
|
+#ifdef __i386__
|
|
+ { "Apm", initApm, exitApm, updateApm, NULLVVFUNC, 0, NULLTIME },
|
|
+#endif
|
|
+ { "DiskStat", initDiskStat, exitDiskStat, updateDiskStat, checkDiskStat, 0, NULLTIME },
|
|
+ { "LoadAvg", initLoadAvg, exitLoadAvg, updateLoadAvg, NULLVVFUNC, 0, NULLTIME },
|
|
+ { "LogFile", initLogFile, exitLogFile, NULLIVFUNC, NULLVVFUNC, 0, NULLTIME },
|
|
+ { "NetDev", initNetDev, exitNetDev, updateNetDev, checkNetDev, 0, NULLTIME },
|
|
+#endif /* OSTYPE_NetBSD */
|
|
+
|
|
#ifdef OSTYPE_Solaris
|
|
{ "LoadAvg", initLoadAvg, exitLoadAvg, updateLoadAvg, NULLVVFUNC, 0, NULLTIME },
|
|
{ "Memory", initMemory, exitMemory, updateMemory, NULLVVFUNC, 0, NULLTIME },
|