summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1998-06-02 16:12:28 +0000
committerMartin Baulig <martin@src.gnome.org>1998-06-02 16:12:28 +0000
commitbeb68e2fc4061623d644ec23473cf4d3719b645a (patch)
treee45c8884103879f7af56eaa2c23795b4f9b8fc77 /src
parentb4a16ccd89ababdd42d9a25109d3b1136e040e36 (diff)
downloadlibgtop-beb68e2fc4061623d644ec23473cf4d3719b645a.tar.gz
new command to get glibtop_server_features.
* src/server/main.c (GLIBTOP_CMND_SYSDEPS): new command to get glibtop_server_features.
Diffstat (limited to 'src')
-rw-r--r--src/server/main.c5
1 files changed, 5 insertions, 0 deletions
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);