Benoît Dejean
3aabc5fb13
Ignores unkown file system type.
...
* mountlist.c: (ignore_mount_entry): Ignores unkown file system type.
2004-12-09 16:00:15 +00:00
Benoît Dejean
12f4129f6d
Updated.
...
* reference.texi: Updated.
2004-12-04 19:21:57 +00:00
Benoît Dejean
29d88e177b
Released 2.8.2.
...
* NEWS:
* configure.in: Released 2.8.2.
LIBGTOP_2_8_2
2004-12-04 15:50:46 +00:00
Benoît Dejean
3fe19138de
Fixed procstate test.
...
* proclist.c: (glibtop_get_proclist_s): Fixed procstate test.
2004-11-29 19:47:48 +00:00
Martin Willemoes Hansen
b3b674f7df
Updated Danish translation.
...
* da.po: Updated Danish translation.
2004-11-23 12:36:25 +00:00
Benoît Dejean
3c029f5a28
Added a check for NULL pointer when wlaking though interfaces (though i
...
* netload.c: (get_ipv6), (glibtop_get_netload_s): Added a check for NULL
pointer when wlaking though interfaces (though i don't understand why some
interface don't have an ifa_addr).
Move all ipv6 code into a separate function. Added a paranoid check on
getifaddrs.
2004-11-15 15:02:43 +00:00
Benoît Dejean
fdf313cdf6
Set .rtime. At last !
...
* proctime.c: (glibtop_get_proc_time_s): Set .rtime. At last !
GNOME_2_8_ANCHOR
LIBGTOP_2_8_1
2004-10-26 20:26:25 +00:00
Ankitkumar Rameshchandra Patel
9a6bb02fb1
ankit@redhat.com * Changed some wrong rendered characters
2004-10-26 12:06:56 +00:00
Benoît Dejean
e6f0664c3b
No longer abort() is no such pid. buf.flags == 0ULL means that there no
...
* procargs.c: (glibtop_get_proc_args_s):
* prockernel.c: (glibtop_get_proc_kernel_s):
* procmem.c: (glibtop_get_proc_mem_s):
* procsegment.c: (glibtop_get_proc_segment_s):
* procsignal.c: (glibtop_get_proc_signal_s):
* procstate.c: (glibtop_get_proc_state_s):
* proctime.c: (glibtop_get_proc_time_s):
* procuid.c: (glibtop_get_proc_uid_s): No longer abort() is no such pid.
buf.flags == 0ULL means that there no data could be retrieve at all.
Closes #154876 . Thanks to Christophe Belle.
2004-10-22 15:35:57 +00:00
Benoît Dejean
405f0602e0
Released 2.8.1.
...
* NEWS: Released 2.8.1.
2004-10-11 18:11:48 +00:00
Benoît Dejean
b3dfc1d1d2
Updated. Lots of cleanup.
...
* cpu.c: (glibtop_init_cpu_s), (glibtop_get_cpu_s):
* loadavg.c: (glibtop_get_loadavg_s):
* mem.c: (glibtop_init_mem_s), (glibtop_get_mem_s):
* open.c: (glibtop_get_kstats), (glibtop_open_s):
* procargs.c: (glibtop_get_proc_args_s):
* procdata.c: (glibtop_get_proc_data_psinfo_s),
(glibtop_get_proc_data_usage_s), (glibtop_get_proc_credentials_s),
(glibtop_get_proc_status_s):
* proclist.c: (glibtop_get_proclist_s):
* procmap.c: (glibtop_get_proc_map_s):
* procmem.c: (glibtop_get_proc_mem_s):
* procstate.c: (glibtop_get_proc_state_s):
* safeio.c:
* safeio.h:
* shm_limits.c: (glibtop_init_shm_limits_p),
(glibtop_get_shm_limits_p):
* swap.c: (glibtop_get_swap_s):
* uptime.c: (glibtop_get_uptime_s): Updated. Lots of cleanup.
2004-10-11 18:01:25 +00:00
Benoît Dejean
13025c6c5f
Replaced C99 initializer.
...
* lib/init.c: Replaced C99 initializer.
* lib/read.c: (do_read): 1-line cleanup.
2004-10-10 17:21:57 +00:00
Benoît Dejean
bbcbe6b67d
Depends on glib 2.4.0
...
* configure.in: Depends on glib 2.4.0
2004-10-09 12:47:10 +00:00
Benoît Dejean
6c586e844f
Fixed .state to follow LibGTop2 specification.
...
* procstate.c: (glibtop_get_proc_state_s): Fixed .state to follow
LibGTop2 specification.
2004-10-04 12:22:15 +00:00
Benoît Dejean
a1677aefa8
Fixed glibtop_init_s call.
...
* procmap.c: (glibtop_get_proc_map_s): Fixed glibtop_init_s call.
2004-10-04 12:08:44 +00:00
Benoît Dejean
9f91b2ddb8
AIX support updated by Laurent Vivier <Laurent.Vivier@BULL.NET>.
...
* Makefile.am:
* cpu.c: (glibtop_init_cpu_p), (glibtop_get_cpu_p):
* glibtop_machine.h:
* glibtop_server.h:
* mem.c: (glibtop_get_mem_s):
* netload.c: (glibtop_get_netload_p):
* procargs.c: (glibtop_get_proc_args_s):
* prockernel.c: (glibtop_get_proc_kernel_s):
* proclist.c: (glibtop_get_proclist_s):
* procmem.c: (glibtop_get_proc_mem_s):
* procsegment.c: (glibtop_get_proc_segment_s):
* procsignal.c: (glibtop_get_proc_signal_s):
* procstate.c: (glibtop_get_proc_state_s):
* proctime.c: (glibtop_get_proc_time_s):
* procuid.c: (glibtop_get_proc_uid_s):
* swap.c: (glibtop_get_swap_s):
* sysinfo.c: (add_info), (init_sysinfo):
* uptime.c: (glibtop_init_uptime_s), (glibtop_get_uptime_s):
AIX support updated by Laurent Vivier <Laurent.Vivier@BULL.NET >.
Fixed cpu/uptime/sysinfo.
Added missing calls to glibtop_init_s.
2004-10-04 11:57:05 +00:00
Adam Weinberger
ca8d9657f0
Updated Canadian English translation.
...
* en_CA.po: Updated Canadian English translation.
2004-09-26 15:23:08 +00:00
Benoît Dejean
5bd4c5feeb
Added missing include <glibtop/close.h>.
...
* glibtop.h: Added missing include <glibtop/close.h>.
2004-09-25 19:31:18 +00:00
Benoît Dejean
15a4ba35a9
Re-added pprint_get_msg_limits()
...
* pprint.c: (main): Re-added pprint_get_msg_limits()
2004-09-25 19:30:00 +00:00
Benoît Dejean
f028bd79bf
Added missing call to glibgtop_init() / glibtop_close()
...
* df.c: (main):
* pprint.c: (main):
* procargs.c: (main): Added missing call to glibgtop_init() / glibtop_close()
2004-09-25 08:56:38 +00:00
Benoît Dejean
d809faba3e
Added missing call to libgtop_init();
...
* df.c: (main):
* pprint.c: (main):
* procargs.c: (main): Added missing call to libgtop_init();
2004-09-25 08:46:44 +00:00
Benoît Dejean
d0833edb66
Fixed .block_size on Solaris.
...
* fsusage.c: (glibtop_get_fsusage_s): Fixed .block_size on Solaris.
2004-09-24 21:26:34 +00:00
Benoît Dejean
9aae957919
../configure.in Added new example, just like 'df'.
...
* .cvsignore:
* Makefile.am:
* ../configure.in
* df.c: (print_fsusage), (main): Added new example, just like 'df'.
2004-09-24 12:59:29 +00:00
Benoît Dejean
6d24f84fd6
Updated.
...
* POTFILES.in: Updated.
2004-09-23 22:48:32 +00:00
Benoît Dejean
fe08779c6c
Removed mountlist.h.
...
* Makefile.am:
* mountlist.c:
* mountlist.h: Removed mountlist.h.
2004-09-23 22:47:56 +00:00
Benoît Dejean
804b82eff8
Small cleanup.
...
* loadavg.c: (glibtop_get_loadavg_s):
* msg_limits.c: (glibtop_get_msg_limits_s):
* shm_limits.c: (glibtop_get_shm_limits_s): Small cleanup.
2004-09-23 22:44:53 +00:00
Benoît Dejean
61889bc182
Removed get_pageshift(). Every one can affort a * instead of a >>, no need
...
* glibtop_server.c:
* glibtop_server.h:
* procmem.c: (glibtop_get_proc_mem_s):
* procsegment.c: (glibtop_get_proc_segment_s): Removed get_pageshift().
Every one can affort a * instead of a >>, no need for this kind of
non-reentrant optimization. Saved 144B (obviously perfect cleanup ;)
2004-09-23 08:13:28 +00:00
Benoît Dejean
c29887d4b0
Added openpromfs.
...
* mountlist.c: (ignore_mount_entry): Added openpromfs.
2004-09-22 22:20:31 +00:00
Benoît Dejean
edb1e6a773
CFLAGS: Removed -W, added -Winline.
...
* configure.in: CFLAGS: Removed -W, added -Winline.
2004-09-22 17:39:18 +00:00
Benoît Dejean
5d97c3fa5e
Linux: Sanitize. Removed calls to obfuscated PROPAGATE_ALL_ONES(x) which
...
* fsusage.c: (glibtop_get_fsusage_s): Linux: Sanitize. Removed calls
to obfuscated PROPAGATE_ALL_ONES(x) which seems to return unpredictable
values on some arch (e.g sparc).
Closes #153141 .
2004-09-22 17:38:18 +00:00
Benoît Dejean
e830a8eeb6
Removed #warning, my gcc is not buggy anymore.
...
* glibtop_server.c: Removed #warning, my gcc is not buggy anymore.
2004-09-22 17:33:19 +00:00
Benoît Dejean
a6410588cd
Disable pprint_get_msg_limits() because it can fail.
...
* pprint.c: (main): Disable pprint_get_msg_limits() because it can fail.
2004-09-22 11:25:37 +00:00
Benoît Dejean
339b79b100
Added mntfs to ignore list
...
* mountlist.c: (ignore_mount_entry): Added mntfs to ignore list
2004-09-22 11:16:42 +00:00
Ivan Stojmirov
831f0e7d68
gotovo
2004-09-21 21:37:42 +00:00
Benoît Dejean
4882405885
Updated.
...
* pprint.c: (pprint_get_swap), (main): Updated.
2004-09-21 09:41:34 +00:00
Benoît Dejean
5b15a2d1a5
Updated.
...
* procargs.c: (show_args), (main): Updated.
2004-09-21 08:37:52 +00:00
Benoît Dejean
6954b81396
Updated.
...
* pprint.c: (pprint_get_mountlist), (pprint_get_netload),
(pprint_get_uptime), (main): Updated.
2004-09-21 08:01:45 +00:00
Benoît Dejean
35dd4cf1ca
Updated.
...
* pprint.c: (pprint_get_mountlist): Updated.
2004-09-20 23:44:19 +00:00
Benoît Dejean
0b0b1ab43c
Back to previous version.
...
* fsusage.c: (_glibtop_get_fsusage_read_write),
(glibtop_get_fsusage_s):
* mountlist.c: (glibtop_get_mountlist_s): Back to previous version.
* fsusage.c: (linux_2_6_0), (linux_2_4_0),
(_glibtop_linux_get_fsusage_read_write): Back to previous version.
Now set .flags correctly.
2004-09-20 23:43:24 +00:00
Benoît Dejean
a6311d88c3
Updated.
...
* procargs.c: (show_args), (main): Updated.
2004-09-20 22:05:32 +00:00
Benoît Dejean
f561120748
Updated.
...
* procargs.c: (show_args), (main): Updated.
2004-09-20 22:03:58 +00:00
Benoît Dejean
b35532dd6f
Updated.
...
* procargs.c: (show_args), (main): Updated.
2004-09-20 22:03:02 +00:00
Benoît Dejean
c7d323749c
Added new example : pretty prints the result of glibtop_*. Work in
...
* .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.
2004-09-20 20:14:46 +00:00
Alessio Frusciante
3d1997ca94
Updated Italian translation.
2004-09-19 22:03:58 +00:00
Benoît Dejean
b3fd15c190
Updated to match new prototype.
...
* fsusage.c: (linux_2_6_0), (linux_2_4_0),
(_glibtop_linux_get_fsusage_read_write): Updated to match new prototype.
2004-09-19 21:03:21 +00:00
Benoît Dejean
601cfef32f
: Added new flag. (_glibtop_get_fsusage_read_write): Changed prototype.
...
* fsusage.c: (_glibtop_get_fsusage_read_write) : Added new flag.
(_glibtop_get_fsusage_read_write): Changed prototype. Returns TRUE on
success, then _glibtop_get_fsusage_read_write is set.
Added comment to locate Linux code.
* mountlist.c: (read_filesystem_list): Dropped unused need_fs_type parameter.
This is now default.
Fixed possible leak.
(ignore_mount_entry): Added "usbfs" to ignored FS.
(glibtop_get_mountlist_s): Updated.
2004-09-19 21:02:10 +00:00
Benoît Dejean
86fd7f23c4
'screen' is only defined when AUTH_MAGIC_COOKIE is defined. Added missing
...
* gnuserv.c: (setup_table): 'screen' is only defined when AUTH_MAGIC_COOKIE
is defined.
Added missing initializers for popt options.
2004-09-19 12:08:55 +00:00
Benoît Dejean
3668b5bb19
Added missing memset( , 0, ).
...
* mem.c: (glibtop_get_mem_s): Added missing memset( , 0, ).
2004-09-19 12:06:10 +00:00
Gora Mohanty
89f531cdbc
configure.in: Added 'or' to ALL_LINGUAS.
...
po/or.po: Updated Oriya translation.
2004-09-13 20:42:54 +00:00
Benoît Dejean
35488aef90
bumped to 2.8.1.
...
* configure.in: bumped to 2.8.1.
* sysdeps/common/fsusage.c:
* sysdeps/common/gnuslib.c: (glibtop_make_connection),
(connect_to_unix_server), (glibtop_internet_addr):
* sysdeps/linux/glibtop_server.c: (get_pageshift):
* sysdeps/linux/glibtop_server.h:
* sysdeps/linux/open.c: (glibtop_open_s):
* sysdeps/linux/ppp.c: (is_ISDN_on): Cleanups. Thanks to Kjartan Maraas.
Closes #151557 .
2004-09-13 15:21:54 +00:00