summaryrefslogtreecommitdiff
path: root/include/glibtop/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Code clean up and add example""James Dominic P. Guana2021-04-231-1/+1
| | | | This reverts commit ea08151ae6582a438db76b738293a0194c964b88.
* Revert "Code clean up and add example"Michael Catanzaro2020-11-061-1/+1
| | | | This reverts commit 7396970afe2290488fd072612a650353dd13a16d.
* Code clean up and add exampleJames Dominic P. Guana2020-11-041-1/+1
|
* Renamed procdiskio to procioRobert Roth2017-05-121-1/+1
|
* New API to retrieve process io stats, with Linux implementationRobert Roth2017-02-121-0/+1
|
* Don't ship glibtop/version.h as this is private.Benoît Dejean2015-08-231-2/+4
|
* Turn glibtop::machine from a value to a pointer, allocated on init.Benoit Dejean2015-08-081-1/+1
| | | | This hides the glibtop_machine implementation.
* New API to retrieve process CPU affinity.Benoît Dejean2008-05-241-1/+1
| | | | | | Linux implementation. svn path=/trunk/; revision=2748
* git-svn sucks. Kill r2609Benoît Dejean2007-06-251-1/+1
| | | | svn path=/trunk/; revision=2611
* New API : glibtop_get_proc_affinity.Benoît Dejean2007-06-251-1/+1
| | | | | | Implemented for linux. svn path=/trunk/; revision=2609
* Fixed dist.LIBGTOP_2_19_2Benoît Dejean2007-05-141-1/+1
| | | | | | | | | | | 2007-05-14 Benoît Dejean <benoit@placenet.org> * include/glibtop/Makefile.am: * lib/Makefile.am: Fixed dist. svn path=/trunk/; revision=2583
* Manual commit from my local git-svn which is broken :/Benoît Dejean2007-05-131-0/+1
| | | | svn path=/trunk/; revision=2578
* Got rid of InodeDB. This feature was optionnal and i have never heard ofBenoît Dejean2007-04-271-1/+1
| | | | | | | | | | 2007-04-27 Benoît Dejean <benoit@placenet.org> Got rid of InodeDB. This feature was optionnal and i have never heard of anyone using it. I have never touched it so it may be broken since 2.6. svn path=/trunk/; revision=2573
* Moved _glibtop_init_hook_[sp] declaration to private glibtop/init_hooks.h.Benoît Dejean2005-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | * configure.in: * include/glibtop/Makefile.am: * include/glibtop/glibtop-server.h: * include/glibtop/init_hooks.h: * include/glibtop/sysdeps.h: * lib/init.c: (glibtop_init_s): * lib/sysdeps.c: * sysdeps/aix/open.c: (glibtop_init_p): * sysdeps/common/sysdeps_suid.c: * sysdeps/freebsd/open.c: (glibtop_init_p): * sysdeps/osf1/open_suid.c: (glibtop_init_p): * sysdeps/solaris/open_suid.c: (glibtop_init_p): * sysdeps/stub_suid/open.c: (glibtop_init_p): Moved _glibtop_init_hook_[sp] declaration to private glibtop/init_hooks.h. Marked them const. Fixed GLIBTOP_SUID_NETLIST issues.
* 2.10.2 post release bump.Benoît Dejean2005-04-271-2/+2
| | | | | | | | * configure.in: 2.10.2 post release bump. * include/glibtop/Makefile.am: * include/glibtop/parameter.h: * lib/init.c: Re-install open.h to please GTop (libgtop perl wrapper).
* Removed some dead files. Don't install private headers.Benoît Dejean2005-02-151-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * backends/server/server.h: * configure.in: * glibtop.h: * include/glibtop/Makefile.am: * include/glibtop/gnuserv.h: * include/glibtop/open.h: * include/glibtop/read.h: * include/glibtop/read_data.h: * include/glibtop/types.h: * include/glibtop/write.h: * lib/close.c: * lib/init.c: * lib/lib.pl: * lib/open.c: * lib/parameter.c: * lib/read.c: * lib/read_data.c: * lib/write.c: * src/daemon/daemon.h: * src/daemon/io.c: * src/daemon/main.c: (handle_parent_connection): * src/daemon/slave.c: (handle_slave_connection), (handle_slave_command): * sysdeps/common/gnuslib.c: * sysdeps/solaris/glibtop_private.h: Removed some dead files. Don't install private headers.
* New feature by nick@reloco.com.ar (Nicolás Lichtmaier).Benoît Dejean2005-01-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Bumped to 2.9.0Benoît Dejean2004-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Bumped to 2.9.0 * configure.in: * examples/.cvsignore: * examples/Makefile.am: * examples/netlist.c: (main): * features.def: * include/glibtop/Makefile.am: * include/glibtop/command.h: * include/glibtop/netlist.h: * include/glibtop/sysdeps.h: * include/glibtop/union.h: * include/glibtop/version.h: * src/daemon/version.c: * sysdeps/linux/Makefile.am: * sysdeps/linux/netlist.c: (glibtop_init_netlist_s), (glibtop_get_netlist_s): * sysdeps/names/Makefile.am: * sysdeps/names/netlist.c: * sysdeps/solaris/Makefile.am: * sysdeps/solaris/netlist.c: (glibtop_init_netlist_s), (glibtop_get_netlist_s): Added new function glibtop_get_netlist(). Implemented for linux and solaris. Doc needed.
* - replace all the xmalloc crap by glib memory management functionsBastien Nocera2003-10-201-1/+1
|
* libgtop-GNOME-2-0-branch moved to HEAD.Carlos Perelló Marín2003-10-191-23/+8
| | | | | | 2003-10-19 Carlos Perelló Marín <carlos@gnome.org> * libgtop-GNOME-2-0-branch moved to HEAD.
* Typedef this as an opaque struct.Martin Baulig2001-04-201-1/+1
| | | | | | | 2001-04-20 Martin Baulig <baulig@suse.de> * include/glibtop/glibtop-server.h (glibtop_closure): Typedef this as an opaque struct.
* New file.Martin Baulig2001-04-201-1/+1
| | | | | | 2001-04-20 Martin Baulig <baulig@suse.de> * include/glibtop/closure.h: New file.
* Install errors.h.Martin Baulig2001-04-201-1/+1
|
* Removed. Split into glibtop-backend.h and glibtop-backend-info.h.Martin Baulig2000-11-261-2/+3
| | | | | | | | | | | | | | | | | 2000-11-26 Martin Baulig <martin@home-of-linux.org> * include/glibtop/backend.h: Removed. Split into glibtop-backend.h and glibtop-backend-info.h. * include/glibtop/glibtop-backend.h: New file. Switched glibtop_backend to a GObject. * include/glibtop/glibtop-backend-info.h: New file. * lib/backend.c, lib/init-backends.c, lib/open-backend.c: Removed. * lib/glibtop-backend.c: New file. * lib/glibtop-backend-info.c: New file.
* Started with the big rewrite for GNOME 2.0:Martin Baulig2000-11-201-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-20 Martin Baulig <baulig@suse.de> Started with the big rewrite for GNOME 2.0: - split the `glibtop' structure into `glibtop_server' and `glibtop_client' and make `glibtop_client' a GObject. - cleanly separate the library and the backends. This stuff currently does not compile. * glibtop.h (glibtop_server_private, glibtop_server_info): Removed typedefs. (struct _glibtop, struct _glibtop_server_info): Removed. (glibtop_global_server, glibtop_server_features): Removed. (glibtop_server_ref, glibtop_server_unref): Removed. * glibtop.h (glibtop_init_s): First argument is now a `glibtop_server *'. * include/glibtop/*.h: Removed all #defines with the glibtop_global_server. (glibtop_get_*_l): First argument is now a `glibtop_client *'. (glibtop_get_*_s, glibtop_init_*_s): First argument is now a `glibtop_server *'. * lib/glibtop-client.c: New file. * sysdeps/common/xmalloc.c: Moved to lib/. * sysdeps/common/error.c: Moved to lib/. * lib/xmalloc.c: Moved here from sysdeps/common/. * lib/error.c: Moved here from sysdeps/common/. * include/glibtop/backend.h (glibtop_backend_open_func_t, glibtop_backend_close_func_t): First argument is now a `glibtop_server *'. (glibtop_backend_info): Added `glibtop_server *server'. (glibtop_open_backend_l): Returns `glibtop_backend *', first argument is `glibtop_client *' and added `GError **'. * include/glibtop/close.h (glibtop_close_s, glibtop_close_p): First argument is now a `glibtop_server *'. * include/glibtop/error.h (*): First argument is now a `glibtop_server *'. * include/glibtop/errors.h: Switched this to use GError.
* *** empty log message ***Martin Baulig2000-04-241-1/+1
|
* Removed.Martin Baulig2000-01-021-1/+1
| | | | | | 2000-01-02 Martin Baulig <martin@home-of-linux.org> * include/glibtop/version.h: Removed.
* Disable compilation of the `daemon' directory.Martin Baulig2000-01-021-1/+1
| | | | | | | | 2000-01-02 Martin Baulig <martin@home-of-linux.org> * src/Makefile.am: Disable compilation of the `daemon' directory. * include/glibtop/command.h: Removed.
* Removed. Removed. Removed.Martin Baulig2000-01-011-3/+3
| | | | | | | | 2000-01-01 Martin Baulig <martin@home-of-linux.org> * include/glibtop/read.h: Removed. * include/glibtop/read_data.h: Removed. * include/glibtop/write.h: Removed.
* New directory. New directory. New directory.Martin Baulig2000-01-011-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-01-01 Martin Baulig <martin@home-of-linux.org> * backends/: New directory. * backends/server/: New directory. * backends/sysdeps/: New directory. * include/glibtop/backend.h: New file. * include/glibtop/call-vector.h.in: New file. Template file for `call-vector.h'. * include/glibtop/call-vector.pl: New file. Creates 'call-vector.h' from `call-vector.h.in'. * include/glibtop/errors.h (GLIBTOP_ERROR_NO_SUCH_BACKEND): New error constant. (GLIBTOP_ERROR_NOT_IMPLEMENTED): New error constant. * include/glibtop/limits.h (GLIBTOP_BACKEND_NAME_LEN): New constant. * glibtop-server-private.h (glibtop_server_private): Added `GSList *backend_list' and removed `input', `output', `socket' and `pid'. * lib/command.c: Removed. Moved to `backends/server/'. * lib/read.c: Removed. Moved to `backends/server/'. * lib/read_data.c: Removed. Moved to `backends/server/'. * lib/write.c: Removed. Moved to `backends/server/'.
* Removed all remote communication support from LibGTop.Martin Baulig1999-12-231-1/+1
| | | | | | | | | | | | | | | | | 1999-12-23 Martin Baulig <martin@home-of-linux.org> Removed all remote communication support from LibGTop. * include/glibtop/gnuserv.h: Removed. * sysdeps/common/gnuslib.c: Removed. * src/daemon/Makefile.am: Don't build the `libgtop_daemon' binary any longer. * src/daemon/server_config.pl: Removed. * src/daemon/server_config.h.in: Removed. * src/daemon/server_config.h: Removed.
* New file.Martin Baulig1999-12-191-1/+1
| | | | | | | | | | | | 1999-12-19 Martin Baulig <martin@home-of-linux.org> * include/glibtop/glib-arrays.h: New file. * lib/glib-arrays.c: New file. (glibtop_get_proclist_as_array_l): New function. (glibtop_get_proc_args_as_array_l): New function. (glibtop_get_proc_map_as_array_l): New function. (glibtop_get_mountlist_as_array_l): New function.
* New file. We define `GLIBTOP_ERROR_*' error constants here.Martin Baulig1999-12-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | 1999-12-19 Martin Baulig <martin@home-of-linux.org> * include/glibtop/errors.h: New file. We define `GLIBTOP_ERROR_*' error constants here. * lib/errors.c: New file. (glibtop_error_strings): Array of error messages. (glibtop_get_error_string_l): Get error message. * include/glibtop/parameter.h: Added `GLIBTOP_PARAM_REMOTE_USER' and `GLIBTOP_PARAM_PATH_RSH'. * lib/parameter.c (glibtop_get_parameter_l): Changed return value from `size_t' to `ssize_t' and let it return an error constant. (glibtop_get_parameter_size_l): New function. (glibtop_set_parameter_l): Changed return value from `void' to `int' and let it return an error constant on error. * structures.def (glibtop_sysdeps): Added.
* All functions which return an array now take a `glibtop_array *array'Martin Baulig1999-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-12-12 Martin Baulig <martin@home-of-linux.org> All functions which return an array now take a `glibtop_array *array' parameter instead of a `glibtop_<feature> *buf' one. For compatibility, we typedef the corresponding `glibtop_<feature>'s to `glibtop_array' in <glibtop/compat_10.h>. This has the advantage that scripting languages like Guile with an array implementation which stores the length of an array in the array don't need the `glibtop_array' parameter at all any longer. We'll also add convenient functions which return GPtrArray's here. * include/glibtop/proclist.h (glibtop_proclist): Removed. (glibtop_get_proclist_*): This now takes a `glibtop_array' parameter instead of a `glibtop_proclist' one. * include/glibtop/procmap.h (glibtop_proc_map): Removed. (glibtop_get_proc_map_*): This now takes a `glibtop_array' parameter instead of a `glibtop_proc_map' one. * include/glibtop/mountlist.h (glibtop_mountlist): Removed. (glibtop_get_mountlist_*): This now takes a `glibtop_array' parameter instead of a `glibtop_mountlist' one. * include/glibtop/interfaces.h (glibtop_interface_names): Removed. (glibtop_get_interface_names_*): This now takes a `glibtop_array' parameter instead of a `glibtop_interface_name' one. * include/glibtop/compat_10.h: New file. Contains some typedefs and #defines to keep compatibility until the big restructurement is completely done.
* Split netload into netload and netinfo.Martin Baulig1999-11-281-1/+1
| | | | | | | | | | | | | | | | 1999-11-28 Martin Baulig <martin@home-of-linux.org> Split netload into netload and netinfo. * include/glibtop/netinfo.h: New file. * include/glibtop/netload.h (glibtop_netload): Moved `if_flags', `mtu', `subnet' and `address' into the new `glibtop_netinfo'. * include/glibtop/sysdeps.h (GLIBTOP_SYSDEPS_NETINFO): Added. (glibtop_sysdeps): Added `netinfo. * include/glibtop/union.h (glibtop_union): Added `netinfo. * include/glibtop/command.h (GLIBTOP_CMND_NETINFO): Added.
* *** empty log message ***Martin Baulig1999-11-211-1/+1
|
* New file. (GLIBTOP_MAX_CPU): Define this here and increase it to 256.Martin Baulig1999-04-181-1/+2
| | | | | | | 1999-04-18 Martin Baulig <martin@home-of-linux.org> * include/glibtop/limits.h: New file. (GLIBTOP_MAX_CPU): Define this here and increase it to 256.
* Added new features to get network load:Martin Baulig1998-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | typedef struct _glibtop_netload glibtop_netload; struct _glibtop_netload { u_int64_t flags, mtu, /* GLIBTOP_NETLOAD_MTU */ address, /* GLIBTOP_NETLOAD_ADDRESS */ packets_in, /* GLIBTOP_NETLOAD_PACKETS_IN */ packets_out, /* GLIBTOP_NETLOAD_PACKETS_OUT */ bytes_in, /* GLIBTOP_NETLOAD_BYTES_IN */ bytes_out, /* GLIBTOP_NETLOAD_BYTES_OUT */ errors_in, /* GLIBTOP_NETLOAD_ERRORS_IN */ errors_out, /* GLIBTOP_NETLOAD_ERRORS_OUT */ collisions; /* GLIBTOP_NETLOAD_COLLISIONS */ }; Returns network load of the given interface, it is specified as string like `isppp' or `ippp0': extern void glibtop_get_netload_l __P((glibtop *, glibtop_netload *, const char *));
* Added new feature (proc_args) to get command line arguments:Martin Baulig1998-10-261-1/+1
| | | | | | | | | | | | | | | | typedef struct _glibtop_proc_args glibtop_proc_args; struct _glibtop_proc_args { u_int64_t flags, size; /* GLIBTOP_PROC_ARGS_SIZE */ }; Returns a string containing all command line arguments of the process, the `unsigned' parameter is the maximum length of this string; if it is zero then no limit will be set. extern const char *glibtop_get_proc_args_l __P((glibtop *, glibtop_proc_args *, pid_t, unsigned));
* Added new feature to get PPP/ISDN support:Martin Baulig1998-10-251-1/+1
| | | | | | | | | | | | | | | | | | enum { GLIBTOP_PPP_STATE_UNKNOWN = 0, GLIBTOP_PPP_STATE_HANGUP, GLIBTOP_PPP_STATE_ONLINE }; struct _glibtop_ppp { u_int64_t flags, state, /* GLIBTOP_PPP_STATE */ bytes_in, /* GLIBTOP_PPP_BYTES_IN */ bytes_out; /* GLIBTOP_PPP_BYTES_OUT */ }; Currently only implemented in the FreeBSD port with ISDN via I4B. - Martin
* New file. This is used in guname to fetch as many information about theMartin Baulig1998-09-121-1/+1
| | | | | | | | 1998-09-12 Martin Baulig <martin@home-of-linux.org> * include/glibtop/sysinfo.h: New file. This is used in guname to fetch as many information about the system as possible like detailed information about hardware etc.
* Added `offset' and `perm' fields.Martin Baulig1998-08-171-1/+2
| | | | | | | | | | | | | | 1998-08-17 Martin Baulig <martin@home-of-linux.org> * include/glibtop/procmap (glibtop_map_entry): Added `offset' and `perm' fields. * src/inodedb: New directory. * src/inodedb/README: New file - read it to know what this is about. * configure.in (--with-libgtop-inodedb): New `configure' parameter. * include/glibtop/inodedb.h: New file. * sysdeps/common/inodedb.c: New file.
* `make distcheck' cleanups - Hey, it really works, guys !Martin Baulig1998-08-161-2/+2
|
* New file. Added definition of `proc_map'.Martin Baulig1998-08-101-1/+1
| | | | | | | 1998-08-10 Martin Baulig <martin@home-of-linux.org> * include/glibtop/procmap.h (glibtop_proc_map): New file. * features.def: Added definition of `proc_map'.
* Removed `output.h'.Martin Baulig1998-08-071-1/+1
|
* Added `all_fs' parameter.Martin Baulig1998-07-241-1/+1
| | | | | | | 1998-07-24 Martin Baulig <martin@home-of-linux.org> * sysdeps/common/mountlist.c (glibtop_get_mountlist_s): Added `all_fs' parameter.
* No longer use `glibtop_machine.h' for Linux.Martin baulig1998-07-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | 1998-07-03 Martin baulig <martin@home-of-linux.org> * macros/gnome-libgtop-sysdeps.m4: No longer use `glibtop_machine.h' for Linux. * sysdeps/linux/glibtop_machine.h: Removed. * sysdeps/guile/guile.awk: Using `scm_append' instead of `gh_append'. * sysdeps/guile/names/guile-names.awk: dito. * sysdeps/linux/*.c: Using code from stable branch again. * include/glibtop/parameter.h: New file. * lib/parameter.c: New file. * lib/{open, init}.c: Done some more work on server initialization
* Added perl interface.Martin Baulig1998-06-211-1/+1
| | | | | | | | | | | | | | | | 1998-06-21 Martin Baulig <martin@home-of-linux.org> * perl/*: Added perl interface. * sysdeps/linux/cpu.c: Bug fix. * include/glibtop/global.h: Only including guile header files within libgtop. * configure.in (LIGBTOP_LIBS): Added `-lgtop'. * Makefile.am: Creating `perl/Makefile.PL' from `perl/Makefile.PL.in' and `perl/Libgtop.xs' using `perl/perl.awk'.
* new file - header file now get properly installed and go into theMartin Baulig1998-05-211-0/+8
* include/glibtop/Makefile.am: new file - header file now get properly installed and go into the distribution.