new command to get glibtop_server_features.

* src/server/main.c (GLIBTOP_CMND_SYSDEPS): new
command to get glibtop_server_features.
This commit is contained in:
Martin Baulig
1998-06-02 16:12:28 +00:00
parent b4a16ccd89
commit beb68e2fc4

View File

@@ -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);