summaryrefslogtreecommitdiff
path: root/examples/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Code clean up and add example"Michael Catanzaro2020-11-061-3/+0
| | | | This reverts commit 7396970afe2290488fd072612a650353dd13a16d.
* Code clean up and add exampleJames Dominic P. Guana2020-11-041-0/+3
|
* New API to retrieve process io stats, with Linux implementationRobert Roth2017-02-121-1/+5
|
* Use upstream gettext intead intltool/glib-gettextJavier Jardón2016-07-121-0/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=768704
* Implement a GNU `free -m` clone.Benoît Dejean2015-07-141-3/+3
|
* examples: don't override LINK and other variablesRyan Lortie2014-02-201-6/+0
| | | | | | | | | | | Defining our own LINK causes us to run into some trouble with LDFLAGS, which commit 16bb5c8075ae3d18fa3b19fdd1b479b4cf17a96b already demonstrated. LDFLAGS does need to be included here, but it's probably even easier to just use the default value. https://bugzilla.gnome.org/show_bug.cgi?id=724195
* Fixed automake warningRobert Roth2013-08-221-2/+2
|
* Fix build issue for strict linkers.Chris Kühl2011-03-141-0/+2
| | | | Closes Bug #644599.
* New API to retrieve process CPU affinity.Benoît Dejean2008-05-241-1/+3
| | | | | | Linux implementation. svn path=/trunk/; revision=2748
* git-svn sucks. Kill r2609Benoît Dejean2007-06-251-3/+1
| | | | svn path=/trunk/; revision=2611
* New API : glibtop_get_proc_affinity.Benoît Dejean2007-06-251-1/+3
| | | | | | Implemented for linux. svn path=/trunk/; revision=2609
* Fixed wd and new simple mem example.Benoît Dejean2007-05-191-1/+8
| | | | | | | | | | | | 2007-05-19 Benoît Dejean <benoit@placenet.org> * Makefile.am: * mem.c: (main): * wd.c: (main): Fixed wd and new simple mem example. svn path=/trunk/; revision=2593
* Added quick example for glibtop_get_proclist() and updated procmap exampleBenoît Dejean2005-12-121-1/+4
| | | | | | | | | | * .cvsignore: * Makefile.am: * proclist.c: (main): * procmap.c: (main): Added quick example for glibtop_get_proclist() and updated procmap example to display smap.
* Removed static examples.Benoît Dejean2005-08-031-70/+1
| | | | | | | * configure.in: * examples/Makefile.am: Removed static examples.
* New feature by nick@reloco.com.ar (Nicolás Lichtmaier).Benoît Dejean2005-01-101-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Removed libgtop_names :)Benoît Dejean2004-12-061-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acconfig.h: * configure.in: * debian/libgtop-dev.files.in: * doc/Makefile.am: * examples/Makefile.am: * examples/third.c: * include/glibtop/cpu.h: * include/glibtop/fsusage.h: * include/glibtop/loadavg.h: * include/glibtop/mem.h: * include/glibtop/mountlist.h: * include/glibtop/msg_limits.h: * include/glibtop/netlist.h: * include/glibtop/netload.h: * include/glibtop/ppp.h: * include/glibtop/procargs.h: * include/glibtop/prockernel.h: * include/glibtop/proclist.h: * include/glibtop/procmap.h: * include/glibtop/procmem.h: * include/glibtop/procsegment.h: * include/glibtop/procsignal.h: * include/glibtop/procstate.h: * include/glibtop/proctime.h: * include/glibtop/procuid.h: * include/glibtop/sem_limits.h: * include/glibtop/shm_limits.h: * include/glibtop/swap.h: * include/glibtop/sysdeps.h: * include/glibtop/uptime.h: * po/POTFILES.in: * sysdeps/Makefile.am: * sysdeps/names/.cvsignore: * sysdeps/names/Makefile.am: * sysdeps/names/cpu.c: * sysdeps/names/fsusage.c: * sysdeps/names/loadavg.c: * sysdeps/names/mem.c: * sysdeps/names/mountlist.c: * sysdeps/names/msg_limits.c: * sysdeps/names/netlist.c: * sysdeps/names/netload.c: * sysdeps/names/ppp.c: * sysdeps/names/procargs.c: * sysdeps/names/prockernel.c: * sysdeps/names/proclist.c: * sysdeps/names/procmap.c: * sysdeps/names/procmem.c: * sysdeps/names/procsegment.c: * sysdeps/names/procsignal.c: * sysdeps/names/procstate.c: * sysdeps/names/proctime.c: * sysdeps/names/procuid.c: * sysdeps/names/sem_limits.c: * sysdeps/names/shm_limits.c: * sysdeps/names/swap.c: * sysdeps/names/sysdeps.c: * sysdeps/names/uptime.c: Removed libgtop_names :)
* Bumped to 2.9.0Benoît Dejean2004-11-131-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* ../configure.in Added new example, just like 'df'.Benoît Dejean2004-09-241-2/+11
| | | | | | | * .cvsignore: * Makefile.am: * ../configure.in * df.c: (print_fsusage), (main): Added new example, just like 'df'.
* Added new example : pretty prints the result of glibtop_*. Work inBenoît Dejean2004-09-201-2/+18
| | | | | | | | | | | | | * .cvsignore: * Makefile.am: * pprint.c: (pprint_get_cpu), (pprint_get_fsusage), (pprint_get_loadavg), (pprint_get_mem), (pprint_get_mountlist), (pprint_get_msg_limits), (main): Added new example : pretty prints the result of glibtop_*. Work in progress. Now builds procargs. * ../configure.in: Added to static list.
* Added -gnu89 to CFLAGS.Benoît Dejean2004-08-091-2/+2
| | | | | | | | | | | | | * configure.in: Added -gnu89 to CFLAGS. * examples/Makefile.am: Fixed LDFLAGS. * sysdeps/common/fsusage.c: (glibtop_get_fsusage_s): * sysdeps/linux/fsusage.c: (linux_2_6_0): * sysdeps/linux/proctime.c: (glibtop_get_proc_time_s): * sysdeps/linux/sysinfo.c: (init_sysinfo): Fixed C89 issues. Closes #149375.
* install only one library, libgtop-2.0 Fix build-time warnings due to theBastien Nocera2003-10-211-32/+9
| | | | | | | | | | | 2003-10-21 Bastien Nocera <hadess@hadess.net> * Makefile.am: * configure.in: * src/inodedb/.cvsignore: * sysdeps/names/Makefile.am: install only one library, libgtop-2.0 Fix build-time warnings due to the redefinition of guint64
* removed traces of guile, intllibs and libgnomesupportBastien Nocera2003-10-201-23/+11
| | | | | | | | | | | 2003-10-20 Bastien Nocera <hadess@hadess.net> * lib/Makefile.am: * libgtop-config.in: * libgtop.spec.in: * libgtopConf.sh.in: * src/inodedb/Makefile.am: removed traces of guile, intllibs and libgnomesupport
* Reverted libgtop changes. It's a common module and I should not modify it.Carlos Perelló Marín2003-10-191-0/+121
| | | | | | | | 2003-10-19 Carlos Perelló Marín <carlos@gnome.org> * support/*: Reverted libgtop changes. It's a common module and I should not modify it. * Added/removed files. Now the move should be done.
* The LibGTop examples have been moved into their own top-level moduleMartin Baulig1999-10-241-121/+0
| | | | | | | | | | | | 1999-10-24 Martin Baulig <martin@home-of-linux.org> The LibGTop examples have been moved into their own top-level module libgtop-examples. * examples/*: Removed. * configure.in: Removed all checks for the examples. * libgtop-sysdeps.m4: Removed --with-libgtop-examples parameter. * Makefile.am: Removed examples from the subdir list.
* New example.Martin Baulig1999-03-241-2/+13
| | | | | | 1999-03-24 Martin Baulig <martin@home-of-linux.org> * timings.c: New example.
* Sometimes @LIBSUPPORT@ references symbols from @INTLLIBS@ so we needMartin Baulig1999-02-191-8/+8
| | | | to put @INTLLIBS@ last.
* Initialize INCLUDES to `@INCLUDES@' to make it clear that it is set inMartin Baulig1999-02-161-0/+2
| | | | | | | | | | | | | | 1999-02-16 Martin Baulig <martin@home-of-linux.org> * examples/Makefile.am, lib/Makefile.am, src/daemon/Makefile.am, sysdeps/common/Makefile.am, sysdeps/guile/Makefile.am, sysdeps/guile/names/Makefile.am, sysdeps/kernel/Makefile.am, sysdeps/linux/Makefile.am, sysdeps/names/Makefile.am, sysdeps/osf1/Makefile.am, sysdeps/stub/Makefile.am, sysdeps/stub_suid/Makefile.am, sysdeps/sun4/Makefile.am: Initialize INCLUDES to `@INCLUDES@' to make it clear that it is set in configure.in. It is ok to add things there, but you must not remove the `@INCLUDES@'.
* Fix a really bad thing from Jeff Garzik; don't override INCLUDES inMartin Baulig1999-02-151-2/+0
| | | | any Makefile.am, but it configure.in.
* Removed hardcoded gcc arguments. Converted remaining CFLAGS settings toJeff Garzik1999-02-151-1/+1
| | | | | | | | | | | | | | | | | 1999-02-15 Jeff Garzik <jgarzik@pobox.com> * examples/Makefile.am, lib/Makefile.am, src/daemon/Makefile.am, sysdeps/common/Makefile.am, sysdeps/guile/Makefile.am, sysdeps/guile/names/Makefile.am, sysdeps/kernel/Makefile.am, sysdeps/linux/Makefile.am, sysdeps/names/Makefile.am, sysdeps/osf1/Makefile.am, sysdeps/stub/Makefile.am, sysdeps/stub_suid/Makefile.am, sysdeps/sun4/Makefile.am: Removed hardcoded gcc arguments. Converted remaining CFLAGS settings to use correct INCLUDES. * include/glibtop/error.h: Added FIXME comment about varargs macros breaking Sun cc compilation.
* New example.Martin Baulig1998-11-021-4/+11
| | | | | | 1998-11-02 Martin Baulig <martin@home-of-linux.org> * sysdeps.c: New example.
* Added new features to get network load:Martin Baulig1998-10-261-2/+15
| | | | | | | | | | | | | | | | | | | | | | | 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 *));
* Removed @libs_xauth@ and -lgdbm from the _LDADD variables since libtoolMartin Baulig1998-10-101-7/+6
| | | | | | | | | | 1998-10-11 Martin Baulig <martin@home-of-linux.org> * src/inodedb/Makefile.am: Removed @libs_xauth@ and -lgdbm from the _LDADD variables since libtool automatically gets the dependencies. * src/daemon/Makefile.am: Likewise. * examples/Makefile.am: Likewise.
* Install everything in $(libexecdir)/libgtop.Martin Baulig1998-09-281-1/+3
| | | | | | 1998-09-28 Martin Baulig <martin@home-of-linux.org> * Makefile.am: Install everything in $(libexecdir)/libgtop.
* Applied patch from Alexander Jolk to make it work with --disable-static.Martin Baulig1998-09-281-4/+6
|
* New file. Nice tool to show CPU statistics on SMP systems.Martin Baulig1998-09-091-2/+13
| | | | | | 1998-09-09 Martin Baulig <baulig@Stud.Informatik.uni-trier.de> * smp.c: New file. Nice tool to show CPU statistics on SMP systems.
* Installing examples in `$(libexecdir)'.Martin Baulig1998-08-191-1/+4
|
* Added `LIBGTOP_MICRO_VERSION'. Likewise.Martin Baulig1998-08-181-5/+6
| | | | | | | | | 1998-08-18 Martin Baulig <martin@home-of-linux.org> * LIBGTOP-VERSION: Added `LIBGTOP_MICRO_VERSION'. * libgtopConf.sh.in: Likewise. * libgtopConf.sh.in: Added `LIBGTOP_EXTRA_LIBS'.
* New file. Added definition of `proc_map'.Martin Baulig1998-08-101-0/+13
| | | | | | | 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'.
* New file.Martin Baulig1998-07-291-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* New file.Martin Baulig1998-07-221-0/+12
| | | | | | 1998-07-22 Martin Baulig <martin@home-of-linux.org> * mountlist.c: New file.
* Did some more work on the daemon.Martin Baulig1998-06-141-4/+4
|
* New file. Imported from xemacs 20.3.Martin Baulig1998-06-141-3/+3
| | | | | | | | | | | | | | | | | 1998-06-14 Martin Baulig <martin@home-of-linux.org> * include/glibtop/gnuserv.h: New file. Imported from xemacs 20.3. * sysdeps/common/gnuslib.c: New file. Imported from xemacs 20.3 * lib/gnuclient.c: New file. Imported from xemacs 20.3 * sysdeps/daemon/gnuserv.c: New file. Imported from xemacs 20.3 * sysdeps/daemon: New directory. * configure.in (LIBGTOP_LIBS, LIBGTOP_GUILE_LIBS): Added `$X_LIBS -lXau' when we have xauth.
* Disable optimize.Martin Baulig1998-06-071-1/+1
| | | | | | | | | | 1998-06-07 Martin Baulig <martin@home-of-linux.org> * Makefile.am (CFLAGS): Disable optimize. * first.c (PROFILE_COUNT): Number of times each function should be called. Defaults to 1; to profile the code, you can increase this when compiling.
* now using 'glibtop_init' instead of 'glibtop_init__r'.Martin Baulig1998-06-011-3/+3
| | | | | * examples/{first.c, second.c}: now using 'glibtop_init' instead of 'glibtop_init__r'.
* always use `-I$(top_srcdir)/sysdeps/@sysdeps_dir@'; it's no longerMartin Baulig1998-05-281-23/+5
| | | | | | | | | | | | * configure.in (@machine_incs@): always use `-I$(top_srcdir)/sysdeps/@sysdeps_dir@'; it's no longer conditional. * examples/Makefile.am: removed the '_linux' examples. * src/server/main.c: we now use the '__p' functions, but only if the appropriate 'GLIBTOP_SUID_<feature>' has a non-zero value.
* removed -I$(includedir).Martin Baulig1998-05-231-1/+1
| | | | * */Makefile.am (INCLUDES): removed -I$(includedir).
* INCLUDES no longer uses @GTOP_INCS@ which now points to where theMartin Baulig1998-05-211-1/+3
| | | | | | stuff gets installed and now longer to the build directories. Added '-D_GNU_SOURCE' to INCLUDES.
* added required check for 'GLIBGTOP_GUILE_NAMES'.Martin Baulig1998-05-201-4/+7
| | | | | * examples/third.c: added required check for 'GLIBGTOP_GUILE_NAMES'.
* Initial revisionMartin Baulig1998-05-191-0/+66