Added pagein' and pageout'.

1998-08-01  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/swap.h (glibtop_swap): Added `pagein' and `pageout'.

	* kernel/table20/table.h: Removed.
	* kernel/table21/table.h: Removed.
	* kernel/table.h: Added. Things are now binary compatible between
	both kernel versions.
This commit is contained in:
Martin Baulig
1998-08-01 22:03:11 +00:00
committed by Martin Baulig
parent fc506344ea
commit 2e454140f1
11 changed files with 59 additions and 181 deletions
+9 -4
View File
@@ -23,24 +23,29 @@
const char *glibtop_names_swap [GLIBTOP_MAX_SWAP] =
{
"total", "used", "free"
"total", "used", "free", "pagein", "pageout"
};
const unsigned glibtop_types_swap [GLIBTOP_MAX_SWAP] =
{
GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG
GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG,
GLIBTOP_TYPE_ULONG, GLIBTOP_TYPE_ULONG
};
const char *glibtop_labels_swap [GLIBTOP_MAX_SWAP] =
{
N_("Total Swap Space"),
N_("Used Swap Space"),
N_("Free Swap Space")
N_("Free Swap Space"),
N_("Page In"),
N_("Page Out"),
};
const char *glibtop_descriptions_swap [GLIBTOP_MAX_SWAP] =
{
N_("Total Swap Space"),
N_("Used Swap Space"),
N_("Free Swap Space")
N_("Free Swap Space"),
N_("Total number of swap pages that have been brought in"),
N_("Total number of swap pages that have been brought out"),
};