Compare commits

..

103 Commits

Author SHA1 Message Date
Jeremy Bícha
baf4edd322 New upstream version 2.41.2 2024-01-11 10:28:24 -05:00
Robert Roth
b8460a20ff Prepared release 2.41.2 2023-10-15 14:58:30 +03:00
ToMe25
c7be349744 Change disk example read/write unit to bytes
Also add units to headers
2023-09-13 16:07:12 +00:00
Robert Roth
1efbbd1297 Fixed build on solaris (fixes #47) 2023-09-05 08:09:44 +03:00
Sabri Ünal
f579574b86 Update Turkish translation 2023-08-08 10:46:58 +00:00
ToMe25
079b9e17c5 Fix get_from_pipe potentially reading more bytes than its buffer size 2023-08-04 11:10:55 +00:00
ToMe25
306f5d0c8f Add util-linux to fedora dependencies to fix pipeline failures 2023-08-04 09:26:02 +00:00
Andre Klapper
80cfde7c7f DOAP: Fix 'bug-database' value to point to GNOME GitLab Issues 2023-04-25 15:20:26 +02:00
Robert Antoni Buj Gelonch
f7a00681a9 ZFS on Linux don't should be added to ignore list
See https://github.com/mate-desktop/mate-system-monitor/pull/146
2023-01-10 07:58:12 +02:00
Andrea Azzarone
9d385bdd1a Ignore file systems if mounted with x-gdu.hide userspace mount option.
Scan /run/mount/utab file if present and hide all file systems mounted with x-gdu.hide
userspace mount options.

https://gitlab.gnome.org/GNOME/libgtop/issues/38
2023-01-10 05:44:39 +00:00
David King
5e97014fea Avoid some deprecated networking functions
rpminspect trips up on some old networking functions in libgtop, which
are mentioned as deprecated in the Linux man pages.

inet_ntoa() only works on IPv4 addresses, whereas the newer inet_ntop()
works on both IPv4 and IPv6 addresses, so use inet_ntop() instead.
Similarly, use getaddrinfo() rather than gethostbyname(), and avoid
inet_addr() entirely.

https://bugzilla.redhat.com/show_bug.cgi?id=2050712
2023-01-09 09:50:10 +00:00
ToMe25
66721198b6 Don't try to read System process procargs 2022-12-01 22:02:07 +01:00
Sabri Ünal
507809b648 Update Turkish translation 2022-09-18 08:01:28 +00:00
Zurab Kargareteli
9159e25804 Update Georgian translation 2022-07-21 15:28:41 +00:00
Zurab Kargareteli
b08c3d8685 Update Georgian translation 2022-07-07 18:12:31 +00:00
Charles Monzat
99803b3959 Update French translation 2022-07-07 17:12:28 +00:00
Changqing Li
3b078fafa5 configure.ac: fix cross compile error
On some distros, such as fedora32, cross compile failed
with following error since host library  is used.
undefined reference to `stat64@GLIBC_2.33'

According doc of ld, set searchdir begins with "=", but not hardcoded
locations.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
2022-03-28 12:46:16 +00:00
James Dominic P. Guana
3d7870c961 Add sysinfo example
Retrieve cpu model via hashtable & number of logical cpu via exposed variable

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
James Dominic P. Guana
f92f6ea029 Add sysinfo example
Retrieve cpu model via hashtable & number of logical cpu via exposed variable

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
James Dominic P. Guana
e89475c0b2 Exposes the processor model
Accessing processor model becomes easier

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
Dr. James Dominic P. Guana
629097436a Exposes the processor model
Accessing processor model becomes easier

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
Dr. James Dominic P. Guana
04bf093412 Add processor model
Add processor model

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
Dr. James Dominic P. Guana
69457ccfa9 Add processor model
Add processor model

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
Dr. James Dominic P. Guana
1e3547406a Add processor model
Add processor model

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
ToMe25
3f4dac881b remove autoconf from deps list since it will be installed anyways 2022-03-28 09:01:52 +00:00
ToMe25
4c686019fa Try replacing texinfo package with texinfo-tex package 2022-03-28 09:01:52 +00:00
ToMe25
854d0c7547 remove needless fedora packages 2022-03-28 09:01:52 +00:00
ToMe25
1352f06f6a Fix tzdata config breaking workflow
Also remove libglib2.0 installation since libgirepository1.0-dev should install that anyways
2022-03-28 09:01:52 +00:00
ToMe25
b381fe4e5c update ubuntu glib2 dependency to install fewer useless packages 2022-03-28 09:01:52 +00:00
Avinash Sonawane
fca7a38be8 Remove obsolete macro AC_HEADER_TIME 2022-03-28 08:16:14 +00:00
Avinash Sonawane
df6393ac0c Pass correct parameter 2022-03-28 07:59:57 +00:00
Avinash Sonawane
7e9fed1513 Use correct format specifiers 2022-03-28 07:59:57 +00:00
Avinash Sonawane
f5ced2028d Declare functions as static to silence clang warnings 2022-03-28 07:59:57 +00:00
Avinash Sonawane
1cb23c7b83 Place parentheses to silence clang warnings 2022-03-28 07:59:57 +00:00
ToMe25
b1b05985b1 Change some openbsd errors to warnings
This allows the gnome-system-monitor to run.
It causes continous log spam and the network monitor doesn't work, but it doesn't crash on startup anymore.
2022-03-28 05:39:15 +00:00
David King
cfe1ef95d4 daemon: Do not attempt chown/chmod with DESTDIR
https://gitlab.gnome.org/GNOME/libgtop/-/issues/48
2022-03-28 05:23:42 +00:00
Josselin Mouette
246ec92cab daemon: Install to libexecdir, not bindir
https://bugzilla.gnome.org/show_bug.cgi?id=602664
https://gitlab.gnome.org/GNOME/libgtop/-/issues/17
2022-03-28 05:23:42 +00:00
James Dominic P. Guana
e68d20f739 Skip loop and rom 2022-03-28 04:55:26 +00:00
James Dominic P. Guana
48ad21d329 Skip loop and rom 2022-03-28 04:55:26 +00:00
Yosef Or Boczko
e48d1a9c38 Update Hebrew translation 2022-02-14 15:00:20 +00:00
Naala Nanba
027c959fa0 Add Abkhazian translation 2022-02-08 21:15:11 +00:00
Andre Klapper
a5b2b6db98 Replace Bugzilla link with link to GitLab 2021-08-24 00:54:06 +02:00
Quentin PAGÈS
6b60695f99 Update Occitan translation 2021-07-04 16:58:25 +00:00
Alexey Rubtsov
c4ff3788b8 Update Russian translation 2021-06-29 11:02:37 +00:00
Pawan Chitrakar
336d2480d3 Update Nepali translation 2021-05-16 09:12:47 +00:00
ToMe25
24555c48d0 Copy stub sysdeps files to other OS impls to reduce compile errors. 2021-04-24 14:58:33 +02:00
Robert Roth
b51925dbd9 Version bump 2021-04-23 12:57:27 +03:00
Robert Roth
b9bbdf4c9f Update last ABI break id 2021-04-23 12:57:13 +03:00
James Dominic P. Guana
d4ac1eda07 Moved new api variables to the bottom of struct. 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
7889113b99 Fix comment 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
dd342f6486 Changed reserved0 to disk 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
3644ac0f80 fix comment 2 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
ae99056bdf Fix comment 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
572b195407 Make ndisk comment clear 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
d8603f7692 restores original spec files 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
b738a0ae09 Revert "Revert "Updated config and added reference""
This reverts commit 2229253e11.
2021-04-23 09:48:11 +00:00
James Dominic P. Guana
2ec1815e6c Revert "Revert "Code clean up and add example""
This reverts commit ea08151ae6.
2021-04-23 09:48:11 +00:00
James Dominic P. Guana
48595809ed Revert "Revert "Handle LVM and RAID""
This reverts commit 30bf8d0418.
2021-04-23 09:48:11 +00:00
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
ToMe25
68b5269607 Fix msg_limits.c and sem_limits.c error message 2021-04-19 15:40:25 +02:00
robert
43e4c52579 Fix shm_limits.c, sem_limits.c, and msg_limits.c
by using sysctl instead of kvm_nlist

Co-authored-by: jasper <jasper@openbsd.org>
2021-04-19 15:34:58 +02:00
ToMe25
fd162f9cb8 Fix kvm_open issue 2021-04-19 02:50:48 +02:00
ToMe25
b8a0475a42 Fix deleted empty line 2021-04-18 23:49:58 +02:00
ToMe25
76c2e7178a Fix remaining compile errors
Finalize(hopefully) procmap.c fix
copy stub procio.c to fix compile errors
undo rb workaround
2021-04-18 23:36:43 +02:00
ToMe25
7c14ffaf54 Another attempt at getting procmap.c to work
I think this is the closest i've gotten to a version that both compiles and links.
However it doesn't compile, so im not sure.
I might undo all of this, not sure yet.
2021-04-18 21:37:18 +02:00
ToMe25
cfabe09ad8 Fix some more procmap.c issues
Commit acinclude getmntinfo workaround
2021-04-18 17:49:33 +02:00
ToMe25
72124ab005 Undo some procmap.c changes 2021-04-18 04:28:08 +02:00
ToMe25
9e68eb94c3 Fix compilation issues in sysdeps/openbsd/netload.c 2021-04-18 02:45:57 +02:00
ToMe25
5714b6089c Fix openbsd procmap.c compile errors 2021-04-18 01:04:59 +02:00
ToMe25
e1b249d6b7 Minor cleanup 2021-04-12 13:53:49 +02:00
ToMe25
757d90b2ab Install missing dependencies in abi step 2021-04-12 13:53:49 +02:00
ToMe25
065a021a82 Move the abi check to its own job
To make it easier to tell  which check failed
2021-04-12 13:52:25 +02:00
ToMe25
61093d22d9 Add automated test build on ubuntu 2021-04-11 14:05:23 +00:00
Bastien Nocera
cc042e1833 ci: Add ABI check 2021-03-30 11:42:45 +02:00
Bastien Nocera
38b8e65e00 ci: Use builddir != srcdir 2021-03-30 11:23:46 +02:00
Bastien Nocera
32f8317d04 ci: Split off dependency list 2021-03-30 11:23:14 +02:00
Ben
489e090286 Delete empty TODO file. 2021-03-17 20:59:27 +00:00
Niels De Graef
9023171166 Add gitlab-ci.yml file
Start basic, with a single stage that builds for Fedora.
2021-03-17 01:14:02 +01:00
Charles Monzat
7eafc23017 Update French translation 2021-03-14 14:57:12 +00:00
Fran Dieguez
8f179da4ee Update Galician translation 2021-02-24 00:10:02 +00:00
A S Alam
2a34650c28 Update Punjabi translation 2021-02-14 02:42:05 +00:00
Jordi Mas
d94138f45d Update Catalan translation 2021-01-16 14:24:55 +01: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
Juliano Camargo
d49e17039e Update Portuguese translation 2020-09-11 23:50:02 +00:00
Daniel Korostil
267ae64965 Update Ukrainian translation 2020-03-16 15:05:24 +00:00
Jiri Grönroos
c20421275b Update Finnish translation 2020-02-22 15:09:51 +00:00
Zander Brown
5e11fb4405 Update British English translation 2020-02-19 19:03:10 +00:00
sicklylife
6dcc9195ea Update Japanese translation 2020-01-28 15:11:10 +00:00
sicklylife
317841ba04 Update Japanese translation 2020-01-28 15:05:30 +00:00
Ting-Wei Lan
4229d1ea20 Check if sbrk is available
The only use of sbrk in libgtop is in an example which always calls it
with 0. Since the use of sbrk provides no functionality, just skip these
calls when sbrk is not available.

This problem was first reported on FreeBSD Bugzilla because FreeBSD
decides not to support sbrk on ARM64 and RISC-V:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221751

Fix https://gitlab.gnome.org/GNOME/libgtop/issues/46
2020-01-20 07:24:34 +00:00
Umarzuki Bin Mochlis Moktar
9e98bbd98b Update Malay translation 2020-01-08 15:19:03 +00:00
Neel Chauhan
9b4a03ed0a Support FreeBSD 13.0-CURRENT >= 1300062 vm_map_entry 2019-12-15 11:06:37 -05:00
Ting-Wei Lan
34242826d6 Check for kinfo_getfile on FreeBSD
Code in sysdeps/freebsd contains a lot of HAVE_KINFO_GETFILE checks, but
the macro is always undefined because the configure script doesn't check
for it. To fix it, add required checks for kinfo_getfile function.
2019-10-31 20:06:56 +01:00
Jordi Mas
9146c9d0e4 Update Catalan translation 2019-10-08 20:30:06 +02:00
Ting-Wei Lan
31db82efce Mark glibtop_init_s as non-introspectable
This function isn't exported so it should be skipped.

https://gitlab.gnome.org/GNOME/gjs/issues/259
2019-07-24 09:21:32 +00:00
Ting-Wei Lan
0fd23dd185 Allow building with gettext ≥ 0.20
The use of AM_GNU_GETTEXT_VERSION in configure.ac instructs autopoint to
copy po/Makefile.in.in from the exact gettext version. It is fine if the
version of gettext installed on the system has the same minor version
number with the requested version, but it fails if you have a newer
version of gettext because of the mismatch between autoconf macros and
Makefile.in.in.

  *** error: gettext infrastructure mismatch: using a Makefile.in.in
  from gettext version 0.19 but the autoconf macros are from gettext
  version 0.20

Instead of specifying the exact version with AM_GNU_GETTEXT_VERSION, we
can use AM_GNU_GETTEXT_REQUIRE_VERSION to ask autopoint to simply use
the gettext version installed on the system to prevent the mismatch.

This also bumps the version requirement on gettext to 0.19.6 because
AM_GNU_GETTEXT_REQUIRE_VERSION was added in this version.
2019-07-24 17:04:00 +08:00
270 changed files with 16473 additions and 13146 deletions

1283
ABOUT-NLS

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,8 @@
Installation Instructions
*************************
Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software
Foundation, Inc.
Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free
Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -225,7 +225,7 @@ order to use an ANSI C compiler:
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
HP-UX 'make' updates targets which have the same time stamps as their
HP-UX 'make' updates targets which have the same timestamps as their
prerequisites, which makes it generally unusable when shipped generated
files such as 'configure' are involved. Use GNU 'make' instead.

View File

@@ -1,7 +1,7 @@
# Makefile.in generated by automake 1.16.1 from Makefile.am.
# Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -91,8 +91,9 @@ build_triplet = @build@
host_triplet = @host@
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \
am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gtk-doc.m4 \
$(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \
$(top_srcdir)/m4/intlmacosx.m4 \
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
@@ -179,8 +180,8 @@ am__recursive_targets = \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir distdir-am dist dist-all distcheck
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
$(LISP)config.h.in
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
config.h.in
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
@@ -197,15 +198,13 @@ am__define_uniq_tagged_files = \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
DIST_SUBDIRS = po misc include sysdeps lib src examples doc
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(srcdir)/libgtop-2.0.pc.in $(srcdir)/libgtop.spec.in \
$(srcdir)/libgtopconfig.h.in ABOUT-NLS AUTHORS COPYING \
ChangeLog INSTALL NEWS README TODO compile config.guess \
config.rpath config.sub install-sh ltconfig ltmain.sh missing
ChangeLog INSTALL NEWS README compile config.guess \
config.rpath config.sub depcomp install-sh ltconfig ltmain.sh \
missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -244,6 +243,8 @@ am__relativize = \
GZIP_ENV = --best
DIST_ARCHIVES = $(distdir).tar.xz
DIST_TARGETS = dist-xz
# Exists only to be overridden by the user if desired.
AM_DISTCHECK_DVI_TARGET = dvi
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -265,6 +266,8 @@ CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CSCOPE = @CSCOPE@
CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
@@ -276,8 +279,10 @@ ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -328,6 +333,7 @@ LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LSBLK = @LSBLK@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
@@ -337,8 +343,8 @@ MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MSGFMT = @MSGFMT@
MSGFMT_015 = @MSGFMT_015@
MSGMERGE = @MSGMERGE@
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
@@ -363,6 +369,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
TR = @TR@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
@@ -415,6 +422,8 @@ libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
libgtop_top_builddir = @libgtop_top_builddir@
libs_xauth = @libs_xauth@
localedir = @localedir@
localedir_c = @localedir_c@
localedir_c_make = @localedir_c_make@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
@@ -423,6 +432,7 @@ pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
server_programs = @server_programs@
sharedstatedir = @sharedstatedir@
@@ -664,7 +674,6 @@ cscopelist-am: $(am__tagged_files)
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
@@ -750,6 +759,10 @@ dist-xz: distdir
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__post_remove_distdir)
dist-zstd: distdir
tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
$(am__post_remove_distdir)
dist-tarZ: distdir
@echo WARNING: "Support for distribution archives compressed with" \
"legacy program 'compress' is deprecated." >&2
@@ -792,6 +805,8 @@ distcheck: dist
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
*.tar.zst*) \
zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
@@ -807,7 +822,7 @@ distcheck: dist
$(DISTCHECK_CONFIGURE_FLAGS) \
--srcdir=../.. --prefix="$$dc_install_base" \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
@@ -972,7 +987,7 @@ uninstall-am: uninstall-libgtopincludeHEADERS uninstall-pkgconfigDATA
am--refresh check check-am clean clean-cscope clean-generic \
clean-libtool cscope cscopelist-am ctags ctags-am dist \
dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
dist-tarZ dist-xz dist-zip distcheck distclean \
dist-tarZ dist-xz dist-zip dist-zstd distcheck distclean \
distclean-generic distclean-hdr distclean-libtool \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am html html-am info info-am install install-am \

28
NEWS
View File

@@ -1,3 +1,31 @@
15 October 2023: Overview of changes in 2.41.2
================================================
* Solaris
- Fix build #47
* Linux
- Change disk example read/write unit to bytes
- Fixed potential Buffer overflow when reading disk stats
- Changed disk read/write unit to bytes in example
* CI
- Fixed CI by adding missing dependency
10 January 2023 : Overview of changes in 2.41.1
================================================
* FreeBSD
- Build fixes
- Support FreeBSD 13.0-CURRENT >= 1300062 vm_map_entry
* OpenBSD
- Build fixes
* Linux
- skip loop and rom devices
* Allow building with gettext >= 0.20
* Updated translations
* CI build setup
11 March 2019: Overview of changes in 2.40.0
================================================

0
TODO
View File

View File

@@ -263,8 +263,7 @@ AC_CACHE_VAL(fu_cv_sys_mounted_getmntinfo,
[
ok=
if test $ac_cv_func_getmntinfo = yes; then
AC_EGREP_HEADER(f_type;, sys/mount.h,
ok=yes)
AC_EGREP_HEADER(getmntinfo, sys/mount.h, ok=yes)
fi
test -n "$ok" \
&& fu_cv_sys_mounted_getmntinfo=yes \

81
aclocal.m4 vendored
View File

@@ -1,6 +1,6 @@
# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -14,13 +14,13 @@
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
[m4_warning([this file was generated for autoconf 2.69.
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
[m4_warning([this file was generated for autoconf 2.71.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
# Copyright (C) 2002-2018 Free Software Foundation, Inc.
# Copyright (C) 2002-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -35,7 +35,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.16'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.16.1], [],
m4_if([$1], [1.16.5], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.16.1])dnl
[AM_AUTOMAKE_VERSION([1.16.5])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
# AM_CONDITIONAL -*- Autoconf -*-
# Copyright (C) 1997-2018 Free Software Foundation, Inc.
# Copyright (C) 1997-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -141,7 +141,7 @@ AC_CONFIG_COMMANDS_PRE(
Usually this means the macro was only invoked conditionally.]])
fi])])
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -332,7 +332,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# Generate code to set up dependency tracking. -*- Autoconf -*-
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -371,7 +371,9 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
done
if test $am_rc -ne 0; then
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. Try re-running configure with the
for automatic dependency tracking. If GNU make was not used, consider
re-running the configure script with MAKE="gmake" (or whatever is
necessary). You can also try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).])
fi
@@ -398,7 +400,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -426,6 +428,10 @@ m4_defn([AC_PROG_CC])
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_PREREQ([2.65])dnl
m4_ifdef([_$0_ALREADY_INIT],
[m4_fatal([$0 expanded multiple times
]m4_defn([_$0_ALREADY_INIT]))],
[m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -462,7 +468,7 @@ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
[_AM_SET_OPTIONS([$1])dnl
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
m4_if(
m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
[ok:ok],,
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
@@ -514,6 +520,20 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[m4_define([AC_PROG_OBJCXX],
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
# Variables for tags utilities; see am/tags.am
if test -z "$CTAGS"; then
CTAGS=ctags
fi
AC_SUBST([CTAGS])
if test -z "$ETAGS"; then
ETAGS=etags
fi
AC_SUBST([ETAGS])
if test -z "$CSCOPE"; then
CSCOPE=cscope
fi
AC_SUBST([CSCOPE])
AC_REQUIRE([AM_SILENT_RULES])dnl
dnl The testsuite driver may need to know about EXEEXT, so add the
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
@@ -595,7 +615,7 @@ for _am_header in $config_headers :; do
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -616,7 +636,7 @@ if test x"${install_sh+set}" != xset; then
fi
AC_SUBST([install_sh])])
# Copyright (C) 2003-2018 Free Software Foundation, Inc.
# Copyright (C) 2003-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -637,7 +657,7 @@ AC_SUBST([am__leading_dot])])
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -680,7 +700,7 @@ AC_SUBST([am__quote])])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997-2018 Free Software Foundation, Inc.
# Copyright (C) 1997-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -701,12 +721,7 @@ AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
if test x"${MISSING+set}" != xset; then
case $am_aux_dir in
*\ * | *\ *)
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
*)
MISSING="\${SHELL} $am_aux_dir/missing" ;;
esac
MISSING="\${SHELL} '$am_aux_dir/missing'"
fi
# Use eval to expand $SHELL
if eval "$MISSING --is-lightweight"; then
@@ -719,7 +734,7 @@ fi
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -748,7 +763,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -795,7 +810,7 @@ AC_LANG_POP([C])])
# For backward compatibility.
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -814,7 +829,7 @@ AC_DEFUN([AM_RUN_LOG],
# Check to make sure that the build environment is sane. -*- Autoconf -*-
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -895,7 +910,7 @@ AC_CONFIG_COMMANDS_PRE(
rm -f conftest.file
])
# Copyright (C) 2009-2018 Free Software Foundation, Inc.
# Copyright (C) 2009-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -955,7 +970,7 @@ AC_SUBST([AM_BACKSLASH])dnl
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
])
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -983,7 +998,7 @@ fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
# Copyright (C) 2006-2018 Free Software Foundation, Inc.
# Copyright (C) 2006-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1002,7 +1017,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
# Check how to create a tarball. -*- Autoconf -*-
# Copyright (C) 2004-2018 Free Software Foundation, Inc.
# Copyright (C) 2004-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -1133,8 +1148,10 @@ AC_SUBST([am__tar])
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
m4_include([m4/build-to-host.m4])
m4_include([m4/gettext.m4])
m4_include([m4/gtk-doc.m4])
m4_include([m4/host-cpu-c-abi.m4])
m4_include([m4/iconv.m4])
m4_include([m4/intlmacosx.m4])
m4_include([m4/introspection.m4])

View File

@@ -1,5 +1,33 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
RED='\033[0;31m'
NC='\033[0m' # No Color
case "$(uname -s)" in
Linux)
if ! [ -x "$(command -v lsblk)" ]; then
echo '' >&2
echo -e "${RED}*** ERROR:${NC} lsblk cannot be found. Try installing util-linux or util-linux-ng ${RED}***${NC}" >&2
echo '' >&2
exit 1
fi
if ! [ -x "$(command -v sed)" ]; then
echo '' >&2
echo -e "${RED}*** ERROR:${NC} sed cannot be found. ***" >&2
echo '' >&2
exit 1
fi
if ! [ -x "$(command -v tr)" ]; then
echo '' >&2
echo -e "${RED}*** ERROR:${NC} tr cannot be found. ***" >&2
echo '' >&2
exit 1
fi
;;
*)
;;
esac
test -n "$srcdir" || srcdir=$(dirname "$0")
test -n "$srcdir" || srcdir=.

View File

@@ -3,7 +3,7 @@
scriptversion=2018-03-07.03; # UTC
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
@@ -53,7 +53,7 @@ func_file_conv ()
MINGW*)
file_conv=mingw
;;
CYGWIN*)
CYGWIN* | MSYS*)
file_conv=cygwin
;;
*)
@@ -67,7 +67,7 @@ func_file_conv ()
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
cygwin/*)
cygwin/* | msys/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)

1534
config.guess vendored

File diff suppressed because it is too large Load Diff

View File

@@ -3,12 +3,7 @@
/* Define if you have the Andrew File System. */
#undef AFS
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
#undef CRAY_STACKSEG_END
/* Define to 1 if using `alloca.c'. */
/* Define to 1 if using 'alloca.c'. */
#undef C_ALLOCA
/* Define to 1 if translation of program messages to the user's native
@@ -25,19 +20,18 @@
/* Solaris release code (eg. 20501 for Solaris 2.5.1). */
#undef GLIBTOP_SOLARIS_RELEASE
/* Define to 1 if you have `alloca', as a function or macro. */
/* Define to 1 if you have 'alloca', as a function or macro. */
#undef HAVE_ALLOCA
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
/* Define to 1 if <alloca.h> works. */
#undef HAVE_ALLOCA_H
/* Define to 1 if you have the `bcopy' function. */
#undef HAVE_BCOPY
/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
CoreFoundation framework. */
#undef HAVE_CFLOCALECOPYCURRENT
/* Define to 1 if you have the Mac OS X function
CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */
#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES
/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
the CoreFoundation framework. */
@@ -119,6 +113,9 @@
/* defined if you have linux/isdn.h */
#undef HAVE_ISDN_H
/* Define to 1 if you have the `kinfo_getfile' function. */
#undef HAVE_KINFO_GETFILE
/* Define to 1 if you have the `lchown' function. */
#undef HAVE_LCHOWN
@@ -137,6 +134,9 @@
/* Define to 1 if you have the `socket' library (-lsocket). */
#undef HAVE_LIBSOCKET
/* Define to 1 if you have the `util' library (-lutil). */
#undef HAVE_LIBUTIL
/* Define to 1 if you have the <linux/version.h> header file. */
#undef HAVE_LINUX_VERSION_H
@@ -170,6 +170,9 @@
/* Define to 1 if you have the `putenv' function. */
#undef HAVE_PUTENV
/* Define to 1 if you have the `sbrk' function. */
#undef HAVE_SBRK
/* Define if struct sockaddr_un has a sun_len member */
#undef HAVE_SOCKADDR_SUN_LEN
@@ -179,6 +182,9 @@
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdio.h> header file. */
#undef HAVE_STDIO_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
@@ -249,6 +255,9 @@
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
@@ -396,7 +405,9 @@
/* Define if there is a function named statvfs. [SVR4] */
#undef STAT_STATVFS
/* Define to 1 if you have the ANSI C header files. */
/* Define to 1 if all of the C90 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#undef STDC_HEADERS
/* Define to 1 if we need to define KERNEL to get 'struct msginfo' */
@@ -405,9 +416,6 @@
/* Define to 1 if we need to define _KERNEL to get 'struct msginfo' */
#undef STRUCT_MSGINFO_NEEDS__KERNEL
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
#undef TM_IN_SYS_TIME
@@ -440,7 +448,7 @@
/* Define to `long int' if <sys/types.h> does not define. */
#undef off_t
/* Define to `int' if <sys/types.h> does not define. */
/* Define as a signed integer type capable of holding a process identifier. */
#undef pid_t
/* Define to `unsigned int' if <sys/types.h> does not define. */

View File

@@ -2,7 +2,7 @@
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2014 Free Software Foundation, Inc.
# Copyright 1996-2023 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
@@ -371,7 +371,7 @@ else
hardcode_direct=yes
hardcode_minus_L=yes
;;
freebsd* | dragonfly*)
freebsd* | dragonfly* | midnightbsd*)
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
;;
@@ -547,7 +547,7 @@ case "$host_os" in
freebsd[23].*)
library_names_spec='$libname$shrext$versuffix'
;;
freebsd* | dragonfly*)
freebsd* | dragonfly* | midnightbsd*)
library_names_spec='$libname$shrext'
;;
gnu*)

