diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-08-13 23:45:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-08-13 23:45:36 +0000 |
commit | 52f7619b9cbf8a23ddc0868b5c9349a25607548f (patch) | |
tree | e465c9e408516d4fde697deb2a79f6c2fbc53d51 /usr.bin/systat/systat.h | |
parent | e817f0af66db5063e74ac083da2966b4da931d6a (diff) |
there are louder and louder moans about the inability to see packet
rates at the same time as interrupt counts, so sneak them into the
bottom corner of the vmstat screen
ok dlg
Diffstat (limited to 'usr.bin/systat/systat.h')
-rw-r--r-- | usr.bin/systat/systat.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/systat/systat.h b/usr.bin/systat/systat.h index 485f4845ebf..3dbbe040caa 100644 --- a/usr.bin/systat/systat.h +++ b/usr.bin/systat/systat.h @@ -1,4 +1,4 @@ -/* $OpenBSD: systat.h,v 1.13 2009/06/19 07:48:45 jasper Exp $ */ +/* $OpenBSD: systat.h,v 1.14 2009/08/13 23:45:35 deraadt Exp $ */ /* $NetBSD: systat.h,v 1.2 1995/01/20 08:52:14 jtc Exp $ */ /*- @@ -91,3 +91,15 @@ void error(const char *fmt, ...); void nlisterr(struct nlist []); #endif + +struct ifcount { + u_int64_t ifc_ib; /* input bytes */ + u_int64_t ifc_ip; /* input packets */ + u_int64_t ifc_ie; /* input errors */ + u_int64_t ifc_ob; /* output bytes */ + u_int64_t ifc_op; /* output packets */ + u_int64_t ifc_oe; /* output errors */ + u_int64_t ifc_co; /* collisions */ + int ifc_flags; /* up / down */ + int ifc_state; /* link state */ +} sum; |