ZFS arcstats for Solaris

This commit is contained in:
Ross Williams
2019-07-08 02:43:39 +00:00
parent a88d2e313d
commit ff6914e4ad
5 changed files with 66 additions and 2 deletions

View File

@ -13,6 +13,8 @@ in the source distribution for its full text.
#define MAXCMDLINE 255
#include "zfs/ZfsArcStats.h"
#include <kstat.h>
#include <sys/param.h>
#include <sys/uio.h>
@ -41,6 +43,7 @@ typedef struct SolarisProcessList_ {
ProcessList super;
kstat_ctl_t* kd;
CPUData* cpus;
ZfsArcStats zfs;
} SolarisProcessList;