New file.

1998-07-22  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/fsusage.h: New file.

	* features.def: Added new feature `fsusage'.

	* sysdeps/common/fsusage.c (glibtop_get_fsusage_s): New function.
	(get_fs_usage): Declared as `static'.

	* sysdeps/names/fsusage.c: New file.
This commit is contained in:
Martin Baulig
1998-07-22 22:56:09 +00:00
committed by Martin Baulig
parent a90bffbbf6
commit 954a78f200
15 changed files with 234 additions and 19 deletions

View File

@@ -45,8 +45,9 @@ __BEGIN_DECLS
#define GLIBTOP_SYSDEPS_PROC_KERNEL 15
#define GLIBTOP_SYSDEPS_PROC_SEGMENT 16
#define GLIBTOP_SYSDEPS_MOUNTLIST 17
#define GLIBTOP_SYSDEPS_FSUSAGE 18
#define GLIBTOP_MAX_SYSDEPS 18
#define GLIBTOP_MAX_SYSDEPS 19
#define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1)
@@ -72,7 +73,8 @@ struct _glibtop_sysdeps
proc_signal, /* glibtop_proc_signal */
proc_kernel, /* glibtop_proc_kernel */
proc_segment, /* glibtop_proc_segment */
mountlist; /* glibtop_mountlist */
mountlist, /* glibtop_mountlist */
fsusage; /* glibtop_fsusage */
};
#define glibtop_get_sysdeps(sysdeps) glibtop_get_sysdeps_r(glibtop_global_server,sysdeps)