James Dominic P. Guana
a067db0569
Revert "Revert "New API to retrieve disk stats in Linux""
...
This reverts commit 7e214414bf
.
2021-04-23 09:48:11 +00:00
Michael Catanzaro
7e214414bf
Revert "New API to retrieve disk stats in Linux"
...
This reverts commit 9e62440b31
.
2020-11-06 09:52:01 -06:00
Michael Catanzaro
30bf8d0418
Revert "Handle LVM and RAID"
...
This reverts commit 9cbb3b91f1
.
2020-11-06 09:52:00 -06:00
Michael Catanzaro
ea08151ae6
Revert "Code clean up and add example"
...
This reverts commit 7396970afe
.
2020-11-06 09:52:00 -06:00
Michael Catanzaro
2229253e11
Revert "Updated config and added reference"
...
This reverts commit e9da959773
.
2020-11-06 09:51:58 -06:00
James Dominic P. Guana
e9da959773
Updated config and added reference
2020-11-04 13:38:03 +00:00
James Dominic P. Guana
7396970afe
Code clean up and add example
2020-11-04 13:38:03 +00:00
James Dominic P. Guana
9cbb3b91f1
Handle LVM and RAID
2020-11-04 13:38:03 +00:00
James Dominic P. Guana
9e62440b31
New API to retrieve disk stats in Linux
2020-11-04 13:38:03 +00:00
Corentin Noël
8871660dac
Fix several array and transfer annotations
2019-03-07 16:28:17 +01:00
Benoît Dejean
c65cb3e46b
Rename GLIBTOP_SUID_PROC_FILE to GLIBTOP_SUID_PROC_OPEN_FILES.
...
The previous name is incorrect and inconsistent with the code generated
by lib.pl.
Also add missing hooks.
This symbol, although exposed in public headers is not part of the API
and is only used internally.
2018-03-07 19:44:41 +01:00
Benoît Dejean
7dcc6c51d6
Fix API documentation typo.
2017-08-31 18:10:21 +02:00
Benoît Dejean
2f08841044
All fields in glibtop_* are public. The flags indicates which fields were set.
2017-05-23 06:27:28 +02:00
Benoît Dejean
de6e0c1c90
Add reserved fields so that future features won't break the sysdep struct
...
and the ABI (it means that all past addition broke it).
2017-05-23 06:25:47 +02:00
Robert Roth
063de1a712
Added reserved fields
2017-05-23 00:02:11 +03:00
Robert Roth
5880e04fcc
Prepended disk io struct fields with disk_ prefix
2017-05-12 05:14:17 +03:00
Robert Roth
1bf16bfffd
Renamed procdiskio to procio
2017-05-12 05:08:41 +03:00
Benoît Dejean
b589a4fcf0
Fix GLIBTOP_MAX variable name for diskio.
2017-02-21 13:01:04 +01:00
Robert Roth
dff7c5588e
New API to retrieve process io stats, with Linux implementation
2017-02-12 17:59:08 +02:00
Benoît Dejean
52c35c1b81
Fix constant name for GLIBTOP_MAX_PROC_WD.
2015-08-25 22:32:57 +02:00
Benoît Dejean
e528a7280b
Fix a bunch of doc tags for GI.
2015-08-25 22:32:06 +02:00
Benoît Dejean
99ff3d4dff
Define missing GLIBTOP_MAX_PROC_AFFINITY.
2015-08-25 22:31:28 +02:00
Benoît Dejean
f865e95e20
Don't ship glibtop/version.h as this is private.
2015-08-23 12:50:43 +02:00
Benoit Dejean
56f03d0987
New API/ABI: add Pss (partial set size) and Swap in glibtop_map_entry.
2015-08-15 10:39:38 +02:00
Benoit Dejean
106ee901bb
Add missing file.
2015-08-08 11:08:50 +02:00
Benoit Dejean
0642c2d610
Turn glibtop::machine from a value to a pointer, allocated on init.
...
This hides the glibtop_machine implementation.
2015-08-08 11:00:57 +02:00
Benoit Dejean
d30fbb22e0
Also display file/line/function in debug messages.
2015-08-08 10:56:24 +02:00
Benoit Dejean
887092a05d
Define glibtop_debug(_r) as macros, eventually calling real C function.
...
Keep these as macros so that if debug is not enable, although the
debug message is parsed, it's not run.
It's better this way because the debug message is always parsed and
checked instead of being deleted by the preprocessor.
2015-07-15 18:38:27 +02:00
Benoit Dejean
6bdb9a76eb
Fixed glibtop_debug for calls without arguments.
2015-07-15 18:38:27 +02:00
Benoit Dejean
edd08e6fd6
Fix macro definition.
2015-07-15 18:38:27 +02:00
Benoit Dejean
82ff91b74c
Add proper (and private) debug functions glibtop_debug*
2015-07-15 18:38:27 +02:00
Benoit Dejean
fba67da65d
Reorder GI annotations and remove duplicate for _l().
2015-07-15 18:34:49 +02:00
Benoît Dejean
ee2ac6d563
Add glibtop_get_shm_limits gtk-doc/gi tags.
2015-07-10 20:36:12 +02:00
Benoît Dejean
4c0632ccbd
Move gtk-doc/gi tag for glibtop_netlist_* to the correct place.
2015-07-10 20:36:12 +02:00
Benoît Dejean
71c7d65b1d
Add gtk-doc/gi for glibtop_netlist.
2015-07-10 20:36:12 +02:00
Benoît Dejean
94aa63f796
Add an assertion to ensure that GLIBTOP_SYSDEPS_* fit in an unsigned long.
2015-07-10 20:36:12 +02:00
Benoît Dejean
931a8364ff
Fix a few gtk-doc/gi function tags.
2015-07-10 20:36:12 +02:00
Jasper St. Pierre
3f8f65386e
Make some APIs that return struct introspectable
...
In order to do this, we need to define some boxed types. So we need
to add a new dependency, GObject, to GTop.
https://bugzilla.gnome.org/show_bug.cgi?id=663265
2015-01-03 15:32:56 +02:00
Robert Roth
7a3414d002
Update old FSF address.
...
https://bugzilla.gnome.org/show_bug.cgi?id=721514
2014-08-20 04:44:27 +03:00
Märt Põder
564506bb0d
Add annotations to get_proclist* to make Python bindings work.
...
https://bugzilla.gnome.org/show_bug.cgi?id=734170
2014-08-20 04:23:56 +03:00
Jason Xing
efaaf6eb77
Extending the cpu number from 32 to 1024 (bgo #323354 , bgo #681632 )
...
From: Jason Xing <xinggang861@gmail.com >
In 'Bug 323354 - Support a dynamic number of CPUs', there will be a
solution which can dynamically allocate memory for large number of
CPUs. As libgtop supports multiple operating systems, this work
may take some time.
This patch is a temporary patch, which worked before the whole
solution comes out. It only supports linux platform with CPU number
up to 1024.
There are two Macroes which limit the statistics of CPU. One is
GLIBTOP_NCPU. The other is a buffer size. This buffer used to read
/proc/stat contents into.
https://bugzilla.gnome.org/show_bug.cgi?id=323354
https://bugzilla.gnome.org/show_bug.cgi?id=681632
2013-12-12 22:36:10 +02:00
Tristan Hill
753d9abb13
proclist, procarg and proctime gtkdoc updates
...
Added gtkdoc for proclist, procarg and proctime.
Author: Tristan Hill <stan@saticed.me.uk >
https://bugzilla.gnome.org/show_bug.cgi?id=616082
2013-08-30 07:31:31 +03:00
Jasper Lievisse Adriaanse
cac71bf6c4
Revert "Expand to support ifmedia(4) types as found on BSD."
...
This reverts commit 5144c3e127
.
It wasn't meant to be pushed yet..
2011-07-29 11:02:23 +02:00
Jasper Lievisse Adriaanse
5144c3e127
Expand to support ifmedia(4) types as found on BSD.
...
https://bugzilla.gnome.org/show_bug.cgi?id=652713
2011-07-28 14:19:37 +02:00
Benoît Dejean
90fc3ca780
New API to retrieve process CPU affinity.
...
Linux implementation.
svn path=/trunk/; revision=2748
2008-05-24 09:50:04 +00:00
Benoît Dejean
c1b95643a8
Updated glibtop_get_proc_open_files API so that it also list IPv6 TCP sockets.
...
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
2008-04-21 18:59:20 +00:00
Benoît Dejean
fedd75b2b1
Dropped dead files.
...
svn path=/trunk/; revision=2735
2008-04-14 16:22:00 +00:00
Benoît Dejean
ef34cfb38a
git-svn sucks. Kill r2609
...
svn path=/trunk/; revision=2611
2007-06-25 17:30:40 +00:00
Benoît Dejean
6b0bafcafb
New API : glibtop_get_proc_affinity.
...
Implemented for linux.
svn path=/trunk/; revision=2609
2007-06-25 17:27:27 +00:00
Benoît Dejean
65fe248d66
Got rid of G_GNUC_INTERNAL.
...
svn path=/trunk/; revision=2600
2007-05-31 20:04:32 +00:00