From beb68e2fc4061623d644ec23473cf4d3719b645a Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Tue, 2 Jun 1998 16:12:28 +0000 Subject: [PATCH] new command to get glibtop_server_features. * src/server/main.c (GLIBTOP_CMND_SYSDEPS): new command to get glibtop_server_features. --- src/server/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/server/main.c b/src/server/main.c index 11b67326..fd47da50 100644 --- a/src/server/main.c +++ b/src/server/main.c @@ -140,6 +140,11 @@ int main(int argc, char *argv[]) } switch (cmnd.command) { + case GLIBTOP_CMND_SYSDEPS: + sysdeps.features = GLIBTOP_SYSDEPS_ALL; + glibtop_output (sizeof (glibtop_sysdeps), &sysdeps); + glibtop_output (0, NULL); + break; case GLIBTOP_CMND_CPU: #if GLIBTOP_SUID_CPU glibtop_get_cpu__p (&server, &data.cpu);