summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Got rid of InodeDB. This feature was optionnal and i have never heard ofBenoît Dejean2007-04-271-16/+0
| | | | | | | | | | 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
* Removed noisy $Id$.Benoît Dejean2007-02-198-16/+0
| | | | | | | | | | 2007-02-20 Benoît Dejean <benoit@placenet.org> * *: Removed noisy $Id$. svn path=/trunk/; revision=2558
* Bumped version number to 2.14.6.Benoît Dejean2007-01-111-27/+0
| | | | | | | | | | | | | | 2007-01-11 Benoît Dejean <benoit@placenet.org> * configure.in: Bumped version number to 2.14.6. * *: Got rid of CVS admin files. svn path=/trunk/; revision=2545
* Added proc_mem example.Benoît Dejean2006-02-272-0/+25
| | | | | | * pprint.c: (pprint_get_proc_mem), (main): Added proc_mem example.
* Improved example.Benoît Dejean2005-12-152-3/+24
| | | | | | * proclist.c: (print_pids), (main): Improved example.
* Added quick example for glibtop_get_proclist() and updated procmap exampleBenoît Dejean2005-12-125-1/+55
| | | | | | | | | | * .cvsignore: * Makefile.am: * proclist.c: (main): * procmap.c: (main): Added quick example for glibtop_get_proclist() and updated procmap example to display smap.
* remove unused file.James Henstridge2005-12-1212-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-12 James Henstridge <james@jamesh.id.au> * doc/auto-macros.texi.in: remove unused file. * doc/libgtop2.texi: don't include auto-macros.texi. * doc/Makefile.am: don't build auto-macros.texi, since none of its macros are used in the documentation any more. * include/glibtop/global.h: don't include <config.h> from headers. * .../*.c: make sure <config.h> is the first thing included. * acinclude.m4: m4_include() libgtop-sysdeps.m4 rather than inlining it. * acinclude.m4, libgtop-sysdeps.m4: use third argument to AC_DEFINE() to set the comment. * configure.in: modernise a bit. * acconfig.h: remove file, since it is deprecated * autogen.sh: require automake 1.9 instead of 1.4.
* Removed static examples.Benoît Dejean2005-08-031-70/+1
| | | | | | | * configure.in: * examples/Makefile.am: Removed static examples.
* Added pprint_get_proc_kernel(pid).Benoît Dejean2005-08-022-7/+37
| | | | Fixed prototypes.
* Removed translation.Benoît Dejean2005-06-061-16/+10
| | | | | | | | | | * examples/smp.c: (main): Removed translation. * lib/lib.pl: * lib/read.c: * lib/read_data.c: * lib/write.c: * src/daemon/gnuserv.c: s/gi18n.h/gi18n-lib.h.
* Got rid of include/libgtop-i18n.h.Benoît Dejean2005-06-061-1/+1
| | | | | | | | | | | * examples/smp.c: * include/Makefile.am: * include/libgtop-i18n.h: * lib/lib.pl: * lib/read.c: * lib/read_data.c: * lib/write.c: * src/daemon/gnuserv.c: Got rid of include/libgtop-i18n.h.
* Updated.Benoît Dejean2005-01-212-1/+5
| | | | * openfiles.c: (show_open_files): Updated.
* New feature by nick@reloco.com.ar (Nicolás Lichtmaier).Benoît Dejean2005-01-103-2/+76
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Added I/O and IRQ wait time to glibtop_cpu. Closes #160443.Benoît Dejean2005-01-031-0/+6
| | | | | | | | | | * examples/pprint.c: (pprint_get_cpu): * features.def: * include/glibtop/cpu.h: * sysdeps/linux/cpu.c: (glibtop_init_cpu_s), (glibtop_get_cpu_s): Added I/O and IRQ wait time to glibtop_cpu. Closes #160443. * configure.in: Post-release bump 2.9.4
* s/glibtop_error/g_error/gBenoît Dejean2004-12-233-2/+7
| | | | | * netload.c: (main): * procmap.c: (main): s/glibtop_error/g_error/g
* Removed libgtop_names :)Benoît Dejean2004-12-062-69/+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 :)
* Updated.Benoît Dejean2004-11-152-30/+68
| | | | * netload.c: (hwaddress_format_for_display), (main): Updated.
* Updated.Benoît Dejean2004-11-132-5/+39
| | | | | * pprint.c: (pprint_get_fsusage), (pprint_get_mountlist), (pprint_get_netload), (pprint_get_netlist), (main): Updated.
* Bumped to 2.9.0Benoît Dejean2004-11-133-2/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Re-added pprint_get_msg_limits()Benoît Dejean2004-09-252-1/+5
| | | | * pprint.c: (main): Re-added pprint_get_msg_limits()
* Added missing call to glibgtop_init() / glibtop_close()Benoît Dejean2004-09-254-1/+7
| | | | | | * df.c: (main): * pprint.c: (main): * procargs.c: (main): Added missing call to glibgtop_init() / glibtop_close()
* Added missing call to libgtop_init();Benoît Dejean2004-09-254-0/+12
| | | | | | * df.c: (main): * pprint.c: (main): * procargs.c: (main): Added missing call to libgtop_init();
* ../configure.in Added new example, just like 'df'.Benoît Dejean2004-09-244-2/+66
| | | | | | | * .cvsignore: * Makefile.am: * ../configure.in * df.c: (print_fsusage), (main): Added new example, just like 'df'.
* Disable pprint_get_msg_limits() because it can fail.Benoît Dejean2004-09-222-1/+5
| | | | * pprint.c: (main): Disable pprint_get_msg_limits() because it can fail.
* Updated.Benoît Dejean2004-09-212-1/+25
| | | | * pprint.c: (pprint_get_swap), (main): Updated.
* Updated.Benoît Dejean2004-09-212-4/+10
| | | | * procargs.c: (show_args), (main): Updated.
* Updated.Benoît Dejean2004-09-212-7/+42
| | | | | * pprint.c: (pprint_get_mountlist), (pprint_get_netload), (pprint_get_uptime), (main): Updated.
* Updated.Benoît Dejean2004-09-202-1/+5
| | | | * pprint.c: (pprint_get_mountlist): Updated.
* Updated.Benoît Dejean2004-09-202-1/+5
| | | | * procargs.c: (show_args), (main): Updated.
* Updated.Benoît Dejean2004-09-201-0/+2
| | | | * procargs.c: (show_args), (main): Updated.
* Updated.Benoît Dejean2004-09-201-14/+22
| | | | * procargs.c: (show_args), (main): Updated.
* Added new example : pretty prints the result of glibtop_*. Work inBenoît Dejean2004-09-204-2/+227
| | | | | | | | | | | | | * .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.
* Added glibtop_get_proc_argv demo.Benoît Dejean2004-07-072-0/+34
| | | | * procargs.c: Added glibtop_get_proc_argv demo.
* *** empty log message ***Benoît Dejean2004-06-181-3/+3
|
* whitespace clean up.Benoît Dejean2004-06-099-29/+29
| | | | * *.{c,h} : whitespace clean up.
* Added missing #include. Converted to UTF-8.Benoît Dejean2004-05-289-2/+20
| | | | | * examples/*: Added missing #include. * ChangeLog: Converted to UTF-8.
* Added block_size field. (Closes: #125049)Ole Laursen2004-03-092-4/+8
| | | | | | 2003-12-27 Ole Laursen <olau@hardworking.dk> * include/glibtop/fsusage.h: Added block_size field. (Closes: #125049)
* remove dependency on libgnome, check for linux/isdn.h for distros usingBastien Nocera2004-03-042-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-04 Bastien Nocera <hadess@hadess.net> * configure.in: * include/libgtop-i18n.h: * lib/lib.pl: * lib/read.c: * lib/read_data.c: * lib/write.c: * 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/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: remove dependency on libgnome, check for linux/isdn.h for distros using the 2.6 kernel headers
* install only one library, libgtop-2.0 Fix build-time warnings due to theBastien Nocera2003-10-214-33/+23
| | | | | | | | | | | 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
* - fixed compilationBastien Nocera2003-10-2010-9/+12
|
* - replace all the xmalloc crap by glib memory management functionsBastien Nocera2003-10-206-15/+15
|
* removed traces of guile, intllibs and libgnomesupportBastien Nocera2003-10-202-23/+15
| | | | | | | | | | | 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-1913-0/+2277
| | | | | | | | 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-2413-2592/+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.
* Make it build with gcc 2.95.1Elliot Lee1999-08-192-4/+0
| | | | Make it build with gcc 2.95.1
* Fixed all warnings.Martin Baulig1999-07-304-8/+5
|
* Minor Alpha fixes (merged from stable).Martin Baulig1999-05-271-6/+23
|
* *** empty log message ***Martin Baulig1999-05-271-2/+2
|
* Use LibGTop version conditionals so we can more easily merge the code intoMartin Baulig1999-05-274-2/+193
| | | | | | | 1999-05-28 Martin Baulig <martin@home-of-linux.org> * first.c, second.c: Use LibGTop version conditionals so we can more easily merge the code into LIBGTOP_STABLE_1_0.