summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* LibGTop 2.7.4.LIBGTOP_2_7_4Benoît Dejean2004-07-202-2/+16
| | | | | * NEWS: * configure.in: LibGTop 2.7.4.
* LibGTop 2.7.4.Benoît Dejean2004-07-201-0/+5
| | | | | * NEWS: * configure.in: LibGTop 2.7.4.
* Updated.Benoît Dejean2004-07-2060-3653/+4874
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * am.po: * ar.po: * az.po: * be.po: * bg.po: * bn.po: * ca.po: * cs.po: * cy.po: * da.po: * de.po: * el.po: * en_CA.po: * en_GB.po: * es.po: * et.po: * eu.po: * fa.po: * fi.po: * fr.po: * ga.po: * gl.po: * gu.po: * he.po: * hi.po: * hr.po: * hu.po: * id.po: * it.po: * ja.po: * ko.po: * lt.po: * lv.po: * mi.po: * mk.po: * ml.po: * mn.po: * ms.po: * nl.po: * nn.po: * no.po: * pa.po: * pl.po: * pt.po: * pt_BR.po: * ro.po: * ru.po: * sk.po: * sl.po: * sq.po: * sr.po: * sr@Latn.po: * sv.po: * ta.po: * tr.po: * uk.po: * vi.po: * zh_CN.po: * zh_TW.po: Updated.
* UpdatedBenoît Dejean2004-07-201-0/+2
|
* Updated Albanian translation.Laurent Dhima2004-07-192-48/+64
| | | | | | 2004-07-19 Laurent Dhima <laurenti@alblinux.net> * sq.po: Updated Albanian translation.
* Updated Czech translation.Miloslav Trmac2004-07-192-43/+63
| | | | | | 2004-07-19 Miloslav Trmac <mitr@volny.cz> * cs.po: Updated Czech translation.
* Updated Canadian English translation.Adam Weinberger2004-07-182-45/+64
| | | | * en_CA.po: Updated Canadian English translation.
* Glibify a bit more. Closes #147618.Benoît Dejean2004-07-1822-41/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/reference.texi: * include/glibtop/command.h: * include/glibtop/glib-arrays.h: * include/glibtop/proclist.h: * lib/glib-arrays.c: (glibtop_get_proclist_as_array_l): * lib/lib.pl: * scripts/c_types.pl: * src/daemon/main.c: (handle_parent_connection): * src/daemon/slave.c: (handle_slave_connection): * support/mkstemp.c: * sysdeps/aix/proclist.c: (glibtop_get_proclist_s): * sysdeps/freebsd/cpu.c: (glibtop_get_cpu_p): * sysdeps/freebsd/prockernel.c: (glibtop_get_proc_kernel_p): * sysdeps/freebsd/proclist.c: (glibtop_get_proclist_p): * sysdeps/freebsd/procmem.c: (glibtop_get_proc_mem_p): * sysdeps/kernel/proclist.c: (glibtop_get_proclist_s): * sysdeps/linux/proclist.c: (glibtop_get_proclist_s): * sysdeps/osf1/proclist.c: (glibtop_get_proclist_p): * sysdeps/solaris/proclist.c: (glibtop_get_proclist_s): * sysdeps/stub/proclist.c: (glibtop_get_proclist_s): * sysdeps/stub_suid/proclist.c: (glibtop_get_proclist_p): * sysdeps/sun4/proclist.c: (glibtop_get_proclist_p): Glibify a bit more. Closes #147618.
* Updated. Closes #147822.Benoît Dejean2004-07-182-1/+4
| | | | * POTFILES.in: Updated. Closes #147822.
* Added read, write. This members provides total read and write in bytesBenoît Dejean2004-07-173-10/+25
| | | | | | | | * include/glibtop/fsusage.h: Added read, write. This members provides total read and write in bytes since boot_time. * include/glibtop/netload.h: Added hwaddress : provides harware address, eg MAC address. mtu, address and subnet are now guint32.
* Started implementation of read, write. Code should be splitted into archBenoît Dejean2004-07-173-32/+60
| | | | | | | * fsusage.c: (glibtop_get_fsusage_s): Started implementation of read, write. Code should be splitted into arch specific files. * mountlist.c: (glibtop_get_mountlist_s): glibify. Used GArray.
* Added to repository. WIP.Benoît Dejean2004-07-178-75/+192
| | | | | | | | | | | | | | | | | | | * Makefile.am: * fsusage.c: (linux_2_6_0), (linux_2_4_0), (_glibtop_linux_get_fsusage_read_write): Added to repository. WIP. * glibtop_server.h: LINUX_VERSION -> LINUX_VERSION_CODE * netload.c: (glibtop_get_netload_s): Cleanups. Added support for hardware address. s/LINUX_VERSION/LINUX_VERSION_CODE/ * open.c: (get_linux_version): s/LINUX_VERSION/LINUX_VERSION_CODE/ * procmap.c: (glibtop_get_proc_map_s): glibify: used GArray * procuid.c: (glibtop_get_proc_uid_s): s/LINUX_VERSION/LINUX_VERSION_CODE/. Used Linux MKDEV.
* Added GLIBTOP_PROCESS_DEAD constant.Benoît Dejean2004-07-152-0/+5
| | | | * include/glibtop/procstate.h: Added GLIBTOP_PROCESS_DEAD constant.
* Fixed copy/paste error while setting buf->state.Benoît Dejean2004-07-152-1/+6
| | | | | * procstate.c: (glibtop_get_proc_state_p): Fixed copy/paste error while setting buf->state.
* Wake, we're libgtop2.7.x, lets get rid of old buf->state format. Now usingBenoît Dejean2004-07-152-1/+37
| | | | | | * procstate.c: (glibtop_get_proc_state_s): Wake, we're libgtop2.7.x, lets get rid of old buf->state format. Now using bitfield instead letters.
* Updated Bulgarian translation by Rostislav Raykov <zbrox@i-space.org>Alexander Shopov2004-07-082-1471/+1452
| | | | | | | 2004-07-08 Alexander Shopov <ash@contact.bg> * bg.po: Updated Bulgarian translation by Rostislav Raykov <zbrox@i-space.org>
* Added new glibtop_get_proc_argv*() functions. These are more easier to useBenoît Dejean2004-07-072-16/+62
| | | | | | * include/glibtop/procargs.h: Added new glibtop_get_proc_argv*() functions. These are more easier to use than glibtop_get_proc_args*(). They return a NULL-terminated array of string (like main's char* argv[]).
* Added glibtop_get_proc_argv demo.Benoît Dejean2004-07-072-0/+34
| | | | * procargs.c: Added glibtop_get_proc_argv demo.
* Fixed. error is now correctly set to NULL before is's used. Fixed max_lenBenoît Dejean2004-07-072-4/+10
| | | | | * procargs.c: (glibtop_get_proc_args_s): Fixed. error is now correctly set to NULL before is's used. Fixed max_len behaviour.
* Added file to repository. Provides glibtop_get_proc_argv*() for systemBenoît Dejean2004-07-073-0/+75
| | | | | | | | * Makefile.am: * procargs.c: (split_args0), (glibtop_get_proc_argv_l), (glibtop_get_proc_argv_p), (glibtop_get_proc_argv_s): Added file to repository. Provides glibtop_get_proc_argv*() for system dependant glibtop_get_proc_args*().
* updated. Added glibtop_get_proc_argv. Added glibtop_fsusage.block_size.Benoît Dejean2004-07-072-1/+34
| | | | | | * reference.texi: updated. Added glibtop_get_proc_argv. Added glibtop_fsusage.block_size.
* Removed netinfo.[ch] that were never used.Benoît Dejean2004-07-074-140/+7
| | | | | | * include/glibtop/netinfo.h: * structures.def: * sysdeps/names/netinfo.c: Removed netinfo.[ch] that were never used.
* Added missing fsusage names.Benoît Dejean2004-07-032-4/+10
| | | | * sysdeps/names/fsusage.c: Added missing fsusage names.
* Removed useless memset.Benoît Dejean2004-07-032-2/+4
| | | | * sysinfo.c: (init_sysinfo): Removed useless memset.
* Moved foward declaration of glibtop to break circular #includesBenoît Dejean2004-07-032-1/+9
| | | | | * glibtop.h: Moved foward declaration of glibtop to break circular #includes dependencies.
* Added. These functions are commonly used. Misc cleanups.Benoît Dejean2004-07-0310-118/+92
| | | | | | | | | | | | | | * glibtop_server.h: * glibtop_server.c: (try_file_to_buffer), (file_to_buffer): Added. These functions are commonly used. Misc cleanups. * cpu.c: (glibtop_get_cpu_s): * loadavg.c: (glibtop_get_loadavg_s): * mem.c: (glibtop_get_mem_s): * open.c: (glibtop_open_s): * swap.c: (glibtop_get_swap_s): * sysinfo.c: (init_sysinfo): * uptime.c: (glibtop_get_uptime_s): Replaced open/read/close by file_to_buffer().
* Translation updated.Laurent Dhima2004-06-282-3/+11
| | | | | | 2004-06-28 Laurent Dhima <laurenti@alblinux.net> * sq.po: Translation updated.
* Added mi to ALL_LINGUAS.John C Barstow2004-06-261-1/+1
| | | | | | 2004-06-26 John C Barstow <jbowtie@amathaine.com> * configure.in: Added mi to ALL_LINGUAS.
* Translation added.John C Barstow2004-06-262-0/+1407
| | | | | | 2004-06-26 John C Barstow <jbowtie@amathaine.com> * mi.po: Translation added.
* *** empty log message ***Benoît Dejean2004-06-2010-7/+14
|
* *** empty log message ***Benoît Dejean2004-06-1811-140/+134
|
* Also tries C99 __VA_ARGS__ before using functions.Benoît Dejean2004-06-182-1/+14
| | | | | * include/glibtop/error.h: Also tries C99 __VA_ARGS__ before using functions.
* Moved 8 static error functions to sysdeps/common/error.c. This is the endBenoît Dejean2004-06-186-116/+44
| | | | | | | | | | | | * include/glibtop/error.h: Moved 8 static error functions to sysdeps/common/error.c. This is the end of an big useless code bloat : expect ~8KB of object size reduction. * include/glibtop/procuid.h: s/int/gint32/g * lib/errors.c: (glibtop_error_quark): * lib/read.c: (do_read), (glibtop_read_l): * lib/read_data.c: (glibtop_read_data_l): Minor cleanups.
* These functions are now globally defined.Benoît Dejean2004-06-182-1/+90
| | | | | | | * error.c: (print_server_name), (glibtop_error_r), (glibtop_warn_r), (glibtop_error_io_r), (glibtop_warn_io_r), (glibtop_error), (glibtop_warn), (glibtop_error_io), (glibtop_warn_io): These functions are now globally defined.
* Whitespace cleanup.Benoît Dejean2004-06-1810-62/+60
| | | | | | | | | | | | | | | | | | * loadavg.c: (glibtop_get_loadavg_s): Whitespace cleanup. * ppp.c: (get_ISDN_stats), (is_ISDN_on): Replace g_malloc by an array. * glibtop_server.c: (get_pageshift): * glibtop_server.h: * procmem.c: (glibtop_init_proc_mem_s), (glibtop_get_proc_mem_s): * procsegment.c: (glibtop_init_proc_segment_s), (glibtop_get_proc_segment_s): Moved the pageshift calculation to glibtop_server.[ch] * procstate.c: (glibtop_get_proc_state_s): * procuid.c: (glibtop_get_proc_uid_s): * sysinfo.c: (init_sysinfo): Minor cleanups.
* Added IPv6 feature : provides address, prefix and scope. This breaks theBenoît Dejean2004-06-183-8/+37
| | | | | | | * sysdeps/names/netload.c: * include/glibtop/netload.h: Added IPv6 feature : provides address, prefix and scope. This breaks the ABI. Not documented yet : check this file.
* Implemented new IPv6 feature.Benoît Dejean2004-06-182-0/+71
| | | | * netload.c: (glibtop_get_netload_s): Implemented new IPv6 feature.
* Replaced by g_file_get_contents.Benoît Dejean2004-06-132-3/+7
| | | | * procargs.c: (glibtop_get_proc_args_s): Replaced by g_file_get_contents.
* Replaced by g_file_get_contents.Benoît Dejean2004-06-131-43/+15
| | | | * procargs.c: (glibtop_get_proc_args_s): Replaced by g_file_get_contents.
* *** empty log message ***Benoît Dejean2004-06-131-1/+1
|
* Re-implemented. Fixed segfault on SMP. Stores keys in cpuinfo->labelsBenoît Dejean2004-06-132-2/+3
| | | | | | * sysinfo.c: (init_sysinfo): Re-implemented. Fixed segfault on SMP. Stores keys in cpuinfo->labels
* Added missing const qualifier.Benoît Dejean2004-06-124-2/+10
| | | | * sysinfo.c: Added missing const qualifier.
* Fixed segfault on SMP.Benoît Dejean2004-06-122-1/+3
| | | | * sysinfo.c: (init_sysinfo): Fixed segfault on SMP.
* Fixed segfault on SMP.Benoît Dejean2004-06-121-2/+2
| | | | * sysinfo.c: (init_sysinfo): Fixed segfault on SMP.
* Changed get_sysinfo prototype so that it returns a const pointer. AddedBenoît Dejean2004-06-122-7/+13
| | | | | * include/glibtop/sysinfo.h: Changed get_sysinfo prototype so that it returns a const pointer. Added missing macro.
* Cleaned. (proc_file_to_buffer): Uninlined.Benoît Dejean2004-06-124-50/+95
| | | | | | | | * glibtop_server.h: * glibtop_server.c: (get_scaled): Cleaned. (proc_file_to_buffer): Uninlined. * sysinfo.c: (init_sysinfo): Re-implemented.
* block_size is now defined as a guint32 instead of a fuzzy gint.Benoît Dejean2004-06-123-2/+9
| | | | | | | * include/glibtop/fsusage.h: block_size is now defined as a guint32 instead of a fuzzy gint. * lib/sysdeps.c: (glibtop_get_sysdeps_r): Small cleanup.
* Removed files.Benoît Dejean2004-06-125-145/+54
| | | | | | | | * Makefile.am: * fsusage-frontend.c: * fsusage.h: Removed files. * fsusage.c: (glibtop_get_fsusage_s), (statfs): Merged and cleaned.
* Added missing initializer.Benoît Dejean2004-06-122-1/+5
| | | | * lib/init.c: Added missing initializer.
* Removed, replaced by ISO strtoull. (fstype_to_string): Cleaned.Benoît Dejean2004-06-122-102/+96
| | | | | | | | | | * mountlist.c: (xatoi) Removed, replaced by ISO strtoull. (fstype_to_string): Cleaned. (read_filesystem_list) : Changed prototype. Cleaned and secured. Replaced broken free by g_free. (ignore_mount_entry): Added. (glibtop_get_mountlist_s): Cleaned. Better allocation algorithm. @all_fs has now a real meaning, see the documentation.