Benoît Dejean
e71023b362
Added proc_mem example.
...
* pprint.c: (pprint_get_proc_mem), (main):
Added proc_mem example.
2006-02-27 08:14:12 +00:00
Benoît Dejean
101fe5874f
Improved example.
...
* proclist.c: (print_pids), (main):
Improved example.
2005-12-15 13:05:55 +00:00
Benoît Dejean
52fa57a39b
Added quick example for glibtop_get_proclist() and updated procmap example
...
* .cvsignore:
* Makefile.am:
* proclist.c: (main):
* procmap.c: (main):
Added quick example for glibtop_get_proclist()
and updated procmap example to display smap.
2005-12-12 13:23:54 +00:00
James Henstridge
aa5ac8fc10
remove unused file.
...
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.
2005-12-12 09:38:15 +00:00
Benoît Dejean
03bcc48da6
Removed static examples.
...
* configure.in:
* examples/Makefile.am:
Removed static examples.
2005-08-03 22:47:19 +00:00
Benoît Dejean
92d3176303
Added pprint_get_proc_kernel(pid).
...
Fixed prototypes.
2005-08-02 04:39:13 +00:00
Benoît Dejean
4cd022b315
Removed translation.
...
* examples/smp.c: (main): Removed translation.
* lib/lib.pl:
* lib/read.c:
* lib/read_data.c:
* lib/write.c:
* src/daemon/gnuserv.c: s/gi18n.h/gi18n-lib.h.
2005-06-06 12:33:42 +00:00
Benoît Dejean
a71839c0a7
Got rid of include/libgtop-i18n.h.
...
* examples/smp.c:
* include/Makefile.am:
* include/libgtop-i18n.h:
* lib/lib.pl:
* lib/read.c:
* lib/read_data.c:
* lib/write.c:
* src/daemon/gnuserv.c: Got rid of include/libgtop-i18n.h.
2005-06-06 11:25:36 +00:00
Benoît Dejean
91dda5b70d
Updated.
...
* openfiles.c: (show_open_files): Updated.
2005-01-21 23:29:38 +00:00
Benoît Dejean
7ca4171652
New feature by nick@reloco.com.ar (Nicolás Lichtmaier).
...
* configure.in:
* examples/.cvsignore:
* examples/Makefile.am:
* examples/openfiles.c: (show_open_files), (main):
* features.def:
* include/glibtop/Makefile.am:
* include/glibtop/command.h:
* include/glibtop/procopenfiles.h:
* include/glibtop/sysdeps.h:
* include/glibtop/union.h:
* structures.def:
* sysdeps/linux/Makefile.am:
* sysdeps/linux/procopenfiles.c: (glibtop_init_proc_open_files_s),
(get_socket_endpoint), (glibtop_get_proc_open_files_s):
* sysdeps/stub/Makefile.am:
* sysdeps/stub/procopenfiles.c: (glibtop_init_proc_open_files_s),
(glibtop_get_proc_open_files_s):
New feature by nick@reloco.com.ar (Nicolás Lichtmaier).
glibtop_get_open_files(pid) -> list of files by process.
TODO: Add documentation.
2005-01-10 08:43:04 +00:00
Benoît Dejean
0a425e4e41
Added I/O and IRQ wait time to glibtop_cpu. Closes #160443 .
...
* examples/pprint.c: (pprint_get_cpu):
* features.def:
* include/glibtop/cpu.h:
* sysdeps/linux/cpu.c: (glibtop_init_cpu_s), (glibtop_get_cpu_s):
Added I/O and IRQ wait time to glibtop_cpu. Closes #160443 .
* configure.in: Post-release bump 2.9.4
2005-01-03 09:17:45 +00:00
Benoît Dejean
71900c0e30
s/glibtop_error/g_error/g
...
* netload.c: (main):
* procmap.c: (main): s/glibtop_error/g_error/g
2004-12-23 15:58:34 +00:00
Benoît Dejean
c09e2fdead
Removed libgtop_names :)
...
* acconfig.h:
* configure.in:
* debian/libgtop-dev.files.in:
* doc/Makefile.am:
* examples/Makefile.am:
* examples/third.c:
* include/glibtop/cpu.h:
* include/glibtop/fsusage.h:
* include/glibtop/loadavg.h:
* include/glibtop/mem.h:
* include/glibtop/mountlist.h:
* include/glibtop/msg_limits.h:
* include/glibtop/netlist.h:
* include/glibtop/netload.h:
* include/glibtop/ppp.h:
* include/glibtop/procargs.h:
* include/glibtop/prockernel.h:
* include/glibtop/proclist.h:
* include/glibtop/procmap.h:
* include/glibtop/procmem.h:
* include/glibtop/procsegment.h:
* include/glibtop/procsignal.h:
* include/glibtop/procstate.h:
* include/glibtop/proctime.h:
* include/glibtop/procuid.h:
* include/glibtop/sem_limits.h:
* include/glibtop/shm_limits.h:
* include/glibtop/swap.h:
* include/glibtop/sysdeps.h:
* include/glibtop/uptime.h:
* po/POTFILES.in:
* sysdeps/Makefile.am:
* sysdeps/names/.cvsignore:
* sysdeps/names/Makefile.am:
* sysdeps/names/cpu.c:
* sysdeps/names/fsusage.c:
* sysdeps/names/loadavg.c:
* sysdeps/names/mem.c:
* sysdeps/names/mountlist.c:
* sysdeps/names/msg_limits.c:
* sysdeps/names/netlist.c:
* sysdeps/names/netload.c:
* sysdeps/names/ppp.c:
* sysdeps/names/procargs.c:
* sysdeps/names/prockernel.c:
* sysdeps/names/proclist.c:
* sysdeps/names/procmap.c:
* sysdeps/names/procmem.c:
* sysdeps/names/procsegment.c:
* sysdeps/names/procsignal.c:
* sysdeps/names/procstate.c:
* sysdeps/names/proctime.c:
* sysdeps/names/procuid.c:
* sysdeps/names/sem_limits.c:
* sysdeps/names/shm_limits.c:
* sysdeps/names/swap.c:
* sysdeps/names/sysdeps.c:
* sysdeps/names/uptime.c: Removed libgtop_names :)
2004-12-06 14:44:11 +00:00
Benoît Dejean
160bdeaecd
Updated.
...
* netload.c: (hwaddress_format_for_display), (main): Updated.
2004-11-15 16:07:23 +00:00
Benoît Dejean
bbb6cbaa87
Updated.
...
* pprint.c: (pprint_get_fsusage), (pprint_get_mountlist),
(pprint_get_netload), (pprint_get_netlist), (main): Updated.
2004-11-13 21:06:08 +00:00
Benoît Dejean
7e5ccec8bf
Bumped to 2.9.0
...
* configure.in: Bumped to 2.9.0
* configure.in:
* examples/.cvsignore:
* examples/Makefile.am:
* examples/netlist.c: (main):
* features.def:
* include/glibtop/Makefile.am:
* include/glibtop/command.h:
* include/glibtop/netlist.h:
* include/glibtop/sysdeps.h:
* include/glibtop/union.h:
* include/glibtop/version.h:
* src/daemon/version.c:
* sysdeps/linux/Makefile.am:
* sysdeps/linux/netlist.c: (glibtop_init_netlist_s),
(glibtop_get_netlist_s):
* sysdeps/names/Makefile.am:
* sysdeps/names/netlist.c:
* sysdeps/solaris/Makefile.am:
* sysdeps/solaris/netlist.c: (glibtop_init_netlist_s),
(glibtop_get_netlist_s): Added new function glibtop_get_netlist().
Implemented for linux and solaris. Doc needed.
2004-11-13 00:53:20 +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
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
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
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
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
Benoît Dejean
bce095739f
Added -gnu89 to CFLAGS.
...
* configure.in: Added -gnu89 to CFLAGS.
* examples/Makefile.am: Fixed LDFLAGS.
* sysdeps/common/fsusage.c: (glibtop_get_fsusage_s):
* sysdeps/linux/fsusage.c: (linux_2_6_0):
* sysdeps/linux/proctime.c: (glibtop_get_proc_time_s):
* sysdeps/linux/sysinfo.c: (init_sysinfo): Fixed C89 issues.
Closes #149375 .
2004-08-09 07:55:50 +00:00
Benoît Dejean
de7fd9e85b
Added glibtop_get_proc_argv demo.
...
* procargs.c: Added glibtop_get_proc_argv demo.
2004-07-07 20:21:13 +00:00
Benoît Dejean
b279819639
*** empty log message ***
2004-06-18 20:33:01 +00:00
Benoît Dejean
70b0925a82
whitespace clean up.
...
* *.{c,h} : whitespace clean up.
2004-06-09 18:52:22 +00:00
Benoît Dejean
75291a665c
Added missing #include. Converted to UTF-8.
...
* examples/*: Added missing #include.
* ChangeLog: Converted to UTF-8.
2004-05-28 05:30:20 +00:00
Ole Laursen
897db07104
Added block_size field. ( Closes : #125049 )
...
2003-12-27 Ole Laursen <olau@hardworking.dk >
* include/glibtop/fsusage.h: Added block_size field. (Closes : #125049 )
2004-03-09 23:28:48 +00:00
Bastien Nocera
2ae3495a87
remove dependency on libgnome, check for linux/isdn.h for distros using
...
2004-03-04 Bastien Nocera <hadess@hadess.net >
* configure.in:
* include/libgtop-i18n.h:
* lib/lib.pl:
* lib/read.c:
* lib/read_data.c:
* lib/write.c:
* sysdeps/names/cpu.c:
* sysdeps/names/fsusage.c:
* sysdeps/names/loadavg.c:
* sysdeps/names/mem.c:
* sysdeps/names/mountlist.c:
* sysdeps/names/msg_limits.c:
* sysdeps/names/netload.c:
* sysdeps/names/ppp.c:
* sysdeps/names/procargs.c:
* sysdeps/names/prockernel.c:
* sysdeps/names/proclist.c:
* sysdeps/names/procmap.c:
* sysdeps/names/procmem.c:
* sysdeps/names/procsegment.c:
* sysdeps/names/procsignal.c:
* sysdeps/names/procstate.c:
* sysdeps/names/proctime.c:
* sysdeps/names/procuid.c:
* sysdeps/names/sem_limits.c:
* sysdeps/names/shm_limits.c:
* sysdeps/names/swap.c:
* sysdeps/names/sysdeps.c:
* sysdeps/names/uptime.c: remove dependency on libgnome,
check for linux/isdn.h for distros using the 2.6 kernel headers
2004-03-04 15:29:16 +00:00
Bastien Nocera
31133cc3dc
install only one library, libgtop-2.0 Fix build-time warnings due to the
...
2003-10-21 Bastien Nocera <hadess@hadess.net >
* Makefile.am:
* configure.in:
* src/inodedb/.cvsignore:
* sysdeps/names/Makefile.am:
install only one library, libgtop-2.0
Fix build-time warnings due to the redefinition of guint64
2003-10-21 21:21:28 +00:00
Bastien Nocera
b67e4c7f7d
- fixed compilation
2003-10-20 15:20:16 +00:00
Bastien Nocera
ba36a20cb8
- replace all the xmalloc crap by glib memory management functions
2003-10-20 13:55:44 +00:00
Bastien Nocera
af8478ca5f
removed traces of guile, intllibs and libgnomesupport
...
2003-10-20 Bastien Nocera <hadess@hadess.net >
* lib/Makefile.am:
* libgtop-config.in:
* libgtop.spec.in:
* libgtopConf.sh.in:
* src/inodedb/Makefile.am: removed traces of guile, intllibs and
libgnomesupport
2003-10-20 13:14:53 +00:00
Carlos Perelló Marín
4c8ae9e25c
Reverted libgtop changes. It's a common module and I should not modify it.
...
2003-10-19 Carlos Perelló Marín <carlos@gnome.org >
* support/*: Reverted libgtop changes. It's a common module
and I should not modify it.
* Added/removed files. Now the move should be done.
2003-10-19 16:55:56 +00:00
Martin Baulig
3c3dfcd77d
The LibGTop examples have been moved into their own top-level module
...
1999-10-24 Martin Baulig <martin@home-of-linux.org >
The LibGTop examples have been moved into their own top-level
module libgtop-examples.
* examples/*: Removed.
* configure.in: Removed all checks for the examples.
* libgtop-sysdeps.m4: Removed --with-libgtop-examples parameter.
* Makefile.am: Removed examples from the subdir list.
1999-10-24 15:51:28 +00:00
Elliot Lee
3a3899fda1
Make it build with gcc 2.95.1
...
Make it build with gcc 2.95.1
1999-08-19 20:12:23 +00:00
Martin Baulig
9152479981
Fixed all warnings.
1999-07-30 21:03:22 +00:00
Martin Baulig
f248d99d7a
Minor Alpha fixes (merged from stable).
1999-05-27 23:15:56 +00:00
Martin Baulig
ca80d88a74
*** empty log message ***
1999-05-27 22:26:41 +00:00
Martin Baulig
56765d966f
Use LibGTop version conditionals so we can more easily merge the code into
...
1999-05-28 Martin Baulig <martin@home-of-linux.org >
* first.c, second.c: Use LibGTop version conditionals so we can
more easily merge the code into LIBGTOP_STABLE_1_0.
1999-05-27 22:25:43 +00:00
Drazen Kacar
27dbd28c5c
Changed pfintf formats to "%lld" when printing u_int64_t. This is still
...
* mountlist.c: Changed pfintf formats to "%lld" when printing
u_int64_t. This is still utterly unportable, but will
hopefully work on all supported architectures. For now.
1999-05-08 04:40:44 +00:00
Martin Baulig
83bc7b831d
Renamed this to `libgtop_timersub' and define it on all systems.
...
1999-05-07 Martin Baulig <martin@home-of-linux.org >
* timings.c (timersub): Renamed this to `libgtop_timersub' and define
it on all systems.
1999-05-07 11:06:39 +00:00
Martin Baulig
6120c5e4a8
Use (1L << feature)' instead of
(1 << feature)' to avoid problems
...
with integer overflows when we add more fields.
1999-05-06 21:35:36 +00:00