summaryrefslogtreecommitdiff
path: root/structures.def
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2005-01-10 08:43:04 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2005-01-10 08:43:04 +0000
commit7ca4171652dff239b35b1959bb7a32a2d066dca8 (patch)
tree5bf03f60ca927540b061a57885d85300bf250109 /structures.def
parent1537eea7e5abfff849d1b239c15446699668811b (diff)
downloadlibgtop-7ca4171652dff239b35b1959bb7a32a2d066dca8.tar.gz
New feature by nick@reloco.com.ar (Nicolás Lichtmaier).
* configure.in: * examples/.cvsignore: * examples/Makefile.am: * examples/openfiles.c: (show_open_files), (main): * features.def: * include/glibtop/Makefile.am: * include/glibtop/command.h: * include/glibtop/procopenfiles.h: * include/glibtop/sysdeps.h: * include/glibtop/union.h: * structures.def: * sysdeps/linux/Makefile.am: * sysdeps/linux/procopenfiles.c: (glibtop_init_proc_open_files_s), (get_socket_endpoint), (glibtop_get_proc_open_files_s): * sysdeps/stub/Makefile.am: * sysdeps/stub/procopenfiles.c: (glibtop_init_proc_open_files_s), (glibtop_get_proc_open_files_s): New feature by nick@reloco.com.ar (Nicolás Lichtmaier). glibtop_get_open_files(pid) -> list of files by process. TODO: Add documentation.
Diffstat (limited to 'structures.def')
-rw-r--r--structures.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/structures.def b/structures.def
index ca8cecf1..0f2440f9 100644
--- a/structures.def
+++ b/structures.def
@@ -1,4 +1,5 @@
glibtop_map_entry|ulong(flags,start,end,offset,perm,inode,device):string(filename)
+glibtop_open_file_entry|ulong(flags,fd,type,dest_port):string(filename,dest_host)
glibtop_mountentry|ulong(dev):string(devname,mountdir,type)
glibtop_sysdeps|ulong(features,pointer_size,cpu,mem,swap,uptime,loadavg,shm_limits,msg_limits,sem_limits,proclist,proc_state,proc_uid,proc_mem,proc_time,proc_signal,proc_kernel,proc_segment,proc_args,proc_map,mountlist,fsusage,interface_names,netlist,netload,ppp)