summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Code clean up and add example"Michael Catanzaro2020-11-062-68/+0
| | | | This reverts commit 7396970afe2290488fd072612a650353dd13a16d.
* Code clean up and add exampleJames Dominic P. Guana2020-11-042-0/+68
|
* Check if sbrk is availableTing-Wei Lan2020-01-201-0/+6
| | | | | | | | | | | | The only use of sbrk in libgtop is in an example which always calls it with 0. Since the use of sbrk provides no functionality, just skip these calls when sbrk is not available. This problem was first reported on FreeBSD Bugzilla because FreeBSD decides not to support sbrk on ARM64 and RISC-V: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221751 Fix https://gitlab.gnome.org/GNOME/libgtop/issues/46
* Try to fix all format flags in pprint example.Benoît Dejean2018-03-074-104/+109
|
* Merge branch 'wip/diskio'Robert Roth2017-05-234-3/+69
|\
| * Prepended disk io struct fields with disk_ prefixRobert Roth2017-05-121-1/+1
| |
| * Renamed procdiskio to procioRobert Roth2017-05-123-10/+10
| |
| * Add proc_diskio in sysdeps and timings tests.Benoît Dejean2017-02-242-2/+25
| |
| * Also display the flags value.Benoît Dejean2017-02-241-1/+1
| |
| * New API to retrieve process io stats, with Linux implementationRobert Roth2017-02-122-1/+44
| |
* | Better output format for arrays.Benoît Dejean2017-02-161-6/+7
|/
* Use upstream gettext intead intltool/glib-gettextJavier Jardón2016-07-121-0/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=768704
* Turn the proclist example into a minimal `ps`.Benoit Dejean2015-07-181-9/+25
|
* Fix signedness issue when printing HW address.Benoit Dejean2015-07-151-1/+1
|
* Implement a GNU `free -m` clone.Benoît Dejean2015-07-143-24/+47
|
* Add proc_affinity example.Benoît Dejean2015-07-101-0/+23
|
* Drop --with-libgtop-smp.Benoît Dejean2015-07-101-4/+0
| | | | No code uses this switch.
* Fixed build problem with procmap exampleRobert Roth2015-06-261-0/+2
|
* Display self-timings using `ps`.Benoit Dejean2015-06-261-2/+22
|
* Print more fields about each filesystem.Benoit Dejean2015-06-261-12/+29
|
* Don't try to print a NULL hash_table.Benoit Dejean2015-06-261-3/+5
|
* Display inode number without zero padding.Benoit Dejean2015-06-261-2/+2
|
* Fix format for permissions. Display mappings' sizes. Avoid duplicating ↵Benoit Dejean2015-06-261-33/+19
| | | | formatting code.
* If no argument is given, defaults to self. When self-testing, try to mmap ↵Benoit Dejean2015-06-261-2/+36
| | | | some files as an example.
* When pretty-printing an array, don't display 0 elements.Benoit Dejean2015-06-261-8/+15
|
* Update old FSF address.Robert Roth2014-08-209-18/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=721514
* 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
* pprint example extended to print cpu infoRobert Roth2013-12-091-0/+34
|
* Fixed automake warningRobert Roth2013-08-221-2/+2
|
* Fix build issue for strict linkers.Chris Kühl2011-03-141-0/+2
| | | | Closes Bug #644599.
* Updated example.Benoît Dejean2008-10-241-9/+66
| | | | svn path=/trunk/; revision=2782
* Improved example.Benoît Dejean2008-06-231-9/+15
| | | | svn path=/trunk/; revision=2758
* Updated example to display read/write counters.Benoît Dejean2008-06-221-4/+6
| | | | svn path=/trunk/; revision=2756
* New API to retrieve process CPU affinity.Benoît Dejean2008-05-242-1/+37
| | | | | | Linux implementation. svn path=/trunk/; revision=2748
* Updated glibtop_get_proc_open_files API so that it also list IPv6 TCP sockets.Benoît Dejean2008-04-211-0/+7
| | | | | | | | | | | | Patch by Mark McClelland <mark@ovcam.org>. Closes #528175. WTH do we not care about udp ? Updated libtool versioning: API addition does not change the ABI, so only increased revision. gnome-2.22 is 8.1.1 so trunk is now 8.2.1. svn path=/trunk/; revision=2738
* Fixed warnings about proclist returning pid_t.Benoît Dejean2008-04-034-6/+7
| | | | svn path=/trunk/; revision=2728
* Displays all fs.Benoît Dejean2007-10-171-1/+1
| | | | svn path=/trunk/; revision=2681
* Fixed printf format overflow.Benoît Dejean2007-10-011-2/+2
| | | | svn path=/trunk/; revision=2668
* git-svn sucks. Kill r2609Benoît Dejean2007-06-252-37/+1
| | | | svn path=/trunk/; revision=2611
* Fixed smaps parsing with linux > 2.6.21.Benoît Dejean2007-06-251-3/+3
| | | | | | | Closes #449595. Improved example. svn path=/trunk/; revision=2610
* New API : glibtop_get_proc_affinity.Benoît Dejean2007-06-252-1/+37
| | | | | | Implemented for linux. svn path=/trunk/; revision=2609
* Fixed wd and new simple mem example.Benoît Dejean2007-05-194-1/+41
| | | | | | | | | | | | 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 missing filesBenoît Dejean2007-05-131-0/+31
| | | | svn path=/trunk/; revision=2580
* 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.