Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid some deprecated networking functions | David King | 2023-01-09 | 1 | -7/+3 |
| | | | | | | | | | | | | rpminspect trips up on some old networking functions in libgtop, which are mentioned as deprecated in the Linux man pages. inet_ntoa() only works on IPv4 addresses, whereas the newer inet_ntop() works on both IPv4 and IPv6 addresses, so use inet_ntop() instead. Similarly, use getaddrinfo() rather than gethostbyname(), and avoid inet_addr() entirely. https://bugzilla.redhat.com/show_bug.cgi?id=2050712 | ||||
* | Add sysinfo example | James Dominic P. Guana | 2022-03-28 | 1 | -3/+3 |
| | | | | | Retrieve cpu model via hashtable & number of logical cpu via exposed variable Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com> | ||||
* | Add sysinfo example | James Dominic P. Guana | 2022-03-28 | 1 | -2/+3 |
| | | | | | Retrieve cpu model via hashtable & number of logical cpu via exposed variable Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com> | ||||
* | Exposes the processor model | Dr. James Dominic P. Guana | 2022-03-28 | 2 | -2/+8 |
| | | | | | | Accessing processor model becomes easier Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com> | ||||
* | Add processor model | Dr. James Dominic P. Guana | 2022-03-28 | 1 | -1/+1 |
| | | | | | | Add processor model Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com> | ||||
* | Add processor model | Dr. James Dominic P. Guana | 2022-03-28 | 2 | -1/+45 |
| | | | | | | Add processor model Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com> | ||||
* | Revert "Revert "Code clean up and add example"" | James Dominic P. Guana | 2021-04-23 | 2 | -0/+68 |
| | | | | This reverts commit ea08151ae6582a438db76b738293a0194c964b88. | ||||
* | Revert "Code clean up and add example" | Michael Catanzaro | 2020-11-06 | 2 | -68/+0 |
| | | | | This reverts commit 7396970afe2290488fd072612a650353dd13a16d. | ||||
* | Code clean up and add example | James Dominic P. Guana | 2020-11-04 | 2 | -0/+68 |
| | |||||
* | Check if sbrk is available | Ting-Wei Lan | 2020-01-20 | 1 | -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 Dejean | 2018-03-07 | 4 | -104/+109 |
| | |||||
* | Merge branch 'wip/diskio' | Robert Roth | 2017-05-23 | 4 | -3/+69 |
|\ | |||||
| * | Prepended disk io struct fields with disk_ prefix | Robert Roth | 2017-05-12 | 1 | -1/+1 |
| | | |||||
| * | Renamed procdiskio to procio | Robert Roth | 2017-05-12 | 3 | -10/+10 |
| | | |||||
| * | Add proc_diskio in sysdeps and timings tests. | Benoît Dejean | 2017-02-24 | 2 | -2/+25 |
| | | |||||
| * | Also display the flags value. | Benoît Dejean | 2017-02-24 | 1 | -1/+1 |
| | | |||||
| * | New API to retrieve process io stats, with Linux implementation | Robert Roth | 2017-02-12 | 2 | -1/+44 |
| | | |||||
* | | Better output format for arrays. | Benoît Dejean | 2017-02-16 | 1 | -6/+7 |
|/ | |||||
* | Use upstream gettext intead intltool/glib-gettext | Javier Jardón | 2016-07-12 | 1 | -0/+7 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=768704 | ||||
* | Turn the proclist example into a minimal `ps`. | Benoit Dejean | 2015-07-18 | 1 | -9/+25 |
| | |||||
* | Fix signedness issue when printing HW address. | Benoit Dejean | 2015-07-15 | 1 | -1/+1 |
| | |||||
* | Implement a GNU `free -m` clone. | Benoît Dejean | 2015-07-14 | 3 | -24/+47 |
| | |||||
* | Add proc_affinity example. | Benoît Dejean | 2015-07-10 | 1 | -0/+23 |
| | |||||
* | Drop --with-libgtop-smp. | Benoît Dejean | 2015-07-10 | 1 | -4/+0 |
| | | | | No code uses this switch. | ||||
* | Fixed build problem with procmap example | Robert Roth | 2015-06-26 | 1 | -0/+2 |
| | |||||
* | Display self-timings using `ps`. | Benoit Dejean | 2015-06-26 | 1 | -2/+22 |
| | |||||
* | Print more fields about each filesystem. | Benoit Dejean | 2015-06-26 | 1 | -12/+29 |
| | |||||
* | Don't try to print a NULL hash_table. | Benoit Dejean | 2015-06-26 | 1 | -3/+5 |
| | |||||
* | Display inode number without zero padding. | Benoit Dejean | 2015-06-26 | 1 | -2/+2 |
| | |||||
* | Fix format for permissions. Display mappings' sizes. Avoid duplicating ↵ | Benoit Dejean | 2015-06-26 | 1 | -33/+19 |
| | | | | formatting code. | ||||
* | If no argument is given, defaults to self. When self-testing, try to mmap ↵ | Benoit Dejean | 2015-06-26 | 1 | -2/+36 |
| | | | | some files as an example. | ||||
* | When pretty-printing an array, don't display 0 elements. | Benoit Dejean | 2015-06-26 | 1 | -8/+15 |
| | |||||
* | Update old FSF address. | Robert Roth | 2014-08-20 | 9 | -18/+18 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=721514 | ||||
* | examples: don't override LINK and other variables | Ryan Lortie | 2014-02-20 | 1 | -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 info | Robert Roth | 2013-12-09 | 1 | -0/+34 |
| | |||||
* | Fixed automake warning | Robert Roth | 2013-08-22 | 1 | -2/+2 |
| | |||||
* | Fix build issue for strict linkers. | Chris Kühl | 2011-03-14 | 1 | -0/+2 |
| | | | | Closes Bug #644599. | ||||
* | Updated example. | Benoît Dejean | 2008-10-24 | 1 | -9/+66 |
| | | | | svn path=/trunk/; revision=2782 | ||||
* | Improved example. | Benoît Dejean | 2008-06-23 | 1 | -9/+15 |
| | | | | svn path=/trunk/; revision=2758 | ||||
* | Updated example to display read/write counters. | Benoît Dejean | 2008-06-22 | 1 | -4/+6 |
| | | | | svn path=/trunk/; revision=2756 | ||||
* | New API to retrieve process CPU affinity. | Benoît Dejean | 2008-05-24 | 2 | -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 Dejean | 2008-04-21 | 1 | -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 Dejean | 2008-04-03 | 4 | -6/+7 |
| | | | | svn path=/trunk/; revision=2728 | ||||
* | Displays all fs. | Benoît Dejean | 2007-10-17 | 1 | -1/+1 |
| | | | | svn path=/trunk/; revision=2681 | ||||
* | Fixed printf format overflow. | Benoît Dejean | 2007-10-01 | 1 | -2/+2 |
| | | | | svn path=/trunk/; revision=2668 | ||||
* | git-svn sucks. Kill r2609 | Benoît Dejean | 2007-06-25 | 2 | -37/+1 |
| | | | | svn path=/trunk/; revision=2611 | ||||
* | Fixed smaps parsing with linux > 2.6.21. | Benoît Dejean | 2007-06-25 | 1 | -3/+3 |
| | | | | | | | Closes #449595. Improved example. svn path=/trunk/; revision=2610 | ||||
* | New API : glibtop_get_proc_affinity. | Benoît Dejean | 2007-06-25 | 2 | -1/+37 |
| | | | | | | Implemented for linux. svn path=/trunk/; revision=2609 | ||||
* | Fixed wd and new simple mem example. | Benoît Dejean | 2007-05-19 | 4 | -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 files | Benoît Dejean | 2007-05-13 | 1 | -0/+31 |
| | | | | svn path=/trunk/; revision=2580 |