Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
--- freebsd/FreeBSDProcessList.c.orig 2018-04-10 13:42:59 UTC |
5 |
--- freebsd/FreeBSDProcessList.c.orig 2018-04-10 13:42:59 UTC |
6 |
+++ freebsd/FreeBSDProcessList.c |
6 |
+++ freebsd/FreeBSDProcessList.c |
7 |
@@ -296,31 +296,46 @@ static inline void FreeBSDProcessList_scanMemoryInfo(P |
7 |
@@ -28,8 +28,9 @@ in the source distribution for its full text. |
|
|
8 |
#include <sys/resource.h> |
9 |
|
10 |
#define JAIL_ERRMSGLEN 1024 |
11 |
+*/ |
12 |
char jail_errmsg[JAIL_ERRMSGLEN]; |
13 |
- |
14 |
+/* |
15 |
typedef struct CPUData_ { |
16 |
|
17 |
double userPercent; |
18 |
@@ -296,31 +297,46 @@ static inline void FreeBSDProcessList_scanMemoryInfo(P |
8 |
// |
19 |
// |
9 |
// htop_used = active + (wired - arc) |
20 |
// htop_used = active + (wired - arc) |
10 |
// htop_cache = buffers + cache + arc |
21 |
// htop_cache = buffers + cache + arc |