diff options
author | Martin Baulig <martin@home-of-linux.org> | 1998-07-29 22:01:31 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-07-29 22:01:31 +0000 |
commit | f07551a43d80850a44c683cf620f2061f0bd14b2 (patch) | |
tree | ebdb05477d82ad2b429b6754be96164ea154a999 /features.def | |
parent | 37eb76e767d4c960b0e295647192c7fa9ce274d5 (diff) | |
download | libgtop-f07551a43d80850a44c683cf620f2061f0bd14b2.tar.gz |
New file.
1998-07-29 Martin Baulig <martin@home-of-linux.org>
* guile/ChangeLog: New file.
* features.def: New format - now includes type of return value
and parameters.
* lib/lib.awk: Changed to use new `features.def'.
* sysdeps/guile/guile.awk: Dito;
* sysdeps/guile/names/guile-names.awk: Dito.
* libgtopConf.sh.in: Added
`LIBGTOP_NAMES_LIBS', `LIBGTOP_NAMES_INCS',
`LIBGTOP_GUILE_NAMES_LIBS', `LIBGTOP_GUILE_NAMES_INCS',
`LIBGTOP_MAJOR_VERSION', `LIBGTOP_MINOR_VERSION'
`LIBGTOP_VERSION', `libgtop_sysdeps_dir'.
* acinclude.m4 (AC_LC_SYSDEPS): Removed since this has been
replaced with `GNOME_LIBGTOP_SYSDEPS' long ago.
* LIBGTOP-VERSION: New file.
* */Makefile.am (INCLUDES): Removed; now defined in `configure.in'.
* sysdeps/names/mountlist.c: New file.
* lib/{init, open}.c (GTOP_SERVER): Renamed to `LIBGTOP_SERVER'.
* configure.in (INCLUDES): Added definition.
(libgtop_want_names): Always true; `libgtop_names.la' is now
always created since some other programs rely upon it - but
have to use `LIBGTOP_NAMES_LIBS' and `LIBGTOP_NAMES_INCS' to
use it in your application.
(libgtop_want_guile_names): Always true; but you have to use
`LIBGTOP_GUILE_NAMES_LIBS' and `LIBGTOP_GUILE_NAMES_INCS' to
use it in your application.
(LIBGTOP_LIBS): Removed `-lgtop_names' and `-lgtop_guile_names'.
(LIBGTOP_NAMES_LIBS): New variable. Use it to link your
application with the names interface.
(LIBGTOP_NAMES_INCS): New variable. Also #defines `GLIBTOP_NAMES'
which is now required if your application wants to use the names
interface.
(LIBGTOP_GUILE_NAMES_LIBS): New variable. Use it to link your
application with the guile names interface.
(LIBGTOP_GUILE_NAMES_INCS): New variable. Also #defines
`GLIBTOP_NAMES' and `GLIBTOP_GUILE_NAMES' which are now required
if your application wants to use the guile names interface.
Diffstat (limited to 'features.def')
-rw-r--r-- | features.def | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/features.def b/features.def index 91d922f8..a941f887 100644 --- a/features.def +++ b/features.def @@ -1,18 +1,18 @@ -cpu ulong(total,user,nice,sys,idle,frequency) -mem ulong(total,used,free,shared,buffer,cached,user,locked) -swap ulong(total,used,free) -uptime double(uptime,idletime) -loadavg double(loadavg[0],loadavg[1],loadavg[2]) -shm_limits ulong(shmmax,shmmin,shmmni,shmseg,shmall) -msg_limits ulong(msgpool,msgmap,msgmax,msgmnb,msgmni,msgssz,msgtql) -sem_limits ulong(semmap,semmni,semmns,semmnu,semmsl,semopm,semume,semusz,semvmx,semaem) -proclist ulong(number,size,total) -proc_state str(cmd):char(state):ulong(uid,gid) -proc_uid long(uid,euid,gid,egid,pid,ppid,pgrp,session,tty,tpgid,priority,nice) -proc_mem long(size,vsize,resident,share,rss,rss_rlim) -proc_time long(start_time,utime,stime,cutime,cstime,timeout,it_real_value) -proc_signal ulong(signal,blocked,sigignore,sigcatch) -proc_kernel ulong(k_flags,min_flt,maj_flt,cmin_flt,cmaj_flt,kstk_esp,kstk_eip,wchan) -proc_segment long(trs,lrs,drs,dt):ulong(start_code,end_code,start_stack) -@mountlist ulong(number,size,total) -fsusage ulong(blocks,bfree,bavail,files,ffree) +void|cpu|ulong(total,user,nice,sys,idle,frequency) +void|mem|ulong(total,used,free,shared,buffer,cached,user,locked) +void|swap|ulong(total,used,free) +void|uptime|double(uptime,idletime) +void|loadavg|double(loadavg[0],loadavg[1],loadavg[2]) +void|shm_limits|ulong(shmmax,shmmin,shmmni,shmseg,shmall) +void|msg_limits|ulong(msgpool,msgmap,msgmax,msgmnb,msgmni,msgssz,msgtql) +void|sem_limits|ulong(semmap,semmni,semmns,semmnu,semmsl,semopm,semume,semusz,semvmx,semaem) +unsigned *|proclist|ulong(number,size,total) +void|proc_state|str(cmd):char(state):ulong(uid,gid)|pid_t|pid +void|proc_uid|long(uid,euid,gid,egid,pid,ppid,pgrp,session,tty,tpgid,priority,nice)|pid_t|pid +void|proc_mem|long(size,vsize,resident,share,rss,rss_rlim)|pid_t|pid +void|proc_time|long(start_time,utime,stime,cutime,cstime,timeout,it_real_value)|pid_t|pid +void|proc_signal|ulong(signal,blocked,sigignore,sigcatch)|pid_t|pid +void|proc_kernel|ulong(k_flags,min_flt,maj_flt,cmin_flt,cmaj_flt,kstk_esp,kstk_eip,wchan)|pid_t|pid +void|proc_segment|long(trs,lrs,drs,dt):ulong(start_code,end_code,start_stack)|pid_t|pid +glibtop_mountentry *|@mountlist|ulong(number,size,total)|int|all_fs +void|@fsusage|ulong(blocks,bfree,bavail,files,ffree)|const char *|mount_dir|strlen (mount_dir) + 1 |