diff options
author | Martin Baulig <martin@home-of-linux.org> | 1998-07-14 23:30:36 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-07-14 23:30:36 +0000 |
commit | 5f4131f248253a7cd10b0bbcf4d49c79f4fd38a5 (patch) | |
tree | 600f5f3ec71f20669fb38d42e30b04bf5169d7ac /sysdeps/sun4/open.c | |
parent | 4bfef8c2544392ab9471d36b2f4bb23fc0660b83 (diff) | |
download | libgtop-5f4131f248253a7cd10b0bbcf4d49c79f4fd38a5.tar.gz |
New file. Imported from top 3.4.
1998-07-15 Martin Baulig <martin@home-of-linux.org>
* sysdeps/sun4/loadavg.h: New file. Imported from top 3.4.
* sysdeps/sun4/uptime.c (glibtop_get_uptime_p): Added
implementation of that function using glibtop_get_cpu ().
* sysdeps/sun4/loadavg.c (glibtop_get_loadavg_p): Added
implementation of that feature.
* sysdeps/sun4/{shm_limits.c, msg_limits.c, shm_limits.c}:
Added implementation of this features.
Diffstat (limited to 'sysdeps/sun4/open.c')
-rw-r--r-- | sysdeps/sun4/open.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/sun4/open.c b/sysdeps/sun4/open.c index 7f68913c..60f3c64b 100644 --- a/sysdeps/sun4/open.c +++ b/sysdeps/sun4/open.c @@ -34,6 +34,9 @@ struct nlist _glibtop_nlist[] = { { "cp_time" }, /* 6 */ { "pages" }, /* 7 */ { "epages" }, /* 8 */ + { "shminfo" }, /* 9 */ + { "msginfo" }, /* 10 */ + { "seminfo" }, /* 11 */ #else { "_avenrun" }, /* 0 */ { "_ccpu" }, /* 1 */ @@ -44,6 +47,9 @@ struct nlist _glibtop_nlist[] = { { "_cp_time" }, /* 6 */ { "_pages" }, /* 7 */ { "_epages" }, /* 8 */ + { "_shminfo" }, /* 9 */ + { "_msginfo" }, /* 10 */ + { "_seminfo" }, /* 11 */ #ifdef MULTIPROCESSOR { "_ncpu" }, { "_mp_time" }, |