Benoît Dejean
6fe3b94f13
Make git ignore more files.
2015-07-14 10:31:13 +02:00
Benoît Dejean
f1a01a543c
Define and initialize param_buf, send_{size,ptr} only when using
...
glibtop_call.
2015-07-10 20:36:12 +02:00
Benoît Dejean
758862e272
Add proc_affinity example.
2015-07-10 20:36:12 +02:00
Benoît Dejean
6941e7e22f
Update and clean .gitignored files list.
2015-07-10 20:36:12 +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
Benoît Dejean
598764c171
Add gtk-doc annotations for the glibtop_init functions.
...
Their return value should not be freed.
This fixes usage from gnome-instrospection (invalid free).
2015-07-10 20:36:12 +02:00
Benoît Dejean
aa7f9df00e
Drop --with-libgtop-smp.
...
No code uses this switch.
2015-07-10 20:36:12 +02:00
Benoît Dejean
4c4466292e
Fixed sscanf format string as arguments are unsigned ints.
2015-07-10 20:36:12 +02:00
Ionut Biru
fcc1d9d957
Add support for linux x.y versioning schema
...
Since linux 3.0, a valid version can have two digits
Signed-off-by: Ionut Biru <ibiru@archlinux.org >
2015-07-10 20:36:12 +02:00
Benoît Dejean
0580b2fb2c
Linux >= 3.14 provides a "MemAvailable" field in /proc/meminfo which gives the
...
estimated amount of memory available for applications.
Use this to compute glibtop_mem::user.
https://bugzilla.gnome.org/show_bug.cgi?id=727543 .
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/proc/meminfo.c?id=34e431b0ae398fc54ea69ff85ec700722c9da773
2015-07-10 20:36:12 +02:00
Ting-Wei Lan
a206cfc728
freebsd: rework system memory usage
...
Change the value of memory usage from:
Used = Wired
Free = Total - Wired
Shared = 0
Buffer = 0
Cached = Cache
User = Wired - Cache
Locked = Not Supported
To:
Used = Total - Free
Free = Free
Shared = 0
Buffer = Buf
Cached = Cache
User = Active + Wired
Locked = Not Supported
The left-hand side means fields in the glibtop_mem struct and the right-hand
side means the value showed by `top' command. This change should make the value
showed by gnome-system-monitor, which uses `User' field, become closer to
the real memory usage.
All sysctlbyname code in sysdeps/freebsd/mem.c has been moved to separate
functions to make the code cleaner.
2015-07-03 22:42:07 +08:00
Pedro Albuquerque
58ca70eaee
Updated Portuguese translation
2015-07-01 22:01:19 +00:00
Robert Roth
421419fdbf
Fixed build problem with procmap example
2015-06-26 03:10:51 +03:00
Benoit Dejean
ebb7f9d5e2
Better debug message.
2015-06-26 02:57:42 +03:00
Benoit Dejean
1f3b08e6dc
Display self-timings using ps
.
2015-06-26 02:57:42 +03:00
Benoit Dejean
a870dfc8f2
Print more fields about each filesystem.
2015-06-26 02:57:42 +03:00
Benoit Dejean
e0244ad3fc
Don't try to print a NULL hash_table.
2015-06-26 02:57:41 +03:00
Benoit Dejean
1156794b33
Add command tracing in glibtop_call_l when debugging.
2015-06-26 02:57:41 +03:00
Benoit Dejean
874771ec1c
Ignore more output files.
2015-06-26 02:57:41 +03:00
Benoit Dejean
16f262985d
Use glibtop_warn_r instead of fprintf.
2015-06-26 02:57:41 +03:00
Benoit Dejean
0a94dc7992
Display inode number without zero padding.
2015-06-26 02:57:41 +03:00
Benoit Dejean
50b5dea402
Implement dev/inode for mapped files on ZFS.
2015-06-26 02:57:41 +03:00
Benoit Dejean
f4b23ef0c6
Split the code that works only with UFS inode. Will ease new code for ZFS.
2015-06-26 02:57:41 +03:00
Benoit Dejean
1f41349a7e
Fix format for permissions. Display mappings' sizes. Avoid duplicating formatting code.
2015-06-26 02:57:41 +03:00
Benoit Dejean
548f104f35
If no argument is given, defaults to self. When self-testing, try to mmap some files as an example.
2015-06-26 02:57:41 +03:00
Benoit Dejean
4808aac8ef
Make libgtop_server2 link against its libgtop.
2015-06-26 02:57:41 +03:00
Benoit Dejean
f04ce61b80
Run server_command instead of hardcoded LIBGTOP_SERVER.
2015-06-26 02:57:41 +03:00
Benoit Dejean
c7f7e5a1c6
Set the FSUSAGE_(READ|WRITE) flags only we managed to get something. Currently, it doesn't seem to work on ZFS.
2015-06-26 02:57:41 +03:00
Benoit Dejean
e2348c24a0
When pretty-printing an array, don't display 0 elements.
2015-06-26 02:57:41 +03:00
Benoit Dejean
f76b37be1b
Rename NEED_LIBGTOP to LIBGTOP_NEED_SERVER.
2015-06-26 02:57:41 +03:00
Benoit Dejean
b2fee3e111
No special case for pid == 0. As of 2015, with FreeBSD 10.1-RELEASE #0 r274401 on amd64, this really works and sets the name to "kernel" for pid == 0.
2015-06-26 02:57:41 +03:00
Benoit Dejean
7b2416a8d1
Use LIBGTOP_ENABLE_DEBUG instead of undefined SLAVE_DEBUG.
2015-06-26 02:57:41 +03:00
Benoit Dejean
d006da7e54
Drop dead file,
2015-06-26 02:57:41 +03:00
Benoit Dejean
a93dc2526d
The DEBUG macro enabled by --enable-debug is actually LIBGTOP_ENABLE_DEBUG.
2015-06-26 02:57:41 +03:00
Benoit Dejean
a3a16707b5
Enable silent build.
2015-06-26 02:57:41 +03:00
Robert Roth
fd53595189
Prepare 2.31.3
LIBGTOP_2_31_3
2015-06-22 22:43:35 +03:00
Benoit Dejean
0057bbbc47
Don't set GLIBTOP_PROC_MEM_SHARE because it's not implemented anymore.
...
https://bugzilla.gnome.org/show_bug.cgi?id=744890
2015-06-21 10:57:11 +08:00
Benoit Dejean
e6d776ee61
It doesn't make any sense to count as shared each and every mmaped file. Disable that code while we figure how to really do it.
...
https://bugzilla.gnome.org/show_bug.cgi?id=744890
2015-06-21 10:56:39 +08:00
Juan RP
c68e077909
Implemented procaffinity for netBSD.
...
https://bugzilla.gnome.org/show_bug.cgi?id=553713
2015-06-20 03:35:56 +03:00
Juan RP
72e46fc6b4
Define some GLIBTOP_SUID constants to build procaffinity on NetBSD
...
https://bugzilla.gnome.org/show_bug.cgi?id=553713
2015-06-20 03:33:42 +03:00
Juan RP
2ea8a156f3
Enable procaffinity.c on sysdeps/bsd/Makefile.am.
...
(Please also double check the author and subject.)
https://bugzilla.gnome.org/show_bug.cgi?id=553713
2015-06-20 03:33:42 +03:00
Ting-Wei Lan
40e1a86d52
freebsd: Add fdescfs to the ignored filesystem list
...
fdescfs is the filesystem mounted on /dev/fd to provide access to file
descriptors via filsystem paths. It is not a real filesystem used on disks.
https://bugzilla.gnome.org/show_bug.cgi?id=748790
2015-06-14 14:19:24 +08:00
Cédric Valmary
a101d6b27a
Updated Occitan translation
2015-04-30 07:47:26 +00:00
Robert Roth
9770db12d2
Let's stick to the GNOME release process
...
To stick to the GNOME release train from now on, we start with an
unstable number and the next stable will be released along with
GNOME 3.18.0.
2015-04-02 06:50:28 +03:00
Robert Roth
a61052dc59
Version bump required to 2.32.0
2015-03-21 20:13:08 +02:00
Samir Ribic
8985e7e239
Updated Bosnian translation
2015-03-13 21:02:02 +00:00