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.
This commit is contained in:
committed by
Martin Baulig
parent
4bfef8c254
commit
5f4131f248
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user