2720
config.sub vendored

File diff suppressed because it is too large Load Diff

10937
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -3,21 +3,21 @@ dnl Configure script for the Gnome library
dnl
m4_define([libgtop_major_version], [2])
m4_define([libgtop_minor_version], [40])
m4_define([libgtop_micro_version], [0])
m4_define([libgtop_minor_version], [41])
m4_define([libgtop_micro_version], [2])
m4_define([libgtop_version], [libgtop_major_version.libgtop_minor_version.libgtop_micro_version])
dnl increment if the interface has additions, changes, removals.
m4_define([libgtop_current], [11])
m4_define([libgtop_current], [12])
dnl increment any time the source changes; set to
dnl 0 if you increment CURRENT
m4_define([libgtop_revision], [1])
m4_define([libgtop_revision], [0])
dnl increment if any interfaces have been added; set to 0
dnl if any interfaces have been removed. removal has
dnl precedence over adding, so set to 0 if both happened.
m4_define([libgtop_age], [0])
m4_define([libgtop_age], [1])
# Increase each time you change the client/server protocol.
m4_define([libgtop_server_version], [5])
@@ -27,7 +27,7 @@ m4_define([libgtop_version_code], [m4_eval(libgtop_major_version * 1000000 + lib
AC_PREREQ(2.62)
AC_INIT([libgtop], [libgtop_version],
[http://bugzilla.gnome.org/enter_bug.cgi?product=libgtop])
[https://gitlab.gnome.org/GNOME/libgtop/-/issues/])
AC_CONFIG_SRCDIR(copyright.txt)
AC_CONFIG_HEADERS(config.h)
@@ -71,6 +71,16 @@ dnl Most people should have a working perl interpreter on their system
AC_CHECK_PROGS(PERL, perl5 perl)
test -z "$PERL" && AC_MSG_ERROR([You need to have a working perl interpreter.])
case "${host_os}" in
linux*)
AC_CHECK_TOOL(LSBLK,lsblk)
AC_CHECK_TOOL(SED,sed)
AC_CHECK_TOOL(TR,tr)
;;
*)
;;
esac
AC_CHECK_TOOL(CC,gcc)
AC_CHECK_TOOL(RANLIB,ranlib)
AC_CHECK_TOOL(AS,as)
@@ -110,10 +120,12 @@ AC_TYPE_OFF_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_STRUCT_ST_RDEV
AC_HEADER_TIME
AC_STRUCT_TM
AC_TYPE_UID_T
dnl Check sys/time.h
AC_CHECK_HEADERS([sys/time.h])
dnl For SunOS
AC_CHECK_TYPE(ssize_t, int)
AC_CHECK_HEADERS(memory.h)
@@ -213,9 +225,11 @@ AC_FUNC_ALLOCA
AC_FUNC_MMAP
AC_TYPE_SIGNAL
AC_FUNC_STRFTIME
AC_CHECK_FUNCS(getcwd gettimeofday getwd putenv strdup strtoul uname)
AC_CHECK_FUNCS(getcwd gettimeofday getwd putenv sbrk strdup strtoul uname)
AM_GNU_GETTEXT_VERSION([0.19.4])
# FIXME: Remove AM_GNU_GETTEXT_VERSION once autoreconf supports REQUIRE_VERSION
AM_GNU_GETTEXT_VERSION([0.19.6])
AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.6])
AM_GNU_GETTEXT([external])
GETTEXT_PACKAGE=libgtop-2.0
@@ -270,8 +284,8 @@ AC_ARG_ENABLE(fatal-warnings,
[Define to enable fatal warnings]))
dnl These definitions are expanded in make.
LIBGTOP_LIBS='-L$(libdir)'
LIBGTOP_INCS='-I$(includedir)/libgtop-2.0'
LIBGTOP_LIBS='-L=$(libdir)'
LIBGTOP_INCS='-I=$(includedir)/libgtop-2.0'
if test x$libgtop_have_sysinfo = xyes ; then
LIBGTOP_INCS="$LIBGTOP_INCS -DHAVE_LIBGTOP_SYSINFO"
@@ -283,8 +297,8 @@ libgtop_save_prefix="$prefix"
libgtop_save_exec_prefix="$exec_prefix"
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
LIBGTOP_BINDIR=`eval echo "${bindir}"`
LIBGTOP_SERVER=`eval echo "${bindir}/libgtop_server2"`
LIBGTOP_BINDIR=`eval echo "${libexecdir}"`
LIBGTOP_SERVER=`eval echo "${libexecdir}/libgtop_server2"`
prefix="$libgtop_save_prefix"
exec_prefix="$libgtop_save_exec_prefix"

838
debian/changelog vendored
View File

@@ -1,838 +0,0 @@
libgtop2 (2.40.0-2) unstable; urgency=medium
* Build-Depend on debhelper-compat 12 and drop debian/compat
* Build-Depend on dh-sequence-gir and dh-sequence-gnome
* Upload to unstable
-- Jeremy Bicha <jbicha@debian.org> Thu, 19 Sep 2019 20:48:32 -0400
libgtop2 (2.40.0-1) experimental; urgency=medium
* New upstream release
-- Jeremy Bicha <jbicha@debian.org> Sat, 16 Mar 2019 09:52:26 -0400
libgtop2 (2.39.90-1) experimental; urgency=medium
* New upstream development release
-- Jeremy Bicha <jbicha@debian.org> Fri, 08 Feb 2019 10:31:29 -0500
libgtop2 (2.38.0-4) unstable; urgency=medium
[ Andrea Azzarone ]
* Add mountlist-ignore-snap-squashfs.patch:
- Ignore snap mounts to keep them from showing in gnome-system-monitor
(LP: #1749007)
-- Jeremy Bicha <jbicha@debian.org> Thu, 27 Dec 2018 22:58:54 -0500
libgtop2 (2.38.0-3) unstable; urgency=medium
* Update Vcs fields for migration to https://salsa.debian.org/
* Bump Standards-Version to 4.3.0
-- Jeremy Bicha <jbicha@debian.org> Thu, 27 Dec 2018 21:36:28 -0500
libgtop2 (2.38.0-2) unstable; urgency=medium
* Update Vcs fields for conversion to git
* Add debian/gbp.conf
* Bump Standards-Version to 4.1.2
* Bump debhelper compat to 11
-- Jeremy Bicha <jbicha@debian.org> Mon, 18 Dec 2017 18:42:18 -0500
libgtop2 (2.38.0-1) unstable; urgency=medium
* New upstream release
-- Jeremy Bicha <jbicha@debian.org> Mon, 11 Sep 2017 20:20:06 -0400
libgtop2 (2.37.90-2) unstable; urgency=medium
* Release to unstable
-- Jeremy Bicha <jbicha@debian.org> Sun, 03 Sep 2017 12:25:17 -0400
libgtop2 (2.37.90-1) experimental; urgency=medium
* New upstream release.
* Rename library to libgtop-2.0-11 to match soname
* Bump Standards-Version to 4.1.0
-- Jeremy Bicha <jbicha@ubuntu.com> Tue, 29 Aug 2017 08:22:12 -0400
libgtop2 (2.34.2-1) unstable; urgency=medium
* New upstream release.
-- Emilio Pozuelo Monfort <pochu@debian.org> Mon, 16 Jan 2017 20:09:58 +0100
libgtop2 (2.34.1-2) unstable; urgency=medium
* Also use dh gir addon to properly generate dependencies.
-- Andreas Henriksson <andreas@fatal.se> Wed, 31 Aug 2016 13:41:37 +0200
libgtop2 (2.34.1-1) unstable; urgency=medium
* New upstream release.
* Update build-dependencies according to configure.ac changes:
- drop intltool
* Convert from cdbs to dh
* Add debian/docs to install AUTHORS NEWS README
-- Andreas Henriksson <andreas@fatal.se> Wed, 31 Aug 2016 10:20:31 +0200
libgtop2 (2.34.0-1) unstable; urgency=medium
* New upstream release.
* Bump Standards-Version to 3.9.8.
-- Michael Biebl <biebl@debian.org> Fri, 15 Apr 2016 00:51:56 +0200
libgtop2 (2.32.0-1) unstable; urgency=medium
* New upstream release.
* Update symbols file and bump shlibs version to 2.32.0.
* Update patches, drop 02_hurd_stub_backend.patch, fixed upstream.
-- Michael Biebl <biebl@debian.org> Thu, 08 Oct 2015 00:12:49 +0200
libgtop2 (2.30.0-3) unstable; urgency=medium
* Upload to unstable.
-- Michael Biebl <biebl@debian.org> Tue, 16 Jun 2015 00:10:47 +0200
libgtop2 (2.30.0-2) experimental; urgency=medium
* Fix build failure on kFreeBSD due to undeclared '__FreeBSD_version',
thanks Steven Chamberlain for the patch. Closes: #788709
-- Michael Biebl <biebl@debian.org> Mon, 15 Jun 2015 21:16:09 +0200
libgtop2 (2.30.0-1) experimental; urgency=medium
[ Jackson Doak ]
* New upstream release.
- Increases maximum CPU limit, which breaks ABI.
* Change library name to libgtop2-10 for new SONAME
* Drop 06_kfreebsd_sys_pipe.patch. Fixed upstream.
[ Michael Biebl ]
* Drop obsolete Replaces from pre-wheezy.
* Convert to multiarch.
* Bump Standards-Version to 3.9.6.
* Bump debhelper compatibility level to 9.
* Rename library package to libgtop-2.0-10 to match the SONAME.
-- Michael Biebl <biebl@debian.org> Sun, 14 Jun 2015 13:04:40 +0200
libgtop2 (2.28.5-2) unstable; urgency=low
* Add explicit Build-Depends on libbsd-dev for kfreebsd.
* Add `pkg-config --cflags libbsd-overlay` to CPPFLAGS on kfreebsd. This
let's code expecting bsd headers on bsd work without patching. Thanks
Julien Cristau for the suggestion. Closes: #721886
-- Michael Biebl <biebl@debian.org> Sun, 08 Sep 2013 14:31:03 +0200
libgtop2 (2.28.5-1) unstable; urgency=low
* New upstream release.
* Remove those kfreebsd patches which have been merged upstream.
* Drop 99_ltmain_as-needed.patch and use dh_autoreconf --as-needed instead.
* Bump Standards-Version to 3.9.4. No further changes.
-- Michael Biebl <biebl@debian.org> Thu, 05 Sep 2013 02:53:46 +0200
libgtop2 (2.28.4-3) unstable; urgency=low
* debian/patches/06_kfreebsd_sys_pipe.patch: Don't include sys/pipe.h on
kFreeBSD. Defining _KERNEL to include sys/pipe.h subsequently breaks
sys/conf.h; since sys/pipe.h is not meant to be used in userland, and
libgtop2 builds anyway on kFreeBSD without it, don't include it.
Thanks to Steven Chamberlain for the patch. Closes: #667984
* Update Vcs-* URLs.
* Drop Build-Depends on gir1.2-glib-2.0 and let libgirepository1.0-dev pull
this dependency.
* Bump Standards-Version to 3.9.3.
-- Michael Biebl <biebl@debian.org> Fri, 13 Apr 2012 20:13:21 +0200
libgtop2 (2.28.4-2) unstable; urgency=low
* debian/watch: Track .xz tarballs.
* Bump debhelper compatibility level to 8.
- Strip debian/tmp/ from .install files.
- Bump Build-Depends on debhelper.
* debian/control.in:
- Drop obsolete versioned Build-Depends on dpkg-dev.
- Tighten dependency between libgtop2-dev and gir1.2-gtop-2.0.
- Change section of gir1.2-gtop-2.0 to introspection.
- Drop obsolete Replaces.
- Set pkg-gnome-maintainers@lists.alioth.debian.org as Maintainer.
* debian/libgtop2-7.symbols:
- Add symbols file for improved shlibs dependencies.
-- Michael Biebl <biebl@debian.org> Wed, 14 Dec 2011 21:20:53 +0100
libgtop2 (2.28.4-1) unstable; urgency=low
[ Martin Pitt ]
* New upstream bug fix release.
* 03_kfreebsd_installdirs.patch, 05_kfreebsd_8.0.patch,
99_ltmain_as-needed.patch: Update for new version.
* debian/control.in: Fix section of gir1.2-gtop-2.0, should be "libs" (and
was set like that by ftpmasters).
* debian/watch: Fix regexp syntax, and watch for *.tar.bz2.
* debian/source/format, debian/control, debian/rules: Switch to "3.0
(quilt)" source format to support bzip2 orig tarballs. Drop quilt build
dependency and usage in debian/rules.
[ Josselin Mouette ]
* Use kfreebsd-any wildcard. Closes: #634623.
-- Martin Pitt <mpitt@debian.org> Tue, 06 Sep 2011 14:19:01 +0200
libgtop2 (2.28.3-2) unstable; urgency=low
* debian/control.in, debian/gir1.2-gtop-2.0.install: Add gir1.2-gtop-2.0
package to add GI support.
* debian/libgtop2-dev.install: Install .gir.
* debian/control.in: Bump Standards-Version to 3.9.2. No changes necessary.
-- Martin Pitt <mpitt@debian.org> Fri, 27 May 2011 09:56:48 +0200
libgtop2 (2.28.3-1) unstable; urgency=low
* Team upload.
* New upstream release.
- Fixes linking with strict linkers (Closes: #555183)
* Use dh-autoreconf instead of manually updating 90_autotools.patch
* Add Vcs fields to debian/control*
-- Andreas Henriksson <andreas@fatal.se> Mon, 02 May 2011 16:00:40 +0200
libgtop2 (2.28.1-1) unstable; urgency=low
[ Emilio Pozuelo Monfort ]
* debian/patches/02_hurd_stub_backend.patch,
debian/patches/03_kfreebsd_installdirs.patch,
debian/patches/04_kfreebsd_version_check.patch,
debian/patches/05_kfreebsd_8.0.patch:
- Add headers.
[ Sebastian Dröge ]
* New upstream stable release:
+ debian/patches/90_autotools.patch:
- Regenerated for the new version.
-- Sebastian Dröge <slomo@debian.org> Sat, 10 Apr 2010 06:56:34 +0200
libgtop2 (2.28.0-4) unstable; urgency=low
[ Josselin Mouette ]
* 05_kfreebsd_8.0.patch: modified patch from Petr Salinger to make
libgtop2 work correctly with kFreeBSD 8.0. Closes: #559291.
-- Emilio Pozuelo Monfort <pochu@debian.org> Tue, 15 Dec 2009 12:16:51 +0100
libgtop2 (2.28.0-3) unstable; urgency=low
* Switch to quilt for patch management.
* 02_hurd_stub_backend.patch: re-add an implementation of the stub
backend, for the Hurd. Closes: #557446.
* 03_kfreebsd_installdirs.patch: patch to install binaries in
libexecdir so that we can version the installation directory. Also
use DESTDIR in the installation hooks.
* 04_kfreebsd_version_check.patch: drop brain-dead runtime version
check.
* Rename 90_autoconf.patch to 90_autotools.patch, re-run all the
autotools on top of that.
* Pass a versioned libexecdir to the configure arguments.
* Install the server binary on kfreebsd.
* Exclude it from dh_fixperms.
-- Josselin Mouette <joss@debian.org> Sun, 22 Nov 2009 21:17:18 +0100
libgtop2 (2.28.0-2) unstable; urgency=low
* debian/patches/01_kfreebsd_kvm_libs.patch:
- Patch from Petr Salinger to let libgtop2 build on kFreeBSD again.
Closes: #555316.
* debian/patches/90_autoconf.patch:
- Run autoconf on top of the above patch.
-- Emilio Pozuelo Monfort <pochu@debian.org> Mon, 09 Nov 2009 23:04:50 +0100
libgtop2 (2.28.0-1) unstable; urgency=low
* New upstream release.
* Add a new libgtop2-doc package and ship the html documentation on it.
Also move the info document from the -dev package to the new -doc one.
* debian/watch: Don't uupdate.
* debian/control.in:
- Standards-Version is 3.8.3, no changes needed.
- Let libgtop2-7 and libgtop2-common inherit the section from the source
stanza.
- Unduplicate some short descriptions.
* debian/copyright: Updated.
-- Emilio Pozuelo Monfort <pochu@debian.org> Mon, 21 Sep 2009 23:51:39 +0200
libgtop2 (2.26.1-1) unstable; urgency=low
[ Luca Bruno ]
* New upstream release.
* debian/copyright:
- Specify GPL version 2.
- Don't mention /usr/share/doc/libgtop2*/AUTHORS, all upstream authors
are already listed here.
* debian/control.in:
- Updated Standards-Version to 3.8.1, no additional changes needed.
- Add ${misc:Depends} to all packages.
[ Josselin Mouette ]
* Fix incorrect Replaces:.
* Remove the FreeBSD-specific libraries from the -dev dependencies,
they are not needed to build libgtop2-based applications.
* Add missing build-dependencies.
-- Josselin Mouette <joss@debian.org> Thu, 11 Jun 2009 09:15:19 +0200
libgtop2 (2.24.3-1) unstable; urgency=low
* New upstream bugfix release.
-- Josselin Mouette <joss@debian.org> Wed, 04 Mar 2009 17:47:56 +0100
libgtop2 (2.24.0-1) experimental; urgency=low
* New upstream release.
* Bump shlibs version to 2.23.2.
* Bump intltool requirement to 0.35.0.
-- Josselin Mouette <joss@debian.org> Fri, 21 Nov 2008 19:18:22 +0100
libgtop2 (2.22.3-1) unstable; urgency=low
* New upstream bugfix release.
* debian/control.in:
+ Updated Standards-Version to 3.8.0, no additional changes needed.
+ Build depend on intltool as it's now required.
-- Sebastian Dröge <slomo@debian.org> Tue, 01 Jul 2008 10:11:55 +0200
libgtop2 (2.22.2-1) unstable; urgency=low
* New upstream bugfix release:
+ Fixes parsing of large /proc/stat on Linux.
-- Sebastian Dröge <slomo@debian.org> Sun, 25 May 2008 17:00:32 +0200
libgtop2 (2.22.1-1) unstable; urgency=low
* New upstream bugfix release:
+ Fixes build on non-Linux archs (Closes: #473211).
* debian/rules,
debian/control.in:
+ Patch by Petr Salinger to let the -dev package depend on all required
packages on GNU/kFreeBSD.
-- Sebastian Dröge <slomo@debian.org> Fri, 04 Apr 2008 21:08:49 +0200
libgtop2 (2.22.0-1) unstable; urgency=low
* New upstream stable release.
-- Sebastian Dröge <slomo@debian.org> Fri, 14 Mar 2008 11:55:57 +0100
libgtop2 (2.20.2-1) unstable; urgency=low
* New upstream bugfix release:
+ Fixes smaps parsing with Linux kernel >= 2.6.24.
-- Sebastian Dröge <slomo@debian.org> Sat, 08 Mar 2008 05:02:09 +0100
libgtop2 (2.20.1-1) unstable; urgency=low
* New upstream bugfix release.
-- Sebastian Dröge <slomo@debian.org> Tue, 08 Jan 2008 14:07:50 +0100
libgtop2 (2.20.0-2) unstable; urgency=low
* debian/patches/01_kfreebsd.patch,
debian/control.in:
+ Fix FTBFS on GNU/kFreeBSD. Thanks to Petr Salinger for the patch
(Closes: #456936).
* debian/control.in:
+ Update Standards-Version to 3.7.3, no additional changes needed.
* debian/patches/99_ltmain_as-needed.patch,
debian/rules:
+ Link with --as-needed to remove some unnecessary dependencies.
-- Sebastian Dröge <slomo@debian.org> Sat, 05 Jan 2008 07:14:55 +0100
libgtop2 (2.20.0-1) unstable; urgency=low
* New upstream release, with some API additions.
* debian/control.in:
+ Remove libpopt-dev from build-depends.
* debian/rules:
+ Bump shlibs to >= 2.20.0.
-- Sebastian Dröge <slomo@debian.org> Mon, 17 Sep 2007 06:21:20 +0200
libgtop2 (2.14.9-1) unstable; urgency=low
* New upstream stable release, with some API and ABI removals of
glibtop_init_*() functions which shouldn't have been public and are not
known to be used by anything else.
-- Loic Minier <lool@dooz.org> Wed, 20 Jun 2007 15:16:55 +0200
libgtop2 (2.14.8-2) unstable; urgency=low
* Upload to unstable; drop check-dist include.
* Add CVE id, GNOME bug id, and SVN rev to 2.14.8-1.
* Bump up Debhelper compatibility level to 5; fix bogus /usr/include/gnome
in libgtop2-dev.install.
* Update watch file to track all stable branches and use HTTP.
* Drop useless debian/libgtop-dev.postinst; cleanups.
* Wrap build-deps and deps.
-- Loic Minier <lool@dooz.org> Wed, 11 Apr 2007 16:13:37 +0200
libgtop2 (2.14.8-1) experimental; urgency=low
* Include the new check-dist Makefile to prevent accidental uploads to
unstable; bump build-dep on gnome-pkg-tools to >= 0.10.
* New upstream stable releases.
- 2.14.7 fixed CVE-2007-0235; GNOME #396477; SVN r2546.
-- Loic Minier <lool@dooz.org> Sun, 11 Mar 2007 17:05:45 +0100
libgtop2 (2.14.6-1) experimental; urgency=low
* Add a get-orig-source target to retrieve the upstream tarball.
* New upstream release; no API or ABI change.
-- Loic Minier <lool@dooz.org> Sun, 14 Jan 2007 20:56:18 +0100
libgtop2 (2.14.5-1) experimental; urgency=low
* New upstream release.
- Target at experimental.
- Drop patch 10_kfreebsd, merged upstream.
-- Loic Minier <lool@dooz.org> Sun, 7 Jan 2007 18:27:40 +0100
libgtop2 (2.14.4-2) unstable; urgency=low
* New patch, 10_kfreebsd, to build-depend and depend on libkvm-dev on
kfreebsd, to update the m4 macros to detect __FreeBSD_kernel__, and to
update configure; thanks Petr Salinger; closes: #399270.
-- Loic Minier <lool@dooz.org> Sun, 19 Nov 2006 10:59:47 +0100
libgtop2 (2.14.4-1) unstable; urgency=low
* New upstream release; no API change.
-- Loic Minier <lool@dooz.org> Sun, 17 Sep 2006 11:23:28 +0200
libgtop2 (2.14.3-1) unstable; urgency=low
* New upstream release; no API changes.
-- Loic Minier <lool@dooz.org> Wed, 6 Sep 2006 15:55:02 +0200
libgtop2 (2.14.2-2) unstable; urgency=low
* Build-depend on libxml-parser-perl.
-- Loic Minier <lool@dooz.org> Wed, 9 Aug 2006 11:30:23 +0200
libgtop2 (2.14.2-1) unstable; urgency=low
* New upstream release, with API additions.
- Bump shlibs to >= 2.14.2.
-- Loic Minier <lool@dooz.org> Sat, 29 Jul 2006 22:16:12 +0200
libgtop2 (2.14.1-3) unstable; urgency=low
* Let libgtop2-common also replace the venerable libgtop2. (Closes: #380350)
-- Loic Minier <lool@dooz.org> Sat, 29 Jul 2006 18:57:02 +0200
libgtop2 (2.14.1-2) unstable; urgency=low
* Make libgtop2-common arch: all instead of arch: any.
-- Dafydd Harries <daf@debian.org> Tue, 4 Jul 2006 18:04:14 +0100
libgtop2 (2.14.1-1) unstable; urgency=low
[ Loic Minier ]
* Stop shipping *.la files in libgtop2-dev.
[debian/libgtop2-dev.install]
[ Josselin Mouette ]
* New upstream release.
+ Fix for proc_state.h reference in documentation (closes: #353596).
* Bump glib build-dependency.
* Standards version is 3.7.2.
* New library package name.
* Split the translations in a separate package.
* Use dpkg-dev 1.13.19 for NMU-safety.
* Rework package descriptions.
* libgtop2-5.docs: removed, added automatically by cdbs.
* libgtop2-5.post*: removed, duplicates dh_makeshlibs.
* rules: enable xauth.
* libgtop-config.1: removed, unused.
-- Loic Minier <lool@dooz.org> Wed, 28 Jun 2006 22:38:06 +0200
libgtop2 (2.12.2-1) unstable; urgency=low
* New upstream release
* Upload to unstable
* debian/copyright:
- change 'downloaded from' address to the correct location
* debian/control.in:
- build-depends updated to not b-d on xlibs-dev, libxau-dev added
-- Gustavo Noronha Silva <kov@debian.org> Sat, 7 Jan 2006 20:31:56 -0200
libgtop2 (2.12.0-2) experimental; urgency=high
* Bump shlibs to >= 2.12.0 since the #define'd functions of the API are now
real symbols. (Closes: #336736) [debian/rules]
* Add CDBS' utils. [debian/rules]
* Fix license. [debian/copyright]
* Bump up Standards-Version to 3.6.2. [debian/control, debian/control.in]
-- Loic Minier <lool@dooz.org> Tue, 1 Nov 2005 12:44:28 +0100
libgtop2 (2.12.0-1) experimental; urgency=low
* New upstream version.
* debian/patches/02_fix_link.patch:
- fixed with the new version.
* debian/watch:
- updated
-- Sebastien Bacher <seb128@debian.org> Tue, 18 Oct 2005 12:08:17 +0200
libgtop2 (2.10.2-1) unstable; urgency=low
* New upstream version:
- fix the build on sparc (Closes: #313477).
-- Sebastien Bacher <seb128@debian.org> Tue, 14 Jun 2005 00:43:16 +0200
libgtop2 (2.10.1-2) unstable; urgency=low
* Upload to unstable.
-- Sebastien Bacher <seb128@debian.org> Thu, 9 Jun 2005 23:16:51 +0200
libgtop2 (2.10.1-1) experimental; urgency=low
* New upstream version.
-- Sebastien Bacher <seb128@debian.org> Thu, 14 Apr 2005 12:35:26 +0200
libgtop2 (2.10.0-1) experimental; urgency=low
* New upstream version.
* Update for the soname changes.
* debian/control.in:
- dropped libgtop2-daemon to follow upstream changes.
- updated for the soname change.
* debian/patches/10_relibtoolize.patch:
- dropped, the new version is fine.
* debian/rules:
- updated the shlibs.
* debian/watch:
- updated.
-- Sebastien Bacher <seb128@debian.org> Sat, 9 Apr 2005 15:31:19 +0200
libgtop2 (2.6.0-4) unstable; urgency=low
* debian/patches/10_relibtoolize.patch:
- remade patch to help fix dpkg-shlibdeps problem
* debian/libgtop2-2.shlibs:
- removed, should be auto-generated, which definately
fixes the problem of dpkg-shlibdeps not being able
to find information about this library
-- Gustavo Noronha Silva <kov@debian.org> Sat, 29 May 2004 01:46:40 -0300
libgtop2 (2.6.0-3) unstable; urgency=low
* GNOME Team upload.
* Uploaded to Sid.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Tue, 25 May 2004 20:52:38 +0200
libgtop2 (2.6.0-2) experimental; urgency=low
* GNOME Team upload.
* Added texinfo to Build-Depends, as this fixes a problem with pregenerated
.info file having the same timestamp than macros. (Closes: #244010)
* debian/control: Conflicts && Replaces libgtop2 package. (Closes: #241471)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 1 May 2004 14:51:13 +0200
libgtop2 (2.6.0-1) experimental; urgency=low
* Upgraded to new upstream version.
* debian/watch: added
* debian/patches:
- Removed unneeded patches.
- CDBS don't use dpatch, so remove the part before @DPATCH@ in .dpatches
- 10_relibtoolize.patch: new
* Fixed installation of info file. (Closes: #244010)
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sun, 18 Apr 2004 16:42:13 +0200
libgtop2 (2.5.2-4) experimental; urgency=low
* GNOME Team upload. The "Oskuro's bitching" release.
* libgtop2-2 package conflicts with old libgtop2 package. (Closes: #243400)
* moved info file from library package to -dev package.
* cleaned Build-Depends field.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Tue, 13 Apr 2004 23:53:06 +0200
libgtop2 (2.5.2-3) experimental; urgency=low
* GNOME Team upload.
* Added shlibs information to proper .shlibs file.
* Removed dpatch from Build-Depends as it's no longer needed.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Tue, 6 Apr 2004 18:26:56 +0200
libgtop2 (2.5.2-2) experimental; urgency=low
* Changed package name to reflect new soname (Closes: #240578)
* debian/control.in:
+ Changed to reflect new package name.
+ Changed ligtop2-dev dependencies to be in sync with changes.
* Moved debian/libgtop2.* files to debian/libgtop2-2.* to reflect package
name change.
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sun, 28 Mar 2004 17:23:33 +0200
libgtop2 (2.5.2-1) experimental; urgency=low
* Marc Dequènes (Duck):
- New upstream release
- Corrected patch 'fix_link' to apply on new sources, as it is still
needed.
- Deactivated all other patches, they *should* not be useful anymore.
* Jose Carlos:
- Converted to cdbs.
- debian/:
+ Moved .files to .install
- debian/control.in:
+ Removed automake and autoconf Build-Dependencies.
+ libgtop2-dev package should depend only on libglib2.0-dev instead
of libgtk+2.0-dev
-- Jose Carlos Garcia Sogo <jsogo@debian.org> Sat, 27 Mar 2004 16:03:56 +0100
libgtop2 (2.0.8-7) unstable; urgency=low
* debian/patches/05_cpu_values.dpatch:
+ new version of the patch.
-- Sebastien Bacher <seb128@debian.org> Fri, 13 Feb 2004 19:59:16 +0100
libgtop2 (2.0.8-6) unstable; urgency=low
* debian/patches/05_cpu_values.dpatch:
+ new patch to CPU usage with 2.6 kernels (Closes: #231079)
-- Sebastien Bacher <seb128@debian.org> Thu, 12 Feb 2004 23:00:09 +0100
libgtop2 (2.0.8-5) unstable; urgency=low
* debian/patches/04_mem_values2.dpatch:
+ should really fix memory values (Closes: #224371).
-- Sebastien Bacher <seb128@debian.org> Wed, 28 Jan 2004 00:39:38 +0100
libgtop2 (2.0.8-4) unstable; urgency=low
* debian/patches/03_mem_values.dpatch:
+ patch to fix wrong memory values (Closes: #224371).
* debian/libgtop2.info:
+ include libgtop2.info file (Closes: #225546).
-- Sebastien Bacher <seb128@debian.org> Thu, 1 Jan 2004 13:31:21 +0100
libgtop2 (2.0.8-3) unstable; urgency=low
* debian/patches/02_fix_link.dpatch, debian/rules:
+ patch from Christian Marillat to fix the link problem (Closes: #194108).
-- Sebastien Bacher <seb128@debian.org> Tue, 30 Dec 2003 21:45:51 +0100
libgtop2 (2.0.8-2) unstable; urgency=low
* Added missing Build-Depends on libpopt-dev and texinfo (Closes: #224928).
* Changed libgtop2-daemon section to utils.
* Updated for the Gnome Team.
-- Sebastien Bacher <seb128@debian.org> Thu, 25 Dec 2003 18:28:31 +0100
libgtop2 (2.0.8-1) unstable; urgency=low
* New upstream release (Closes: #224613).
* debian/patches/01_kernel26-headers.dpatch:
+ removed since changes are included in the new version.
* debian/patches/01_libgtop2-kernel2.6.dpatch:
+ new patch to build with 2.6 headers (Closes: #223027).
-- Sebastien Bacher <seb128@debian.org> Sat, 20 Dec 2003 18:28:19 +0100
libgtop2 (2.0.5-4) unstable; urgency=low
* Added patch from Steve Fosdick <dbugs@pelvoux.nildram.co.uk> to fix
memory stats on 2.6 kernels (Closes: #137603, #201876, #216385).
* Removed empty libgtop2.info.gz (Closes: #213720).
-- Sebastien Bacher <seb128@debian.org> Mon, 20 Oct 2003 02:11:48 +0200
libgtop2 (2.0.5-3) unstable; urgency=low
* Updated libtool (Closes: #212506).
-- Sebastien Bacher <seb128@debian.org> Wed, 24 Sep 2003 12:22:29 +0200
libgtop2 (2.0.5-2) unstable; urgency=low
* Upload in unstable (Closes: #211969).
-- Sebastien Bacher <seb128@debian.org> Mon, 22 Sep 2003 15:19:57 +0200
libgtop2 (2.0.5-1) experimental; urgency=low
* New maintainer.
* New upstream version
+ GNOME 2.4 upload in experimental.
* NMU acknowledge
(Closes: #195454, #195623, #195625, #195665, #195819, #195867, #196044).
* debian/control
+ Changed sections.
+ Updated Standards-Version to 3.6.1.0.
* debian/rules
+ Updated to debhelper 4.
-- Sebastien Bacher <seb128@debian.org> Sat, 13 Sep 2003 16:18:25 +0200
libgtop2 (2.0.2.is.2.0.1-1) unstable; urgency=low
* NMU with maintainer's knowledge, altough Noel will assuredly not like the
way i did the upload, experimenting and Christian Marillat's and Coling
Walters's advice showed me there is no other elegant solution. So i
reverted the package to 2.0.1-4, applied the src/daemon/gnuserv.c buffer
overflow fix from 2.0.2, and made a fake 2.0.2 package. Other alternative
would have been using an epoch, which i consider ugly. The problem with
2.0.2 is that buggy (even if Christian thinks it is a feature) libtool
apparently did increase the soname, which is not needed here. Also
the libgtop2 build system is broken, probably due to libtool too, because
it will link libraries with already installed libraries and not with the
ones currently building. This is mostly ok, but breaks when the soname
changes.
(Closes: #195454, #195623, #195625, #195665, #195819, #195867, #196044)
-- Sven Luther <luther@debian.org> Sun, 8 Jun 2003 21:21:07 +0200
libgtop2 (2.0.2-1) unstable; urgency=low
* new upstream from 2003-05-15
-- Noel Koethe <noel@debian.org> Thu, 29 May 2003 23:03:00 +0100
libgtop2 (2.0.1-4) unstable; urgency=low
* updated config.guess and config.sub for mips
(closes: Bug#180126)
-- Noel Koethe <noel@debian.org> Sat, 8 Feb 2003 12:20:00 +0100
libgtop2 (2.0.1-3) unstable; urgency=low
* updated libtool files for mips/mipsel
(closes: Bug#179112)
-- Noel Koethe <noel@debian.org> Thu, 7 Feb 2003 00:59:00 +0100
libgtop2 (2.0.1-2) unstable; urgency=low
* added missing lib in last upload
(closes: Bug#178989)
-- Noel Koethe <noel@debian.org> Thu, 30 Jan 2003 10:09:00 +0100
libgtop2 (2.0.1-1) unstable; urgency=low
* new upstream version from 2003-01-13
(closes: Bug#178932)
* updated Standards-Version
-- Noel Koethe <noel@debian.org> Wed, 29 Jan 2003 18:16:00 +0100
libgtop2 (2.0.0-0) unstable; urgency=low
* new upstream version from 2002-06-10
(closes: Bug#150134)
-- Noel Koethe <noel@debian.org> Sun, 16 Jun 2002 16:20:00 +0200
libgtop2 (1.90.2-5) unstable; urgency=low
* added missing usr/lib/pkgconfig/libgtop-2.0.pc to -dev
package
(closes: Bug#146737)
-- Noel Koethe <noel@debian.org> Thu, 16 May 2002 20:17:00 +0200
libgtop2 (1.90.2-4) unstable; urgency=low
* corrected libgtop2-dev Depends line to libgtk2.0-dev
(closes: Bug#140589)
-- Noel Koethe <noel@debian.org> Thu, 11 Apr 2002 17:40:00 +0200
libgtop2 (1.90.2-3) unstable; urgency=low
* recompiled against libgtk2.0
(closes: Bug#140589)
-- Noel Koethe <noel@debian.org> Sat, 6 Apr 2002 15:38:00 +0200
libgtop2 (1.90.2-2) unstable; urgency=low
* recompiled against glib/gtk 1.3.15
(closes: Bug#137074)
-- Noel Koethe <noel@debian.org> Wed, 6 Mar 2002 15:42:00 +0100
libgtop2 (1.90.2-1) unstable; urgency=low
* Initial Release.
(closes: Bug#133219)
-- Noel Koethe <noel@debian.org> Sat, 16 Feb 2002 13:16:00 +0100

87
debian/control vendored
View File

@@ -1,87 +0,0 @@
# This file is autogenerated. DO NOT EDIT!
#
# Modifications should be made to debian/control.in instead.
# This file is regenerated automatically in the clean target.
Source: libgtop2
Section: libs
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: Emilio Pozuelo Monfort <pochu@debian.org>, Jeremy Bicha <jbicha@debian.org>, Michael Biebl <biebl@debian.org>
Build-Depends: debhelper-compat (= 12),
dh-sequence-gir,
dh-sequence-gnome,
gettext,
pkg-config,
libxau-dev,
libglib2.0-dev (>= 2.6.0),
texinfo,
libxt-dev,
libgeom-dev [kfreebsd-any],
libdevstat-dev [kfreebsd-any],
libkvm-dev [kfreebsd-any],
libbsd-dev [kfreebsd-any],
gtk-doc-tools (>= 1.4),
libgirepository1.0-dev (>= 0.10.7-1~)
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/gnome-team/libgtop
Vcs-Git: https://salsa.debian.org/gnome-team/libgtop.git
Package: libgtop-2.0-11
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
libgtop2-common (>= ${source:Version})
Description: gtop system monitoring library (shared)
The gtop library reads information about processes and the state of the
system. It is used by the GNOME desktop environment.
.
This package contains the shared library.
Package: libgtop2-dev
Architecture: any
Multi-Arch: same
Section: libdevel
Depends: ${misc:Depends},
libgtop-2.0-11 (= ${binary:Version}),
gir1.2-gtop-2.0 (= ${binary:Version}),
libglib2.0-dev
Description: gtop system monitoring library (devel)
The gtop library reads information about processes and the state of the
system. It is used by the GNOME desktop environment.
.
This package contains the static library and development headers.
Package: libgtop2-common
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends},
Description: gtop system monitoring library (common)
The gtop library reads information about processes and the state of the
system. It is used by the GNOME desktop environment.
.
This package contains the translations.
Package: libgtop2-doc
Architecture: all
Multi-Arch: foreign
Section: doc
Depends: ${misc:Depends},
Description: gtop system monitoring library (documentation)
The gtop library reads information about processes and the state of the
system. It is used by the GNOME desktop environment.
.
This package contains the documentation.
Package: gir1.2-gtop-2.0
Architecture: any
Multi-Arch: same
Section: introspection
Depends: ${misc:Depends},
${gir:Depends}
Description: gtop system monitoring library (gir bindings)
The gtop library reads information about processes and the state of the
system. It is used by the GNOME desktop environment.
.
This package can be used by other packages using the GIRepository format to
generate dynamic bindings.

83
debian/control.in vendored
View File

@@ -1,83 +0,0 @@
Source: libgtop2
Section: libs
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: @GNOME_TEAM@
Build-Depends: debhelper-compat (= 12),
dh-sequence-gir,
dh-sequence-gnome,
gettext,
pkg-config,
libxau-dev,
libglib2.0-dev (>= 2.6.0),
texinfo,
libxt-dev,
libgeom-dev [kfreebsd-any],
libdevstat-dev [kfreebsd-any],
libkvm-dev [kfreebsd-any],
libbsd-dev [kfreebsd-any],
gtk-doc-tools (>= 1.4),
libgirepository1.0-dev (>= 0.10.7-1~)
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/gnome-team/libgtop
Vcs-Git: https://salsa.debian.org/gnome-team/libgtop.git
Package: libgtop-2.0-11
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends},
libgtop2-common (>= ${source:Version})
Description: gtop system monitoring library (shared)
The gtop library reads information about processes and the state of the
system. It is used by the GNOME desktop environment.
.
This package contains the shared library.
Package: libgtop2-dev
Architecture: any
Multi-Arch: same
Section: libdevel
Depends: ${misc:Depends},
libgtop-2.0-11 (= ${binary:Version}),
gir1.2-gtop-2.0 (= ${binary:Version}),
libglib2.0-dev
Description: gtop system monitoring library (devel)
The gtop library reads information about processes and the state of the
system. It is used by the GNOME desktop environment.
.
This package contains the static library and development headers.
Package: libgtop2-common
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends},
Description: gtop system monitoring library (common)
The gtop library reads information about processes and the state of the
system. It is used by the GNOME desktop environment.
.
This package contains the translations.
Package: libgtop2-doc
Architecture: all
Multi-Arch: foreign
Section: doc
Depends: ${misc:Depends},
Description: gtop system monitoring library (documentation)
The gtop library reads information about processes and the state of the
system. It is used by the GNOME desktop environment.
.
This package contains the documentation.
Package: gir1.2-gtop-2.0
Architecture: any
Multi-Arch: same
Section: introspection
Depends: ${misc:Depends},
${gir:Depends}
Description: gtop system monitoring library (gir bindings)
The gtop library reads information about processes and the state of the
system. It is used by the GNOME desktop environment.
.
This package can be used by other packages using the GIRepository format to
generate dynamic bindings.

74
debian/copyright vendored
View File

@@ -1,74 +0,0 @@
This package was debianized by Jim Pick <jim@jimpick.com>
then Martin Schulze <joey@debian.org> in October 1998
then Ian Lynagh <igloo@debian.org> in November 1998
then Noel Koethe <noel@debian.org> in December 2001
It was downloaded from https://download.gnome.org/sources/libgtop/
Upstream Authors:
Martin Baulig (martin@home-of-linux.org)
Drazen Kacar (dave@srce.hr)
Benoît Dejean (tazforever@dlfp.org)
Copyright:
1998-99 Martin Baulig
2004 Nicolás Lichtmaier
2007 Joe Marcus Clarke
1996 Charles Blake <cblake@bbn.com>
1998 Joshua Sled
1999 Drazen Kacar
1998-2007 Benoît Dejean
2006-2007 Henry Zhang
License:
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.
misc/i4b_acct.h is licensed under the following terms:
Copyright (c) 1997 Joerg Wunsch. All rights reserved.
Copyright (c) 1997, 1998 Hellmuth Michaelis. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the author nor the names of any co-contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
4. Altered versions must be plainly marked as such, and must not be
misrepresented as being the original software and/or documentation.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

3
debian/docs vendored
View File

@@ -1,3 +0,0 @@
AUTHORS
NEWS
README

17
debian/gbp.conf vendored
View File

@@ -1,17 +0,0 @@
[DEFAULT]
pristine-tar = True
debian-branch = debian/master
upstream-branch = upstream/latest
[buildpackage]
sign-tags = True
[dch]
multimaint-merge = True
[import-orig]
postimport = dch -v%(version)s New upstream release; git add debian/changelog; debcommit
upstream-vcs-tag = %(version)s
[pq]
patch-numbers = False

View File

@@ -1 +0,0 @@
usr/lib/*/girepository-*

View File

@@ -1 +0,0 @@
usr/lib/*/*.so.*

View File

@@ -1,81 +0,0 @@
libgtop-2.0.so.11 libgtop-2.0-11 #MINVER#
* Build-Depends-Package: libgtop2-dev
glibtop_call_l@Base 2.22.3
glibtop_close@Base 2.22.3
glibtop_close_r@Base 2.22.3
glibtop_get_cpu@Base 2.22.3
glibtop_get_cpu_l@Base 2.22.3
glibtop_get_fsusage@Base 2.22.3
glibtop_get_fsusage_l@Base 2.22.3
glibtop_get_loadavg@Base 2.22.3
glibtop_get_loadavg_l@Base 2.22.3
glibtop_get_mem@Base 2.22.3
glibtop_get_mem_l@Base 2.22.3
glibtop_get_mountlist@Base 2.22.3
glibtop_get_mountlist_l@Base 2.22.3
glibtop_get_msg_limits@Base 2.22.3
glibtop_get_msg_limits_l@Base 2.22.3
glibtop_get_netlist@Base 2.22.3
glibtop_get_netlist_l@Base 2.22.3
glibtop_get_netload@Base 2.22.3
glibtop_get_netload_l@Base 2.22.3
glibtop_get_parameter_l@Base 2.22.3
glibtop_get_ppp@Base 2.22.3
glibtop_get_ppp_l@Base 2.22.3
glibtop_get_proc_affinity@Base 2.24.0
glibtop_get_proc_affinity_l@Base 2.24.0
glibtop_get_proc_args@Base 2.22.3
glibtop_get_proc_args_l@Base 2.22.3
glibtop_get_proc_argv@Base 2.22.3
glibtop_get_proc_argv_l@Base 2.22.3
glibtop_get_proc_io@Base 2.37.90
glibtop_get_proc_io_l@Base 2.37.90
glibtop_get_proc_kernel@Base 2.22.3
glibtop_get_proc_kernel_l@Base 2.22.3
glibtop_get_proc_map@Base 2.22.3
glibtop_get_proc_map_l@Base 2.22.3
glibtop_get_proc_mem@Base 2.22.3
glibtop_get_proc_mem_l@Base 2.22.3
glibtop_get_proc_open_files@Base 2.22.3
glibtop_get_proc_open_files_l@Base 2.22.3
glibtop_get_proc_segment@Base 2.22.3
glibtop_get_proc_segment_l@Base 2.22.3
glibtop_get_proc_signal@Base 2.22.3
glibtop_get_proc_signal_l@Base 2.22.3
glibtop_get_proc_state@Base 2.22.3
glibtop_get_proc_state_l@Base 2.22.3
glibtop_get_proc_time@Base 2.22.3
glibtop_get_proc_time_l@Base 2.22.3
glibtop_get_proc_uid@Base 2.22.3
glibtop_get_proc_uid_l@Base 2.22.3
glibtop_get_proc_wd@Base 2.22.3
glibtop_get_proc_wd_l@Base 2.22.3
glibtop_get_proclist@Base 2.22.3
glibtop_get_proclist_l@Base 2.22.3
glibtop_get_sem_limits@Base 2.22.3
glibtop_get_sem_limits_l@Base 2.22.3
glibtop_get_shm_limits@Base 2.22.3
glibtop_get_shm_limits_l@Base 2.22.3
glibtop_get_swap@Base 2.22.3
glibtop_get_swap_l@Base 2.22.3
glibtop_get_sysdeps@Base 2.22.3
glibtop_get_sysdeps_r@Base 2.22.3
glibtop_get_sysinfo@Base 2.22.3
glibtop_get_type@Base 2.32.0
glibtop_get_uptime@Base 2.22.3
glibtop_get_uptime_l@Base 2.22.3
glibtop_global_server@Base 2.22.3
glibtop_init@Base 2.22.3
glibtop_init_r@Base 2.22.3
glibtop_internet_addr@Base 2.22.3
glibtop_make_connection@Base 2.22.3
glibtop_map_entry_get_type@Base 2.32.0
glibtop_mountentry_get_type@Base 2.32.0
glibtop_mountlist_get_type@Base 2.32.0
glibtop_open_files_entry_get_type@Base 2.32.0
glibtop_open_l@Base 2.22.3
glibtop_proc_map_get_type@Base 2.32.0
glibtop_proc_open_files_get_type@Base 2.32.0
glibtop_server_features@Base 2.22.3
glibtop_set_parameter_l@Base 2.22.3
glibtop_sys_siglist@Base 2.22.3

View File

@@ -1 +0,0 @@
usr/share/locale

View File

@@ -1,5 +0,0 @@
usr/include/libgtop-2.0
usr/lib/*/libgtop-2.0.a
usr/lib/*/libgtop-2.0.so
usr/lib/*/pkgconfig
usr/share/gir-*

View File

@@ -1,11 +0,0 @@
Document: libgtop2
Title: libsoup Reference Manual
Author: Martin Baulig, Germán Póo-Caamaño
Abstract: This manual documents the interfaces of the libgtop
library and has some short notes to help get you up to speed
with using the library.
Section: Programming
Format: HTML
Index: /usr/share/gtk-doc/html/libgtop/index.html
Files: /usr/share/gtk-doc/html/libgtop/*html

View File

@@ -1 +0,0 @@
doc/libgtop2.info

View File

@@ -1 +0,0 @@
usr/share/gtk-doc

View File

@@ -1,86 +0,0 @@
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=602664
Author: Josselin Mouette <joss@debian.org>
The libgtop_server2 binary is launched by the library itself, and has no use
being launched directly. Therefore, it should go in $(libexecdir) instead.
The patch also adds some missing $(DESTDIR) references in the installation
hooks.
Index: libgtop-2.32.0/libgtop-sysdeps.m4
===================================================================
--- libgtop-2.32.0.orig/libgtop-sysdeps.m4 2015-10-07 23:46:35.738589058 +0200
+++ libgtop-2.32.0/libgtop-sysdeps.m4 2015-10-07 23:51:51.006990769 +0200
@@ -40,38 +40,38 @@
netbsd*|bsdi*)
libgtop_sysdeps_dir=bsd
libgtop_need_server=yes
- libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server2'
+ libgtop_postinstall='chgrp kmem $(DESTDIR)$(libexecdir)/libgtop_server2 && chmod 2755 $(DESTDIR)$(libexecdir)/libgtop_server2'
;;
openbsd*)
libgtop_sysdeps_dir=openbsd
libgtop_need_server=yes
libgtop_sysdeps_private_mountlist=yes
libgtop_sysdeps_private_fsusage=yes
- libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2555 $(bindir)/libgtop_server2'
+ libgtop_postinstall='chgrp kmem $(DESTDIR)$(libexecdir)/libgtop_server2 && chmod 2755 $(DESTDIR)$(libexecdir)/libgtop_server2'
;;
freebsd*|kfreebsd*)
libgtop_sysdeps_dir=freebsd
libgtop_need_server=yes
libgtop_sysdeps_private_mountlist=yes
libgtop_sysdeps_private_fsusage=yes
- libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server2'
+ libgtop_postinstall='chgrp kmem $(DESTDIR)$(libexecdir)/libgtop_server2 && chmod 2755 $(DESTDIR)$(libexecdir)/libgtop_server2'
;;
solaris*)
libgtop_sysdeps_dir=solaris
libgtop_need_server=yes
- libgtop_postinstall='chgrp sys $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server'
+ libgtop_postinstall='chgrp sys $(DESTDIR)$(libexecdir)/libgtop_server && chmod 2755 $(DESTDIR)$(libexecdir)/libgtop_server'
;;
aix*)
libgtop_sysdeps_dir=aix
libgtop_need_server=yes
libgtop_have_sysinfo=yes
- libgtop_postinstall='chgrp system $(bindir)/libgtop_server && chmod g+s $(bindir)/libgtop_server2'
+ libgtop_postinstall='chgrp system $(DESTDIR)$(libexecdir)/libgtop_server && chmod g+s $(DESTDIR)$(libexecdir)/libgtop_server2'
;;
darwin*)
libgtop_sysdeps_dir=darwin
libgtop_need_server=yes
libgtop_have_sysinfo=yes
- libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod g+s $(bindir)/libgtop_server2'
+ libgtop_postinstall='chgrp kmem $(DESTDIR)$(libexecdir)/libgtop_server2 && chmod g+s $(DESTDIR)$(libexecdir)/libgtop_server2'
;;
cygwin*)
libgtop_sysdeps_dir=cygwin
Index: libgtop-2.32.0/src/daemon/Makefile.am
===================================================================
--- libgtop-2.32.0.orig/src/daemon/Makefile.am 2015-10-07 23:46:35.738589058 +0200
+++ libgtop-2.32.0/src/daemon/Makefile.am 2015-10-07 23:46:35.734589003 +0200
@@ -26,7 +26,7 @@
suid_common =
endif
-bin_PROGRAMS = libgtop_daemon2 @server_programs@
+libexec_PROGRAMS = libgtop_daemon2 @server_programs@
EXTRA_PROGRAMS = libgtop_server2
Index: libgtop-2.32.0/configure.ac
===================================================================
--- libgtop-2.32.0.orig/configure.ac 2015-10-07 23:46:35.738589058 +0200
+++ libgtop-2.32.0/configure.ac 2015-10-07 23:46:35.734589003 +0200
@@ -285,8 +285,8 @@
libgtop_save_exec_prefix="$exec_prefix"
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
-LIBGTOP_BINDIR=`eval echo "${bindir}"`
-LIBGTOP_SERVER=`eval echo "${bindir}/libgtop_server2"`
+LIBGTOP_BINDIR=`eval echo "${libexecdir}"`
+LIBGTOP_SERVER=`eval echo "${libexecdir}/libgtop_server2"`
prefix="$libgtop_save_prefix"
exec_prefix="$libgtop_save_exec_prefix"

View File

@@ -1,21 +0,0 @@
From: Steven Chamberlain <steven@pyro.eu.org>
Date: Mon, 15 Jun 2015 17:09:49 +0100
Support GNU/kFreeBSD by using __FreeBSD_kernel_version here,
rather than simply __FreeBSD_version (which is only defined in
FreeBSD itself).
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788709
--- a/sysdeps/freebsd/open.c
+++ b/sysdeps/freebsd/open.c
@@ -43,6 +43,10 @@
server->real_ncpu = ncpus - 1;
server->ncpu = MIN(GLIBTOP_NCPU - 1, server->real_ncpu);
+#if defined(__FreeBSD__)
server->os_version_code = __FreeBSD_version;
+#else
+ server->os_version_code = __FreeBSD_kernel_version;
+#endif
}

View File

@@ -1,50 +0,0 @@
From: Andrea Azzarone <azzaronea@gmail.com>
Date: Thu, 19 Apr 2018 15:58:30 +0200
Subject: mountlist: ignore snap squashfs
Ignore squashfs mounted in snaps. This will make sure that snap fs
are not listed in gnome-system-monitor.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1749007
Forwarded: not-needed
---
sysdeps/linux/mountlist.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/sysdeps/linux/mountlist.c b/sysdeps/linux/mountlist.c
index 7c376fd..f36fc29 100644
--- a/sysdeps/linux/mountlist.c
+++ b/sysdeps/linux/mountlist.c
@@ -84,7 +84,7 @@ ignore_list_has(IgnoreList* ig, const char* fs)
static gboolean
-ignore_fs(const char *fstype, IgnoreList** ig)
+ignore_fs(const char* mntdir, const char *fstype, IgnoreList** ig)
{
if (!*ig) {
FILE* fs;
@@ -106,10 +106,13 @@ ignore_fs(const char *fstype, IgnoreList** ig)
}
}
+ /* ignore snap squashfs */
+ if (!strcmp(fstype, "squashfs") && !strncmp(mntdir, "/snap/", 6))
+ return TRUE;
+
return ignore_list_has(*ig, fstype);
}
-
glibtop_mountentry *
glibtop_get_mountlist_s(glibtop *server, glibtop_mountlist *buf, int all_fs)
{
@@ -136,7 +139,7 @@ glibtop_get_mountlist_s(glibtop *server, glibtop_mountlist *buf, int all_fs)
const char *devopt;
gsize len;
- if (!all_fs && ignore_fs(mnt->mnt_type, &ig))
+ if (!all_fs && ignore_fs(mnt->mnt_dir, mnt->mnt_type, &ig))
continue;
len = entries->len;

View File

@@ -1,3 +0,0 @@
03_kfreebsd_installdirs.patch
04_kfreebsd_version.patch
mountlist-ignore-snap-squashfs.patch

40
debian/rules vendored
View File

@@ -1,40 +0,0 @@
#!/usr/bin/make -f
SHARED_PKG := libgtop-2.0-11
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed
ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
CPPFLAGS += $(shell pkg-config --cflags libbsd-overlay)
endif
%:
dh $@
override_dh_autoreconf:
dh_autoreconf --as-needed
override_dh_auto_configure:
dh_auto_configure -- \
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
--libexecdir=\$${libdir}/$(SHARED_PKG)
override_dh_makeshlibs:
dh_makeshlibs -V '$(SHARED_PKG) (>= 2.32.0)' -- -c4
override_dh_fixperms:
dh_fixperms -X libgtop_server2
override_dh_install:
ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
# The server is only necessary on kFreeBSD
dh_install --autodest -p$(SHARED_PKG) \
--ignore=debian/$(SHARED_PKG).install \
debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/$(SHARED_PKG)/libgtop_server2
endif
find debian/tmp -name '*.la' -print -delete
dh_install
override_dh_missing:
dh_missing --list-missing

View File

@@ -1 +0,0 @@
3.0 (quilt)

3
debian/watch vendored
View File

@@ -1,3 +0,0 @@
version=4
https://download.gnome.org/sources/libgtop/([\d\.]+[02468])/ \
libgtop@ANY_VERSION@\.tar\.xz

View File

@@ -3,7 +3,7 @@
scriptversion=2018-03-07.03; # UTC
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

View File

@@ -1,7 +1,7 @@
# Makefile.in generated by automake 1.16.1 from Makefile.am.
# Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -89,8 +89,9 @@ build_triplet = @build@
host_triplet = @host@
subdir = doc
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \
am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gtk-doc.m4 \
$(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \
$(top_srcdir)/m4/intlmacosx.m4 \
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
@@ -228,8 +229,6 @@ am__define_uniq_tagged_files = \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(libgtop2_TEXINFOS) $(srcdir)/Makefile.in ChangeLog \
mdate-sh texinfo.tex
@@ -276,6 +275,8 @@ CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CSCOPE = @CSCOPE@
CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
@@ -287,8 +288,10 @@ ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -339,6 +342,7 @@ LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LSBLK = @LSBLK@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
@@ -348,8 +352,8 @@ MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MSGFMT = @MSGFMT@
MSGFMT_015 = @MSGFMT_015@
MSGMERGE = @MSGMERGE@
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
@@ -374,6 +378,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
TR = @TR@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
@@ -426,6 +431,8 @@ libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
libgtop_top_builddir = @libgtop_top_builddir@
libs_xauth = @libs_xauth@
localedir = @localedir@
localedir_c = @localedir_c@
localedir_c_make = @localedir_c_make@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
@@ -434,6 +441,7 @@ pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
server_programs = @server_programs@
sharedstatedir = @sharedstatedir@
@@ -750,7 +758,6 @@ cscopelist-am: $(am__tagged_files)
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am

File diff suppressed because it is too large Load Diff

View File

@@ -49,6 +49,7 @@ System Dependent Functions
* glibtop_proc_map:: Process Memory Maps.
* glibtop_netload:: Network Load.
* glibtop_ppp:: PPP Usage.
* glibtop_disk:: DISK Usage.
Common Functions

View File

@@ -3,7 +3,7 @@
scriptversion=2018-03-07.03; # UTC
# Copyright (C) 1995-2018 Free Software Foundation, Inc.
# Copyright (C) 1995-2021 Free Software Foundation, Inc.
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
#
# This program is free software; you can redistribute it and/or modify

View File

@@ -28,6 +28,7 @@
* glibtop_proc_map:: Process Memory Maps.
* glibtop_netload:: Network Load.
* glibtop_ppp:: PPP Usage.
* glibtop_disk:: DISK Usage.
@end menu
@node glibtop_cpu, glibtop_mem, System Dependent, System Dependent
@@ -1343,7 +1344,7 @@ enum @{
@end example
@page
@node glibtop_ppp, , glibtop_netload, System Dependent
@node glibtop_ppp, glibtop_disk, glibtop_netload, System Dependent
@subsection PPP Statistics
Library function @code{glibtop_get_ppp}:
@@ -1403,6 +1404,62 @@ We're currently offline.
We're currently online.
@end table
@page
@node glibtop_disk, , glibtop_ppp, System Dependent
@subsection DISK Usage
Library function @code{glibtop_get_disk}:
@example
@cartouche
void glibtop_get_disk (glibtop_disk *buf);
void glibtop_get_disk_l (glibtop *server, glibtop_disk *buf);
@end cartouche
@end example
Declaration of @code{glibtop_disk} in @file{<glibtop/disk.h>}:
@example
@cartouche
typedef struct _glibtop_disk glibtop_disk;
struct _glibtop_disk
@{
xdisk_sectors_read [GLIBTOP_NDISK],
xdisk_time_read [GLIBTOP_NDISK],
xdisk_sectors_write [GLIBTOP_NDISK],
xdisk_time_write [GLIBTOP_NDISK],
@};
@end cartouche
@end example
All DISK reads and writes are measured by @dfn{sectors} which are normally 512 bytes each.
All disk time are measured in milliseconds which is 1/1000th of a second.
@table @code
@item xdisk_sectors_read
Number of sectors read since system boot.
@item xdisk_time_read
Number of milliseconds spent reading since system boot.
@item xdisk_sectors_write
Number of sectors written since system boot.
@item xdisk_time_write
Number of milliseconds spent writing since system boot.
@end table
The @samp{xdisk_} are values from arrays of @code{GLIBTOP_NDISK} (defined in
@file{<glibtop/disk.h>}) elements and contain one value for each DISK
in the system.
Please note that all of the disk values are absolute values measured in
certain units since system boot. To get bandwidth values (bytes/s), you need to call @code{glibtop_disk}, save the
result, wait some time and then call it again and divide the differences of
the two values by the time spent reading or writing.
@page
@node Common Functions, Library Functions, System Dependent, Reference Manual
@section Common Functions

View File

@@ -1,7 +1,7 @@
# Makefile.in generated by automake 1.16.1 from Makefile.am.
# Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -113,8 +113,9 @@ build_triplet = @build@
host_triplet = @host@
subdir = doc/reference
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \
am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gtk-doc.m4 \
$(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \
$(top_srcdir)/m4/intlmacosx.m4 \
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
@@ -177,6 +178,8 @@ CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CSCOPE = @CSCOPE@
CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
@@ -188,8 +191,10 @@ ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -240,6 +245,7 @@ LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LSBLK = @LSBLK@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
@@ -249,8 +255,8 @@ MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MSGFMT = @MSGFMT@
MSGFMT_015 = @MSGFMT_015@
MSGMERGE = @MSGMERGE@
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
@@ -275,6 +281,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
TR = @TR@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
@@ -327,6 +334,8 @@ libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
libgtop_top_builddir = @libgtop_top_builddir@
libs_xauth = @libs_xauth@
localedir = @localedir@
localedir_c = @localedir_c@
localedir_c_make = @localedir_c_make@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
@@ -335,6 +344,7 @@ pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
server_programs = @server_programs@
sharedstatedir = @sharedstatedir@
@@ -421,6 +431,7 @@ DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \
sgml.stamp html.stamp pdf.stamp
SCANOBJ_FILES = \
$(DOC_MODULE).actions \
$(DOC_MODULE).args \
$(DOC_MODULE).hierarchy \
$(DOC_MODULE).interfaces \
@@ -515,7 +526,6 @@ ctags CTAGS:
cscope cscopelist:
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am

View File

@@ -7,7 +7,7 @@
<meta name="description" content="LibGTop is a library to get system specific data such as CPU and Memory Usage and information about running Processes. On Systems like Solaris or Digital Unix where you need special privileges to get those data, it uses a setuid/setgid server to do so. Even if LibGTop is a part of the GNOME desktop environment (@uref{http://www.gnome.org}), the main interface of LibGTop is totally independent from any particular desktop environment, so you can also use it as a standalone library in any piece of GPLed software. This manual documents the interfaces of the libgtop library and has some short notes to help get you up to speed with using the library.">
<link rel="home" href="index.html" title="Libgtop Reference Manual">
<link rel="next" href="libgtop-white-paper.html" title="White paper">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -33,7 +33,7 @@
  </p></div></div>
</div>
</div></div>
<div><p class="releaseinfo">for libgtop <span class="phrase">2.40.0</span></p></div>
<div><p class="releaseinfo">for libgtop <span class="phrase">2.41.2</span></p></div>
<div><div class="legalnotice">
<a name="id-1.1.4"></a><p>Permission is granted to copy, distribute and/or modify
this document under the terms of the <em class="citetitle">GNU Free
@@ -53,7 +53,6 @@
caps.</p>
</div></div>
<div><div class="abstract">
<p class="title"><b>Abstract</b></p>
<p>
LibGTop is a library to get system specific data such as CPU and
Memory Usage and information about running Processes.</p>
@@ -192,6 +191,6 @@
</dl></div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-GlibTop.html" title="GlibTop">
<link rel="next" href="libgtop-Command.html" title="Command">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-Close.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -109,11 +109,8 @@ glibtop_close_s (<em class="parameter"><code><a class="link" href="libgtop-GlibT
glibtop_close_p (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="libgtop-Close.other_details"></a><h2>Types and Values</h2>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-Close.html" title="Close">
<link rel="next" href="libgtop-GlibTop-Server.html" title="GlibTop Server">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-Command.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -68,8 +68,8 @@
<a name="libgtop-Command.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -86,6 +86,10 @@
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-DISK:CAPS" title="GLIBTOP_CMND_DISK">GLIBTOP_CMND_DISK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-MEM:CAPS" title="GLIBTOP_CMND_MEM">GLIBTOP_CMND_MEM</a></td>
</tr>
<tr>
@@ -254,6 +258,12 @@ glibtop_call_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTo
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-DISK:CAPS"></a><h3>GLIBTOP_CMND_DISK</h3>
<pre class="programlisting">#define GLIBTOP_CMND_DISK 29
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-MEM:CAPS"></a><h3>GLIBTOP_CMND_MEM</h3>
<pre class="programlisting">#define GLIBTOP_CMND_MEM 3
</pre>
@@ -393,7 +403,7 @@ glibtop_call_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTo
<hr>
<div class="refsect2">
<a name="GLIBTOP-MAX-CMND:CAPS"></a><h3>GLIBTOP_MAX_CMND</h3>
<pre class="programlisting">#define GLIBTOP_MAX_CMND 29
<pre class="programlisting">#define GLIBTOP_MAX_CMND 30
</pre>
</div>
<hr>
@@ -423,6 +433,6 @@ glibtop_call_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTo
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-Command.html" title="Command">
<link rel="next" href="libgtop-Net-Load.html" title="Net Load">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -43,11 +43,8 @@
<a name="libgtop-GlibTop-Server.functions_details"></a><h2>Functions</h2>
<p></p>
</div>
<div class="refsect1">
<a name="libgtop-GlibTop-Server.other_details"></a><h2>Types and Values</h2>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="next" href="libgtop-Close.html" title="Close">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -39,8 +39,8 @@
<a name="libgtop-GlibTop.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -80,8 +80,8 @@
<a name="libgtop-GlibTop.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -190,6 +190,9 @@ glibtop_init_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTo
gid_t egid;
glibtop_machine *machine; /* Machine dependent data */
int ndisk; /* Number of DISKs, zero if single-disk. This pertains to disk volumes */
int real_ndisk; /* Number of PHYSICAL DISKs. Only ndisk is monitored for now */
};
</pre>
</div>
@@ -208,6 +211,6 @@ glibtop_init_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTo
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-Uptime.html" title="Uptime">
<link rel="next" href="libgtop-open.html" title="open">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -39,8 +39,8 @@
<a name="libgtop-Net-List.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -82,8 +82,8 @@
<a name="libgtop-Net-List.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -279,12 +279,12 @@ interface names. </p>
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-netlist.flags"></a>flags</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-netlist.flags"></a>flags</code></em>;</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="glibtop-netlist.number"></a>number</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="glibtop-netlist.number"></a>number</code></em>;</p></td>
<td class="struct_member_description"><p>Number of entries in the returned list.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
@@ -305,6 +305,6 @@ interface names. </p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-GlibTop-Server.html" title="GlibTop Server">
<link rel="next" href="libgtop-PPP.html" title="PPP">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -39,8 +39,8 @@
<a name="libgtop-Net-Load.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -82,8 +82,8 @@
<a name="libgtop-Net-Load.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -400,6 +400,6 @@ glibtop_get_netload_s (<em class="parameter"><code><a class="link" href="libgtop
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-Net-Load.html" title="Net Load">
<link rel="next" href="libgtop-Shared-Memory-Limits.html" title="Shared Memory Limits">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -39,8 +39,8 @@
<a name="libgtop-PPP.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -82,8 +82,8 @@
<a name="libgtop-PPP.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -227,6 +227,6 @@ glibtop_get_ppp_s (<em class="parameter"><code><a class="link" href="libgtop-Gli
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-parameter.html" title="parameter">
<link rel="next" href="libgtop-procmem.html" title="procmem">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -39,8 +39,8 @@
<a name="libgtop-Process-Arguments.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -66,8 +66,8 @@
<a name="libgtop-Process-Arguments.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">struct</td>
@@ -191,6 +191,6 @@ the returned array to avoid a memory leak.</p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-version.html" title="version">
<link rel="next" href="libgtop-sem-limits.html" title="sem_limits">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -39,8 +39,8 @@
<a name="libgtop-Process-List.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody><tr>
<td class="function_type">
@@ -56,8 +56,8 @@
<a name="libgtop-Process-List.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -125,8 +125,8 @@
<a name="glibtop-get-proclist"></a><h3>glibtop_get_proclist ()</h3>
<pre class="programlisting"><span class="returnvalue">pid_t</span> *
glibtop_get_proclist (<em class="parameter"><code><a class="link" href="libgtop-Process-List.html#glibtop-proclist" title="struct glibtop_proclist"><span class="type">glibtop_proclist</span></a> *buf</code></em>,
<em class="parameter"><code><span class="type">gint64</span> which</code></em>,
<em class="parameter"><code><span class="type">gint64</span> arg</code></em>);</pre>
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> which</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> arg</code></em>);</pre>
<div class="refsect3">
<a name="glibtop-get-proclist.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -268,24 +268,24 @@ freed using <code class="function">g_free</code> to avoid a memory leak.</p>
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proclist.flags"></a>flags</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proclist.flags"></a>flags</code></em>;</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proclist.number"></a>number</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proclist.number"></a>number</code></em>;</p></td>
<td class="struct_member_description"><p>Number of entries in the returned list.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proclist.total"></a>total</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proclist.total"></a>total</code></em>;</p></td>
<td class="struct_member_description"><p>Total size of the returned list (this equals <em class="parameter"><code>number</code></em>
* <em class="parameter"><code>size</code></em>
).</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proclist.size"></a>size</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proclist.size"></a>size</code></em>;</p></td>
<td class="struct_member_description"><p>Size of a single entry in the returned list
(this equals <span class="type">sizeof(unsigned)</span>).</p></td>
<td class="struct_member_annotations"> </td>
@@ -297,6 +297,6 @@ freed using <code class="function">g_free</code> to avoid a memory leak.</p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-procuid.html" title="procuid">
<link rel="next" href="libgtop-signal.html" title="signal">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -39,8 +39,8 @@
<a name="libgtop-Process-Time.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody><tr>
<td class="function_type">
@@ -56,8 +56,8 @@
<a name="libgtop-Process-Time.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">struct</td>
@@ -131,9 +131,12 @@ available from the kernel.</p>
shift. Because <span class="type">INITIAL_JIFFIES</span> is not user-space defined,
we cannot use it to compute an accurate <em class="parameter"><code>start_time</code></em>
. On Linux 2.6,</p>
<span class="type">INITIAL_JIFFIES</span> is 300 so <em class="parameter"><code>start_time</code></em> is
<p>always 3s different from the real start time of the given process. You
may also get shift results if your system clock is not synchronised
<span class="type">INITIAL_JIFFIES</span> is 300 so <em class="parameter"><code>start_time</code></em> is
<p>always 3s different from the real start time of the given process. You
may also get shift results if your system clock is not synchronised
with your hardware clock. See <span class="command"><strong>man hwclock</strong></span>.</p>
<div class="refsect3">
<a name="glibtop-proc-time.members"></a><h4>Members</h4>
@@ -145,60 +148,60 @@ with your hardware clock. See <span class="command"><strong>man hwclock</strong>
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proc-time.start-time"></a>start_time</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.start-time"></a>start_time</code></em>;</p></td>
<td class="struct_member_description"><p>Start time of process in seconds since the epoch.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proc-time.rtime"></a>rtime</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.rtime"></a>rtime</code></em>;</p></td>
<td class="struct_member_description"><p>Real time accumulated by process (should be <em class="parameter"><code>utime</code></em>
+ <em class="parameter"><code>stime</code></em>
).</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proc-time.utime"></a>utime</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.utime"></a>utime</code></em>;</p></td>
<td class="struct_member_description"><p>User-mode CPU time accumulated by process.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proc-time.stime"></a>stime</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.stime"></a>stime</code></em>;</p></td>
<td class="struct_member_description"><p>Kernel-mode CPU time accumulated by process.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proc-time.cutime"></a>cutime</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.cutime"></a>cutime</code></em>;</p></td>
<td class="struct_member_description"><p>Cumulative utime of process and reaped children.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proc-time.cstime"></a>cstime</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.cstime"></a>cstime</code></em>;</p></td>
<td class="struct_member_description"><p>Cumulative stime of process and reaped children.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proc-time.timeout"></a>timeout</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.timeout"></a>timeout</code></em>;</p></td>
<td class="struct_member_description"><p>The time (in jiffies) of the processs next timeout.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proc-time.it-real-value"></a>it_real_value</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.it-real-value"></a>it_real_value</code></em>;</p></td>
<td class="struct_member_description"><p>The time (in jiffies) before the next <span class="type">SIGALRM</span>
is sent to the process due to an interval timer.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proc-time.frequency"></a>frequency</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.frequency"></a>frequency</code></em>;</p></td>
<td class="struct_member_description"><p>Tick frequency.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proc-time.xcpu-utime"></a>xcpu_utime</code></em>[GLIBTOP_NCPU];</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.xcpu-utime"></a>xcpu_utime</code></em>[GLIBTOP_NCPU];</p></td>
<td class="struct_member_description"><p>SMP user-mode CPU time accumulated by process.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-proc-time.xcpu-stime"></a>xcpu_stime</code></em>[GLIBTOP_NCPU];</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.xcpu-stime"></a>xcpu_stime</code></em>[GLIBTOP_NCPU];</p></td>
<td class="struct_member_description"><p>SMP kernel-mode CPU time accumulated by process </p></td>
<td class="struct_member_annotations"> </td>
</tr>
@@ -209,6 +212,6 @@ is sent to the process due to an interval timer.</p></td>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-PPP.html" title="PPP">
<link rel="next" href="libgtop-Uptime.html" title="Uptime">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-Shared-Memory-Limits.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-Shared-Memory-Limits.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -294,6 +294,6 @@ glibtop_get_shm_limits_s (<em class="parameter"><code><a class="link" href="libg
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-Shared-Memory-Limits.html" title="Shared Memory Limits">
<link rel="next" href="libgtop-Net-List.html" title="Net List">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-Uptime.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-Uptime.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -211,6 +211,6 @@ glibtop_get_uptime_s (<em class="parameter"><code><a class="link" href="libgtop-
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-msg-limits.html" title="msg_limits">
<link rel="next" href="libgtop-swap.html" title="swap">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-cpu.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-cpu.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -386,6 +386,6 @@ glibtop_get_cpu_s (<em class="parameter"><code><a class="link" href="libgtop-Gli
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-prockernel.html" title="prockernel">
<link rel="next" href="libgtop-loadavg.html" title="loadavg">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-fsusage.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -70,8 +70,8 @@
<a name="libgtop-fsusage.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -257,6 +257,6 @@ glibtop_get_fsusage_s (<em class="parameter"><code><a class="link" href="libgtop
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="index.html" title="Libgtop Reference Manual">
<link rel="prev" href="libgtop-white-paper-overview.html" title="Overview">
<link rel="next" href="libgtop-GlibTop.html" title="GlibTop">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -133,6 +133,6 @@
the public interfaces are documented here.</p>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-fsusage.html" title="fsusage">
<link rel="next" href="libgtop-mem.html" title="mem">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-loadavg.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-loadavg.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -202,6 +202,6 @@ glibtop_get_loadavg_s (<em class="parameter"><code><a class="link" href="libgtop
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-loadavg.html" title="loadavg">
<link rel="next" href="libgtop-mountlist.html" title="mountlist">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-mem.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-mem.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -263,6 +263,6 @@ glibtop_get_mem_s (<em class="parameter"><code><a class="link" href="libgtop-Gli
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-mem.html" title="mem">
<link rel="next" href="libgtop-msg-limits.html" title="msg_limits">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-mountlist.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -70,8 +70,8 @@
<a name="libgtop-mountlist.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -259,6 +259,6 @@ glibtop_get_mountlist_s (<em class="parameter"><code><a class="link" href="libgt
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-mountlist.html" title="mountlist">
<link rel="next" href="libgtop-cpu.html" title="cpu">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-msg-limits.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-msg-limits.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -235,6 +235,6 @@ glibtop_get_msg_limits_s (<em class="parameter"><code><a class="link" href="libg
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-Net-List.html" title="Net List">
<link rel="next" href="libgtop-parameter.html" title="parameter">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-open.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-open.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -264,6 +264,6 @@ glibtop_open_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTo
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-open.html" title="open">
<link rel="next" href="libgtop-Process-Arguments.html" title="Process Arguments">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-parameter.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -74,8 +74,8 @@
<a name="libgtop-parameter.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -195,6 +195,6 @@ glibtop_set_parameter_l (<em class="parameter"><code><a class="link" href="libgt
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-sem-limits.html" title="sem_limits">
<link rel="next" href="libgtop-fsusage.html" title="fsusage">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-prockernel.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-prockernel.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -266,6 +266,6 @@ glibtop_get_proc_kernel_s (<em class="parameter"><code><a class="link" href="lib
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-signal.html" title="signal">
<link rel="next" href="libgtop-sysinfo.html" title="sysinfo">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-procmap.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-procmap.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -448,18 +448,26 @@ glibtop_get_proc_map_s (<em class="parameter"><code><a class="link" href="libgto
<div class="refsect2">
<a name="glibtop-map-entry"></a><h3>struct glibtop_map_entry</h3>
<pre class="programlisting">struct glibtop_map_entry {
guint64 flags;
guint64 start;
guint64 end;
guint64 offset;
guint64 perm;
guint64 inode;
guint64 flags;
guint64 start;
guint64 end;
guint64 offset;
guint64 perm;
guint64 inode;
guint64 device;
guint64 size;
guint64 rss;
guint64 shared_clean;
guint64 shared_clean;
guint64 shared_dirty;
guint64 private_clean;
guint64 private_clean;
guint64 private_dirty;
guint64 pss;
guint64 swap;
@@ -487,6 +495,6 @@ glibtop_get_proc_map_s (<em class="parameter"><code><a class="link" href="libgto
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-Process-Arguments.html" title="Process Arguments">
<link rel="next" href="libgtop-procopenfiles.html" title="procopenfiles">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-procmem.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-procmem.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -230,6 +230,6 @@ glibtop_get_proc_mem_s (<em class="parameter"><code><a class="link" href="libgto
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-procmem.html" title="procmem">
<link rel="next" href="libgtop-procsegment.html" title="procsegment">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-procopenfiles.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-procopenfiles.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -352,6 +352,6 @@ glibtop_get_proc_open_files_s (<em class="parameter"><code><a class="link" href=
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-procopenfiles.html" title="procopenfiles">
<link rel="next" href="libgtop-procsignal.html" title="procsignal">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-procsegment.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-procsegment.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -251,6 +251,6 @@ glibtop_get_proc_segment_s (<em class="parameter"><code><a class="link" href="li
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-procsegment.html" title="procsegment">
<link rel="next" href="libgtop-sysdeps.html" title="sysdeps">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-procsignal.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-procsignal.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -206,6 +206,6 @@ glibtop_get_proc_signal_s (<em class="parameter"><code><a class="link" href="lib
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-sysdeps.html" title="sysdeps">
<link rel="next" href="libgtop-procuid.html" title="procuid">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-procstate.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-procstate.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -337,6 +337,6 @@ glibtop_get_proc_state_s (<em class="parameter"><code><a class="link" href="libg
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-procstate.html" title="procstate">
<link rel="next" href="libgtop-Process-Time.html" title="Process Time">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-procuid.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-procuid.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -393,6 +393,6 @@ glibtop_get_proc_uid_s (<em class="parameter"><code><a class="link" href="libgto
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-Process-List.html" title="Process List">
<link rel="next" href="libgtop-prockernel.html" title="prockernel">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-sem-limits.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -78,8 +78,8 @@
<a name="libgtop-sem-limits.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -268,6 +268,6 @@ glibtop_get_sem_limits_s (<em class="parameter"><code><a class="link" href="libg
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-Process-Time.html" title="Process Time">
<link rel="next" href="libgtop-procmap.html" title="procmap">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-signal.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">struct</td>
@@ -69,6 +69,6 @@
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -7,7 +7,7 @@
<link rel="home" href="index.html" title="Libgtop Reference Manual">
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-cpu.html" title="cpu">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -34,8 +34,8 @@
<a name="libgtop-swap.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -77,8 +77,8 @@
<a name="libgtop-swap.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -228,6 +228,6 @@ glibtop_get_swap_s (<em class="parameter"><code><a class="link" href="libgtop-Gl
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-procsignal.html" title="procsignal">
<link rel="next" href="libgtop-procstate.html" title="procstate">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-sysdeps.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -62,8 +62,8 @@
<a name="libgtop-sysdeps.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -358,7 +358,7 @@ glibtop_get_sysdeps_r (<em class="parameter"><code><a class="link" href="libgtop
<hr>
<div class="refsect2">
<a name="GLIBTOP-MAX-SYSDEPS:CAPS"></a><h3>GLIBTOP_MAX_SYSDEPS</h3>
<pre class="programlisting">#define GLIBTOP_MAX_SYSDEPS 28
<pre class="programlisting">#define GLIBTOP_MAX_SYSDEPS 29
</pre>
</div>
<hr>
@@ -400,7 +400,7 @@ glibtop_get_sysdeps_r (<em class="parameter"><code><a class="link" href="libgtop
guint64 proc_wd; /* glibtop_proc_wd */
guint64 proc_affinity; /* glibtop_proc_affinity */
guint64 proc_io; /* glibtop_proc_io */
guint64 reserved0;
guint64 disk; /* glibtop_disk */
guint64 reserved1;
guint64 reserved2;
guint64 reserved3;
@@ -414,6 +414,6 @@ glibtop_get_sysdeps_r (<em class="parameter"><code><a class="link" href="libgtop
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-procmap.html" title="procmap">
<link rel="next" href="libgtop-union.html" title="union">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-sysinfo.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
@@ -60,8 +60,8 @@
<a name="libgtop-sysinfo.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
@@ -151,12 +151,12 @@ glibtop_get_sysinfo (<em class="parameter"><code><span class="type">void</span><
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-sysinfo.flags"></a>flags</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-sysinfo.flags"></a>flags</code></em>;</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="struct_member_name"><p><span class="type">guint64</span> <em class="structfield"><code><a name="glibtop-sysinfo.ncpu"></a>ncpu</code></em>;</p></td>
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-sysinfo.ncpu"></a>ncpu</code></em>;</p></td>
<td> </td>
<td> </td>
</tr>
@@ -188,6 +188,6 @@ glibtop_get_sysinfo (<em class="parameter"><code><span class="type">void</span><
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-sysinfo.html" title="sysinfo">
<link rel="next" href="libgtop-version.html" title="version">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-union.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">union</td>
@@ -64,6 +64,6 @@
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-union.html" title="union">
<link rel="next" href="libgtop-Process-List.html" title="Process List">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -35,8 +35,8 @@
<a name="libgtop-version.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody><tr>
<td class="function_type">
@@ -52,8 +52,8 @@
<a name="libgtop-version.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody><tr>
<td class="define_keyword">#define</td>
@@ -88,6 +88,6 @@ glibtop_send_version (<em class="parameter"><code><a class="link" href="libgtop-
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="libgtop-white-paper.html" title="White paper">
<link rel="prev" href="libgtop-white-paper.html" title="White paper">
<link rel="next" href="libgtop-lib.html" title="Libgtop Library Reference">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -60,6 +60,6 @@ rather than using the server.</p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<link rel="up" href="index.html" title="Libgtop Reference Manual">
<link rel="prev" href="index.html" title="Libgtop Reference Manual">
<link rel="next" href="libgtop-white-paper-overview.html" title="Overview">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -69,6 +69,6 @@
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>

View File

@@ -62,6 +62,7 @@
<keyword type="macro" name="GLIBTOP_CMND_QUIT" link="libgtop-Command.html#GLIBTOP-CMND-QUIT:CAPS"/>
<keyword type="macro" name="GLIBTOP_CMND_SYSDEPS" link="libgtop-Command.html#GLIBTOP-CMND-SYSDEPS:CAPS"/>
<keyword type="macro" name="GLIBTOP_CMND_CPU" link="libgtop-Command.html#GLIBTOP-CMND-CPU:CAPS"/>
<keyword type="macro" name="GLIBTOP_CMND_DISK" link="libgtop-Command.html#GLIBTOP-CMND-DISK:CAPS"/>
<keyword type="macro" name="GLIBTOP_CMND_MEM" link="libgtop-Command.html#GLIBTOP-CMND-MEM:CAPS"/>
<keyword type="macro" name="GLIBTOP_CMND_SWAP" link="libgtop-Command.html#GLIBTOP-CMND-SWAP:CAPS"/>
<keyword type="macro" name="GLIBTOP_CMND_UPTIME" link="libgtop-Command.html#GLIBTOP-CMND-UPTIME:CAPS"/>

View File

@@ -61,18 +61,6 @@ a:hover
color: #729fcf;
}
div.informaltable table
{
border-collapse: separate;
border-spacing: 1em 0.3em;
border: none;
}
div.informaltable table td, div.informaltable table th
{
vertical-align: top;
}
.function_type,
.variable_type,
.property_type,
@@ -127,6 +115,7 @@ td p
margin: 0.25em;
}
div.informaltable table[border="1"],
div.table table
{
border-collapse: collapse;
@@ -135,6 +124,8 @@ div.table table
border: solid 1px #babdb6;
}
div.informaltable table[border="1"] td,
div.informaltable table th,
div.table table td, div.table table th
{
/* tango:aluminium 3 */
@@ -143,6 +134,7 @@ div.table table td, div.table table th
vertical-align: top;
}
div.informaltable table[border="1"] th,
div.table table th
{
/* tango:aluminium 2 */
@@ -293,29 +285,11 @@ h2 .extralinks, h3 .extralinks
font-weight: normal;
}
acronym,abbr
acronym,abbr
{
border-bottom: 1px dotted gray;
}
/* code listings */
.listing_code .programlisting .normal,
.listing_code .programlisting .normal a,
.listing_code .programlisting .number,
.listing_code .programlisting .cbracket,
.listing_code .programlisting .symbol { color: #555753; }
.listing_code .programlisting .comment,
.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */
.listing_code .programlisting .function,
.listing_code .programlisting .function a,
.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */
.listing_code .programlisting .string { color: #ad7fa8; } /* tango: plum */
.listing_code .programlisting .keyword,
.listing_code .programlisting .usertype,
.listing_code .programlisting .type,
.listing_code .programlisting .type a { color: #4e9a06; } /* tango: chameleon 3 */
.listing_frame {
/* tango:sky blue 1 */
border: solid 1px #729fcf;
@@ -481,3 +455,76 @@ acronym,abbr
}
}
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.hll { background-color: #ffffcc }
.c { color: #3D7B7B; font-style: italic } /* Comment */
.err { border: 1px solid #FF0000 } /* Error */
.k { color: #008000; font-weight: bold } /* Keyword */
.o { color: #666666 } /* Operator */
.ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
.cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
.cp { color: #9C6500 } /* Comment.Preproc */
.cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
.c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
.cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
.gd { color: #A00000 } /* Generic.Deleted */
.ge { font-style: italic } /* Generic.Emph */
.gr { color: #E40000 } /* Generic.Error */
.gh { color: #000080; font-weight: bold } /* Generic.Heading */
.gi { color: #008400 } /* Generic.Inserted */
.go { color: #717171 } /* Generic.Output */
.gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.gs { font-weight: bold } /* Generic.Strong */
.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.gt { color: #0044DD } /* Generic.Traceback */
.kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.kp { color: #008000 } /* Keyword.Pseudo */
.kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.kt { color: #B00040 } /* Keyword.Type */
.m { color: #666666 } /* Literal.Number */
.s { color: #BA2121 } /* Literal.String */
.na { color: #687822 } /* Name.Attribute */
.nb { color: #008000 } /* Name.Builtin */
.nc { color: #0000FF; font-weight: bold } /* Name.Class */
.no { color: #880000 } /* Name.Constant */
.nd { color: #AA22FF } /* Name.Decorator */
.ni { color: #717171; font-weight: bold } /* Name.Entity */
.ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
.nf { color: #0000FF } /* Name.Function */
.nl { color: #767600 } /* Name.Label */
.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
.nt { color: #008000; font-weight: bold } /* Name.Tag */
.nv { color: #19177C } /* Name.Variable */
.ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
.w { color: #bbbbbb } /* Text.Whitespace */
.mb { color: #666666 } /* Literal.Number.Bin */
.mf { color: #666666 } /* Literal.Number.Float */
.mh { color: #666666 } /* Literal.Number.Hex */
.mi { color: #666666 } /* Literal.Number.Integer */
.mo { color: #666666 } /* Literal.Number.Oct */
.sa { color: #BA2121 } /* Literal.String.Affix */
.sb { color: #BA2121 } /* Literal.String.Backtick */
.sc { color: #BA2121 } /* Literal.String.Char */
.dl { color: #BA2121 } /* Literal.String.Delimiter */
.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.s2 { color: #BA2121 } /* Literal.String.Double */
.se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
.sh { color: #BA2121 } /* Literal.String.Heredoc */
.si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
.sx { color: #008000 } /* Literal.String.Other */
.sr { color: #A45A77 } /* Literal.String.Regex */
.s1 { color: #BA2121 } /* Literal.String.Single */
.ss { color: #19177C } /* Literal.String.Symbol */
.bp { color: #008000 } /* Name.Builtin.Pseudo */
.fm { color: #0000FF } /* Name.Function.Magic */
.vc { color: #19177C } /* Name.Variable.Class */
.vg { color: #19177C } /* Name.Variable.Global */
.vi { color: #19177C } /* Name.Variable.Instance */
.vm { color: #19177C } /* Name.Variable.Magic */
.il { color: #666666 } /* Literal.Number.Integer.Long */

View File

@@ -29,6 +29,7 @@ glibtop_close_p
GLIBTOP_CMND_QUIT
GLIBTOP_CMND_SYSDEPS
GLIBTOP_CMND_CPU
GLIBTOP_CMND_DISK
GLIBTOP_CMND_MEM
GLIBTOP_CMND_SWAP
GLIBTOP_CMND_UPTIME
@@ -678,6 +679,25 @@ glibtop_init_cpu_s
glibtop_get_cpu_s
</SECTION>
<INCLUDE>glibtop/disk.h</INCLUDE>
<SECTION>
<FILE>disk</FILE>
LIBTOP_XDISK_SECTORS_READ
GLIBTOP_XDISK_TIME_READ
GLIBTOP_XDISK_SECTORS_WRITE
GLIBTOP_XDISK_TIME_WRITE
GLIBTOP_MAX_DISK
GLIBTOP_NDISK
glibtop_disk
glibtop_get_disk
glibtop_get_disk_r
glibtop_get_disk_l
glibtop_init_disk_p
glibtop_get_disk_p
glibtop_init_disk_s
glibtop_get_disk_s
</SECTION>
<INCLUDE>glibtop/swap.h</INCLUDE>
<SECTION>
<FILE>swap</FILE>

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<phrase>2.40.0</phrase>
<phrase>2.41.2</phrase>

View File

@@ -1,4 +1,4 @@
@set UPDATED 4 February 2019
@set UPDATED-MONTH February 2019
@set EDITION 2.40.0
@set VERSION 2.40.0
@set UPDATED 27 November 2016
@set UPDATED-MONTH November 2016
@set EDITION 2.41.2
@set VERSION 2.41.2

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
@set UPDATED 4 February 2019
@set UPDATED-MONTH February 2019
@set EDITION 2.40.0
@set VERSION 2.40.0
@set UPDATED 27 November 2016
@set UPDATED-MONTH November 2016
@set EDITION 2.41.2
@set VERSION 2.41.2

View File

@@ -11,7 +11,7 @@ AM_LDFLAGS = $(LIBGTOP_EXTRA_LIBS)
noinst_PROGRAMS = first second pprint procargs df netlist \
mountlist procmap netload sysdeps timings \
openfiles smp proclist free wd affinity diskio
openfiles smp proclist free wd affinity disk diskio sysinfo
first_SOURCES = first.c
first_LDADD = $(top_builddir)/lib/libgtop-2.0.la
@@ -34,6 +34,9 @@ mountlist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
smp_SOURCES = smp.c
smp_LDADD = $(top_builddir)/lib/libgtop-2.0.la -lm
disk_SOURCES = disk.c
disk_LDADD = $(top_builddir)/lib/libgtop-2.0.la -lm
timings_SOURCES = timings.c
timings_LDADD = $(top_builddir)/lib/libgtop-2.0.la
@@ -67,3 +70,6 @@ affinity_LDADD = $(top_builddir)/lib/libgtop-2.0.la
diskio_SOURCES = diskio.c
diskio_LDADD = $(top_builddir)/lib/libgtop-2.0.la
sysinfo_SOURCES = sysinfo.c
sysinfo_LDADD = $(top_builddir)/lib/libgtop-2.0.la

View File

@@ -1,7 +1,7 @@
# Makefile.in generated by automake 1.16.1 from Makefile.am.
# Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -93,11 +93,13 @@ noinst_PROGRAMS = first$(EXEEXT) second$(EXEEXT) pprint$(EXEEXT) \
mountlist$(EXEEXT) procmap$(EXEEXT) netload$(EXEEXT) \
sysdeps$(EXEEXT) timings$(EXEEXT) openfiles$(EXEEXT) \
smp$(EXEEXT) proclist$(EXEEXT) free$(EXEEXT) wd$(EXEEXT) \
affinity$(EXEEXT) diskio$(EXEEXT)
affinity$(EXEEXT) disk$(EXEEXT) diskio$(EXEEXT) \
sysinfo$(EXEEXT)
subdir = examples
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \
am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gtk-doc.m4 \
$(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \
$(top_srcdir)/m4/intlmacosx.m4 \
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
@@ -125,6 +127,9 @@ am__v_lt_1 =
am_df_OBJECTS = df.$(OBJEXT)
df_OBJECTS = $(am_df_OBJECTS)
df_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
am_disk_OBJECTS = disk.$(OBJEXT)
disk_OBJECTS = $(am_disk_OBJECTS)
disk_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
am_diskio_OBJECTS = diskio.$(OBJEXT)
diskio_OBJECTS = $(am_diskio_OBJECTS)
diskio_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
@@ -167,6 +172,9 @@ smp_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
am_sysdeps_OBJECTS = sysdeps.$(OBJEXT)
sysdeps_OBJECTS = $(am_sysdeps_OBJECTS)
sysdeps_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
am_sysinfo_OBJECTS = sysinfo.$(OBJEXT)
sysinfo_OBJECTS = $(am_sysinfo_OBJECTS)
sysinfo_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
am_timings_OBJECTS = timings.$(OBJEXT)
timings_OBJECTS = $(am_timings_OBJECTS)
timings_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
@@ -189,13 +197,14 @@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__maybe_remake_depfiles = depfiles
am__depfiles_remade = ./$(DEPDIR)/affinity.Po ./$(DEPDIR)/df.Po \
./$(DEPDIR)/diskio.Po ./$(DEPDIR)/first.Po ./$(DEPDIR)/free.Po \
./$(DEPDIR)/mountlist.Po ./$(DEPDIR)/netlist.Po \
./$(DEPDIR)/netload.Po ./$(DEPDIR)/openfiles.Po \
./$(DEPDIR)/pprint.Po ./$(DEPDIR)/procargs.Po \
./$(DEPDIR)/proclist.Po ./$(DEPDIR)/procmap.Po \
./$(DEPDIR)/second.Po ./$(DEPDIR)/smp.Po \
./$(DEPDIR)/sysdeps.Po ./$(DEPDIR)/timings.Po \
./$(DEPDIR)/disk.Po ./$(DEPDIR)/diskio.Po ./$(DEPDIR)/first.Po \
./$(DEPDIR)/free.Po ./$(DEPDIR)/mountlist.Po \
./$(DEPDIR)/netlist.Po ./$(DEPDIR)/netload.Po \
./$(DEPDIR)/openfiles.Po ./$(DEPDIR)/pprint.Po \
./$(DEPDIR)/procargs.Po ./$(DEPDIR)/proclist.Po \
./$(DEPDIR)/procmap.Po ./$(DEPDIR)/second.Po \
./$(DEPDIR)/smp.Po ./$(DEPDIR)/sysdeps.Po \
./$(DEPDIR)/sysinfo.Po ./$(DEPDIR)/timings.Po \
./$(DEPDIR)/wd.Po
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
@@ -216,18 +225,20 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = $(affinity_SOURCES) $(df_SOURCES) $(diskio_SOURCES) \
$(first_SOURCES) free.c $(mountlist_SOURCES) \
SOURCES = $(affinity_SOURCES) $(df_SOURCES) $(disk_SOURCES) \
$(diskio_SOURCES) $(first_SOURCES) free.c $(mountlist_SOURCES) \
$(netlist_SOURCES) $(netload_SOURCES) $(openfiles_SOURCES) \
$(pprint_SOURCES) $(procargs_SOURCES) $(proclist_SOURCES) \
$(procmap_SOURCES) $(second_SOURCES) $(smp_SOURCES) \
$(sysdeps_SOURCES) $(timings_SOURCES) $(wd_SOURCES)
DIST_SOURCES = $(affinity_SOURCES) $(df_SOURCES) $(diskio_SOURCES) \
$(first_SOURCES) free.c $(mountlist_SOURCES) \
$(sysdeps_SOURCES) $(sysinfo_SOURCES) $(timings_SOURCES) \
$(wd_SOURCES)
DIST_SOURCES = $(affinity_SOURCES) $(df_SOURCES) $(disk_SOURCES) \
$(diskio_SOURCES) $(first_SOURCES) free.c $(mountlist_SOURCES) \
$(netlist_SOURCES) $(netload_SOURCES) $(openfiles_SOURCES) \
$(pprint_SOURCES) $(procargs_SOURCES) $(proclist_SOURCES) \
$(procmap_SOURCES) $(second_SOURCES) $(smp_SOURCES) \
$(sysdeps_SOURCES) $(timings_SOURCES) $(wd_SOURCES)
$(sysdeps_SOURCES) $(sysinfo_SOURCES) $(timings_SOURCES) \
$(wd_SOURCES)
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -250,8 +261,6 @@ am__define_uniq_tagged_files = \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
ChangeLog
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -278,6 +287,8 @@ CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CSCOPE = @CSCOPE@
CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
@@ -289,8 +300,10 @@ ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -341,6 +354,7 @@ LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LSBLK = @LSBLK@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
@@ -350,8 +364,8 @@ MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MSGFMT = @MSGFMT@
MSGFMT_015 = @MSGFMT_015@
MSGMERGE = @MSGMERGE@
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
@@ -376,6 +390,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
TR = @TR@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
@@ -428,6 +443,8 @@ libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
libgtop_top_builddir = @libgtop_top_builddir@
libs_xauth = @libs_xauth@
localedir = @localedir@
localedir_c = @localedir_c@
localedir_c_make = @localedir_c_make@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
@@ -436,6 +453,7 @@ pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
server_programs = @server_programs@
sharedstatedir = @sharedstatedir@
@@ -462,6 +480,8 @@ mountlist_SOURCES = mountlist.c
mountlist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
smp_SOURCES = smp.c
smp_LDADD = $(top_builddir)/lib/libgtop-2.0.la -lm
disk_SOURCES = disk.c
disk_LDADD = $(top_builddir)/lib/libgtop-2.0.la -lm
timings_SOURCES = timings.c
timings_LDADD = $(top_builddir)/lib/libgtop-2.0.la
pprint_SOURCES = pprint.c
@@ -484,6 +504,8 @@ affinity_SOURCES = affinity.c
affinity_LDADD = $(top_builddir)/lib/libgtop-2.0.la
diskio_SOURCES = diskio.c
diskio_LDADD = $(top_builddir)/lib/libgtop-2.0.la
sysinfo_SOURCES = sysinfo.c
sysinfo_LDADD = $(top_builddir)/lib/libgtop-2.0.la
all: all-am
.SUFFIXES:
@@ -535,6 +557,10 @@ df$(EXEEXT): $(df_OBJECTS) $(df_DEPENDENCIES) $(EXTRA_df_DEPENDENCIES)
@rm -f df$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(df_OBJECTS) $(df_LDADD) $(LIBS)
disk$(EXEEXT): $(disk_OBJECTS) $(disk_DEPENDENCIES) $(EXTRA_disk_DEPENDENCIES)
@rm -f disk$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(disk_OBJECTS) $(disk_LDADD) $(LIBS)
diskio$(EXEEXT): $(diskio_OBJECTS) $(diskio_DEPENDENCIES) $(EXTRA_diskio_DEPENDENCIES)
@rm -f diskio$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(diskio_OBJECTS) $(diskio_LDADD) $(LIBS)
@@ -591,6 +617,10 @@ sysdeps$(EXEEXT): $(sysdeps_OBJECTS) $(sysdeps_DEPENDENCIES) $(EXTRA_sysdeps_DEP
@rm -f sysdeps$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(sysdeps_OBJECTS) $(sysdeps_LDADD) $(LIBS)
sysinfo$(EXEEXT): $(sysinfo_OBJECTS) $(sysinfo_DEPENDENCIES) $(EXTRA_sysinfo_DEPENDENCIES)
@rm -f sysinfo$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(sysinfo_OBJECTS) $(sysinfo_LDADD) $(LIBS)
timings$(EXEEXT): $(timings_OBJECTS) $(timings_DEPENDENCIES) $(EXTRA_timings_DEPENDENCIES)
@rm -f timings$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(timings_OBJECTS) $(timings_LDADD) $(LIBS)
@@ -607,6 +637,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/affinity.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/df.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/disk.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/diskio.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/first.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/free.Po@am__quote@ # am--include-marker
@@ -621,6 +652,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/second.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smp.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sysdeps.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sysinfo.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timings.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wd.Po@am__quote@ # am--include-marker
@@ -708,7 +740,6 @@ cscopelist-am: $(am__tagged_files)
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
@@ -784,6 +815,7 @@ clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
distclean: distclean-am
-rm -f ./$(DEPDIR)/affinity.Po
-rm -f ./$(DEPDIR)/df.Po
-rm -f ./$(DEPDIR)/disk.Po
-rm -f ./$(DEPDIR)/diskio.Po
-rm -f ./$(DEPDIR)/first.Po
-rm -f ./$(DEPDIR)/free.Po
@@ -798,6 +830,7 @@ distclean: distclean-am
-rm -f ./$(DEPDIR)/second.Po
-rm -f ./$(DEPDIR)/smp.Po
-rm -f ./$(DEPDIR)/sysdeps.Po
-rm -f ./$(DEPDIR)/sysinfo.Po
-rm -f ./$(DEPDIR)/timings.Po
-rm -f ./$(DEPDIR)/wd.Po
-rm -f Makefile
@@ -847,6 +880,7 @@ installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f ./$(DEPDIR)/affinity.Po
-rm -f ./$(DEPDIR)/df.Po
-rm -f ./$(DEPDIR)/disk.Po
-rm -f ./$(DEPDIR)/diskio.Po
-rm -f ./$(DEPDIR)/first.Po
-rm -f ./$(DEPDIR)/free.Po
@@ -861,6 +895,7 @@ maintainer-clean: maintainer-clean-am
-rm -f ./$(DEPDIR)/second.Po
-rm -f ./$(DEPDIR)/smp.Po
-rm -f ./$(DEPDIR)/sysdeps.Po
-rm -f ./$(DEPDIR)/sysinfo.Po
-rm -f ./$(DEPDIR)/timings.Po
-rm -f ./$(DEPDIR)/wd.Po
-rm -f Makefile

65
examples/disk.c Normal file
View File

@@ -0,0 +1,65 @@
/* Copyright (C) 1998-99 Martin Baulig
This file is part of LibGTop 1.0.
Contributed by James Dominic P. Guana <guana.histark@gmail.com>, May 2020.
LibGTop is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
LibGTop is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with LibGTop; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include <config.h>
#include <locale.h>
#include <libintl.h>
#include <math.h>
#include <stdio.h>
#include <glibtop.h>
#include <glibtop/disk.h>
int
main (int argc, char *argv [])
{
glibtop_disk disk;
char separator [BUFSIZ];
int ndisk, i;
glibtop_init();
glibtop_get_disk (&disk);
ndisk = glibtop_global_server->ndisk ? glibtop_global_server->ndisk : 1;
memset (separator, '-', 91);
separator [92] = '\0';
printf("\n\n");
printf ("ELAPSE ");
printf ("Read (b) Time Read (ms) Write (b) Time Write (ms)\n");
printf ("%s\n", separator);
for (i = 0; i < ndisk; i++) {
printf ("DISK %3d : %15lu %15lu %15lu %15lu\n", i,
(unsigned long) disk.xdisk_sectors_read [i] * 512,
(unsigned long) disk.xdisk_time_read [i],
(unsigned long) disk.xdisk_sectors_write [i] * 512,
(unsigned long) disk.xdisk_time_write [i]);
}
printf ("%s\n\n\n", separator);
exit (0);
}

View File

@@ -71,7 +71,9 @@ main (int argc, char *argv [])
printf ("Host = '%s' - %u\n\n", buffer, port);
#ifdef HAVE_SBRK
printf ("sbrk (0) = %p\n\n", sbrk (0));
#endif
for (c = 0; c < PROFILE_COUNT; c++) {
mount_entries = glibtop_get_mountlist (&mount_list, 1);
@@ -79,7 +81,9 @@ main (int argc, char *argv [])
g_free (mount_entries);
}
#ifdef HAVE_SBRK
printf ("sbrk (0) = %p\n\n", sbrk (0));
#endif
mount_entries = glibtop_get_mountlist (&mount_list, 1);
@@ -108,7 +112,9 @@ main (int argc, char *argv [])
g_free (mount_entries);
#ifdef HAVE_SBRK
printf ("\nsbrk (0) = %p\n\n", sbrk (0));
#endif
glibtop_close ();

View File

@@ -66,7 +66,7 @@ main (int argc, char *argv [])
glibtop_netload netload;
unsigned method, count, port;
struct in_addr addr, subnet;
char *address_string, *subnet_string;
char address_string[INET_ADDRSTRLEN], subnet_string[INET_ADDRSTRLEN];
char address6_string[INET6_ADDRSTRLEN], prefix6_string[INET6_ADDRSTRLEN];
char *hwaddress_string;
char buffer [BUFSIZ];
@@ -105,9 +105,8 @@ main (int argc, char *argv [])
addr.s_addr = netload.address;
subnet.s_addr = netload.subnet;
address_string = g_strdup (inet_ntoa (addr));
subnet_string = g_strdup (inet_ntoa (subnet));
inet_ntop (AF_INET, &addr, address_string, INET_ADDRSTRLEN);
inet_ntop (AF_INET, &subnet, subnet_string, INET_ADDRSTRLEN);
inet_ntop (AF_INET6, netload.address6, address6_string, INET6_ADDRSTRLEN);
inet_ntop (AF_INET6, netload.prefix6, prefix6_string, INET6_ADDRSTRLEN);
@@ -153,9 +152,6 @@ main (int argc, char *argv [])
hwaddress_string);
g_free (address_string);
g_free (subnet_string);
glibtop_close ();
exit (0);

48
examples/sysinfo.c Normal file
View File

@@ -0,0 +1,48 @@
/* Copyright (C) 1998-99 Martin Baulig
This file is part of LibGTop 1.0.
Contributed by Dr. James Dominic P. Guana <jdpguana@histark.com>, August 2021.
LibGTop is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
LibGTop is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with LibGTop; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include <config.h>
#include <locale.h>
#include <libintl.h>
#include <math.h>
#include <stdio.h>
#include <glibtop.h>
#include <glibtop/sysinfo.h>
int
main (int argc, char *argv [])
{
char *model;
const glibtop_sysinfo * sysinfo;
glibtop_init();
sysinfo = glibtop_get_sysinfo ();
model = g_hash_table_lookup (sysinfo->cpuinfo [1].values, "model name");
printf ("\nProcessor Model: %s\n", g_strdup (model));
printf ("Number of Cores: %lu\n\n", sysinfo->ncpu);
glibtop_close ();
exit (0);
}

View File

@@ -1,4 +1,5 @@
void|cpu
void|disk
void|mem
void|swap
void|uptime

View File

@@ -98,6 +98,9 @@ struct _glibtop
gid_t egid;
glibtop_machine *machine; /* Machine dependent data */
int ndisk; /* Number of DISKs, zero if single-disk. This pertains to disk volumes */
int real_ndisk; /* Number of PHYSICAL DISKs. Only ndisk is monitored for now */
};
extern glibtop *glibtop_global_server;
@@ -128,7 +131,7 @@ glibtop_init_r (glibtop **server_ptr,
/**
* glibtop_init_s:
* glibtop_init_s: (skip)
* @server_ptr: (out):
* @features:
* @flags:

View File

@@ -57,6 +57,7 @@ DOC_STAMPS=setup-build.stamp scan-build.stamp sgml-build.stamp \
sgml.stamp html.stamp pdf.stamp
SCANOBJ_FILES = \
$(DOC_MODULE).actions \
$(DOC_MODULE).args \
$(DOC_MODULE).hierarchy \
$(DOC_MODULE).interfaces \

View File

@@ -1,7 +1,7 @@
# Makefile.in generated by automake 1.16.1 from Makefile.am.
# Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -89,8 +89,9 @@ build_triplet = @build@
host_triplet = @host@
subdir = include
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \
am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gtk-doc.m4 \
$(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \
$(top_srcdir)/m4/intlmacosx.m4 \
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
@@ -159,8 +160,6 @@ am__define_uniq_tagged_files = \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -206,6 +205,8 @@ CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CSCOPE = @CSCOPE@
CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
@@ -217,8 +218,10 @@ ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
GLIB_CFLAGS = @GLIB_CFLAGS@
@@ -269,6 +272,7 @@ LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LSBLK = @LSBLK@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
@@ -278,8 +282,8 @@ MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MSGFMT = @MSGFMT@
MSGFMT_015 = @MSGFMT_015@
MSGMERGE = @MSGMERGE@
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
@@ -304,6 +308,7 @@ SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
TR = @TR@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
@@ -356,6 +361,8 @@ libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
libgtop_top_builddir = @libgtop_top_builddir@
libs_xauth = @libs_xauth@
localedir = @localedir@
localedir_c = @localedir_c@
localedir_c_make = @localedir_c_make@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
@@ -364,6 +371,7 @@ pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
server_programs = @server_programs@
sharedstatedir = @sharedstatedir@
@@ -513,7 +521,6 @@ cscopelist-am: $(am__tagged_files)
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am

View File

@@ -2,7 +2,7 @@ glibtopdir = $(includedir)/libgtop-2.0/glibtop
glibtop_HEADERS = close.h loadavg.h prockernel.h procstate.h \
sem_limits.h uptime.h command.h mem.h proclist.h \
proctime.h shm_limits.h cpu.h msg_limits.h \
proctime.h shm_limits.h cpu.h disk.h msg_limits.h \
procmem.h procuid.h swap.h \
procsegment.h sysdeps.h global.h \
procsignal.h union.h gnuserv.h \

Some files were not shown because too many files have changed in this diff Show More