New upstream version 2.41.2
This commit is contained in:
6
INSTALL
6
INSTALL
@@ -1,8 +1,8 @@
|
|||||||
Installation Instructions
|
Installation Instructions
|
||||||
*************************
|
*************************
|
||||||
|
|
||||||
Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software
|
Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free
|
||||||
Foundation, Inc.
|
Software Foundation, Inc.
|
||||||
|
|
||||||
Copying and distribution of this file, with or without modification,
|
Copying and distribution of this file, with or without modification,
|
||||||
are permitted in any medium without royalty provided the copyright
|
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.
|
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
|
prerequisites, which makes it generally unusable when shipped generated
|
||||||
files such as 'configure' are involved. Use GNU 'make' instead.
|
files such as 'configure' are involved. Use GNU 'make' instead.
|
||||||
|
|
||||||
|
45
Makefile.in
45
Makefile.in
@@ -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@
|
# @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
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -91,8 +91,9 @@ build_triplet = @build@
|
|||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
subdir = .
|
subdir = .
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
|
am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
|
||||||
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.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/intlmacosx.m4 \
|
||||||
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.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__extra_recursive_targets)
|
||||||
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
||||||
cscope distdir distdir-am dist dist-all distcheck
|
cscope distdir distdir-am dist dist-all distcheck
|
||||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
|
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
|
||||||
$(LISP)config.h.in
|
config.h.in
|
||||||
# Read a list of newline-separated strings from the standard input,
|
# Read a list of newline-separated strings from the standard input,
|
||||||
# and print each of them once, without duplicates. Input order is
|
# and print each of them once, without duplicates. Input order is
|
||||||
# *not* preserved.
|
# *not* preserved.
|
||||||
@@ -197,15 +198,13 @@ am__define_uniq_tagged_files = \
|
|||||||
unique=`for i in $$list; do \
|
unique=`for i in $$list; do \
|
||||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
done | $(am__uniquify_input)`
|
done | $(am__uniquify_input)`
|
||||||
ETAGS = etags
|
|
||||||
CTAGS = ctags
|
|
||||||
CSCOPE = cscope
|
|
||||||
DIST_SUBDIRS = po misc include sysdeps lib src examples doc
|
DIST_SUBDIRS = po misc include sysdeps lib src examples doc
|
||||||
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
||||||
$(srcdir)/libgtop-2.0.pc.in $(srcdir)/libgtop.spec.in \
|
$(srcdir)/libgtop-2.0.pc.in $(srcdir)/libgtop.spec.in \
|
||||||
$(srcdir)/libgtopconfig.h.in ABOUT-NLS AUTHORS COPYING \
|
$(srcdir)/libgtopconfig.h.in ABOUT-NLS AUTHORS COPYING \
|
||||||
ChangeLog INSTALL NEWS README TODO compile config.guess \
|
ChangeLog INSTALL NEWS README compile config.guess \
|
||||||
config.rpath config.sub install-sh ltconfig ltmain.sh missing
|
config.rpath config.sub depcomp install-sh ltconfig ltmain.sh \
|
||||||
|
missing
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
distdir = $(PACKAGE)-$(VERSION)
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
top_distdir = $(distdir)
|
top_distdir = $(distdir)
|
||||||
@@ -244,6 +243,8 @@ am__relativize = \
|
|||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
DIST_ARCHIVES = $(distdir).tar.xz
|
DIST_ARCHIVES = $(distdir).tar.xz
|
||||||
DIST_TARGETS = dist-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
|
distuninstallcheck_listfiles = find . -type f -print
|
||||||
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
||||||
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
||||||
@@ -265,6 +266,8 @@ CCDEPMODE = @CCDEPMODE@
|
|||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CSCOPE = @CSCOPE@
|
||||||
|
CTAGS = @CTAGS@
|
||||||
CYGPATH_W = @CYGPATH_W@
|
CYGPATH_W = @CYGPATH_W@
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
@@ -276,8 +279,10 @@ ECHO_C = @ECHO_C@
|
|||||||
ECHO_N = @ECHO_N@
|
ECHO_N = @ECHO_N@
|
||||||
ECHO_T = @ECHO_T@
|
ECHO_T = @ECHO_T@
|
||||||
EGREP = @EGREP@
|
EGREP = @EGREP@
|
||||||
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||||
@@ -328,6 +333,7 @@ LIBS = @LIBS@
|
|||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIPO = @LIPO@
|
LIPO = @LIPO@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
|
LSBLK = @LSBLK@
|
||||||
LTLIBICONV = @LTLIBICONV@
|
LTLIBICONV = @LTLIBICONV@
|
||||||
LTLIBINTL = @LTLIBINTL@
|
LTLIBINTL = @LTLIBINTL@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
@@ -337,8 +343,8 @@ MAKEINFO = @MAKEINFO@
|
|||||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||||
MKDIR_P = @MKDIR_P@
|
MKDIR_P = @MKDIR_P@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
MSGFMT_015 = @MSGFMT_015@
|
|
||||||
MSGMERGE = @MSGMERGE@
|
MSGMERGE = @MSGMERGE@
|
||||||
|
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
|
||||||
NM = @NM@
|
NM = @NM@
|
||||||
NMEDIT = @NMEDIT@
|
NMEDIT = @NMEDIT@
|
||||||
OBJDUMP = @OBJDUMP@
|
OBJDUMP = @OBJDUMP@
|
||||||
@@ -363,6 +369,7 @@ SED = @SED@
|
|||||||
SET_MAKE = @SET_MAKE@
|
SET_MAKE = @SET_MAKE@
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
STRIP = @STRIP@
|
STRIP = @STRIP@
|
||||||
|
TR = @TR@
|
||||||
USE_NLS = @USE_NLS@
|
USE_NLS = @USE_NLS@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
XGETTEXT = @XGETTEXT@
|
XGETTEXT = @XGETTEXT@
|
||||||
@@ -415,6 +422,8 @@ libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
|
|||||||
libgtop_top_builddir = @libgtop_top_builddir@
|
libgtop_top_builddir = @libgtop_top_builddir@
|
||||||
libs_xauth = @libs_xauth@
|
libs_xauth = @libs_xauth@
|
||||||
localedir = @localedir@
|
localedir = @localedir@
|
||||||
|
localedir_c = @localedir_c@
|
||||||
|
localedir_c_make = @localedir_c_make@
|
||||||
localstatedir = @localstatedir@
|
localstatedir = @localstatedir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
@@ -423,6 +432,7 @@ pdfdir = @pdfdir@
|
|||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
runstatedir = @runstatedir@
|
||||||
sbindir = @sbindir@
|
sbindir = @sbindir@
|
||||||
server_programs = @server_programs@
|
server_programs = @server_programs@
|
||||||
sharedstatedir = @sharedstatedir@
|
sharedstatedir = @sharedstatedir@
|
||||||
@@ -664,7 +674,6 @@ cscopelist-am: $(am__tagged_files)
|
|||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
|
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
|
||||||
|
|
||||||
distdir: $(BUILT_SOURCES)
|
distdir: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
$(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
|
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
||||||
$(am__post_remove_distdir)
|
$(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
|
dist-tarZ: distdir
|
||||||
@echo WARNING: "Support for distribution archives compressed with" \
|
@echo WARNING: "Support for distribution archives compressed with" \
|
||||||
"legacy program 'compress' is deprecated." >&2
|
"legacy program 'compress' is deprecated." >&2
|
||||||
@@ -792,6 +805,8 @@ distcheck: dist
|
|||||||
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
|
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
|
||||||
*.zip*) \
|
*.zip*) \
|
||||||
unzip $(distdir).zip ;;\
|
unzip $(distdir).zip ;;\
|
||||||
|
*.tar.zst*) \
|
||||||
|
zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
|
||||||
esac
|
esac
|
||||||
chmod -R a-w $(distdir)
|
chmod -R a-w $(distdir)
|
||||||
chmod u+w $(distdir)
|
chmod u+w $(distdir)
|
||||||
@@ -807,7 +822,7 @@ distcheck: dist
|
|||||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||||
--srcdir=../.. --prefix="$$dc_install_base" \
|
--srcdir=../.. --prefix="$$dc_install_base" \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
&& $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
@@ -972,7 +987,7 @@ uninstall-am: uninstall-libgtopincludeHEADERS uninstall-pkgconfigDATA
|
|||||||
am--refresh check check-am clean clean-cscope clean-generic \
|
am--refresh check check-am clean clean-cscope clean-generic \
|
||||||
clean-libtool cscope cscopelist-am ctags ctags-am dist \
|
clean-libtool cscope cscopelist-am ctags ctags-am dist \
|
||||||
dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
|
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-generic distclean-hdr distclean-libtool \
|
||||||
distclean-tags distcleancheck distdir distuninstallcheck dvi \
|
distclean-tags distcleancheck distdir distuninstallcheck dvi \
|
||||||
dvi-am html html-am info info-am install install-am \
|
dvi-am html html-am info info-am install install-am \
|
||||||
|
28
NEWS
28
NEWS
@@ -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
|
11 March 2019: Overview of changes in 2.40.0
|
||||||
================================================
|
================================================
|
||||||
|
|
||||||
|
@@ -263,8 +263,7 @@ AC_CACHE_VAL(fu_cv_sys_mounted_getmntinfo,
|
|||||||
[
|
[
|
||||||
ok=
|
ok=
|
||||||
if test $ac_cv_func_getmntinfo = yes; then
|
if test $ac_cv_func_getmntinfo = yes; then
|
||||||
AC_EGREP_HEADER(f_type;, sys/mount.h,
|
AC_EGREP_HEADER(getmntinfo, sys/mount.h, ok=yes)
|
||||||
ok=yes)
|
|
||||||
fi
|
fi
|
||||||
test -n "$ok" \
|
test -n "$ok" \
|
||||||
&& fu_cv_sys_mounted_getmntinfo=yes \
|
&& fu_cv_sys_mounted_getmntinfo=yes \
|
||||||
|
81
aclocal.m4
vendored
81
aclocal.m4
vendored
@@ -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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# 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_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_ifndef([AC_AUTOCONF_VERSION],
|
||||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||||
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
|
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
|
||||||
[m4_warning([this file was generated for autoconf 2.69.
|
[m4_warning([this file was generated for autoconf 2.71.
|
||||||
You have another version of autoconf. It may work, but is not guaranteed to.
|
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.
|
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'.])])
|
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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -35,7 +35,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
|
|||||||
[am__api_version='1.16'
|
[am__api_version='1.16'
|
||||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
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.
|
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
|
[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.
|
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
||||||
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
||||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
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_ifndef([AC_AUTOCONF_VERSION],
|
||||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||||
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
||||||
|
|
||||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
# 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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
|||||||
|
|
||||||
# AM_CONDITIONAL -*- Autoconf -*-
|
# 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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# 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.]])
|
Usually this means the macro was only invoked conditionally.]])
|
||||||
fi])])
|
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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# 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 -*-
|
# 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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -371,7 +371,9 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|||||||
done
|
done
|
||||||
if test $am_rc -ne 0; then
|
if test $am_rc -ne 0; then
|
||||||
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
|
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
|
'--disable-dependency-tracking' option to at least be able to build
|
||||||
the package (albeit without support for automatic dependency tracking).])
|
the package (albeit without support for automatic dependency tracking).])
|
||||||
fi
|
fi
|
||||||
@@ -398,7 +400,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|||||||
|
|
||||||
# Do all the work for Automake. -*- Autoconf -*-
|
# 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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# 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.
|
# release and drop the old call support.
|
||||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||||
[AC_PREREQ([2.65])dnl
|
[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 Autoconf wants to disallow AM_ names. We explicitly allow
|
||||||
dnl the ones we care about.
|
dnl the ones we care about.
|
||||||
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
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
|
[_AM_SET_OPTIONS([$1])dnl
|
||||||
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
||||||
m4_if(
|
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],,
|
[ok:ok],,
|
||||||
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
||||||
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||||
@@ -514,6 +520,20 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
|
|||||||
[m4_define([AC_PROG_OBJCXX],
|
[m4_define([AC_PROG_OBJCXX],
|
||||||
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
|
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
|
AC_REQUIRE([AM_SILENT_RULES])dnl
|
||||||
dnl The testsuite driver may need to know about EXEEXT, so add the
|
dnl The testsuite driver may need to know about EXEEXT, so add the
|
||||||
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
|
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
|
||||||
@@ -595,7 +615,7 @@ for _am_header in $config_headers :; do
|
|||||||
done
|
done
|
||||||
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -616,7 +636,7 @@ if test x"${install_sh+set}" != xset; then
|
|||||||
fi
|
fi
|
||||||
AC_SUBST([install_sh])])
|
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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# 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 -*-
|
# 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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# 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 -*-
|
# 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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# 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([AM_AUX_DIR_EXPAND])dnl
|
||||||
AC_REQUIRE_AUX_FILE([missing])dnl
|
AC_REQUIRE_AUX_FILE([missing])dnl
|
||||||
if test x"${MISSING+set}" != xset; then
|
if test x"${MISSING+set}" != xset; then
|
||||||
case $am_aux_dir in
|
MISSING="\${SHELL} '$am_aux_dir/missing'"
|
||||||
*\ * | *\ *)
|
|
||||||
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
|
||||||
*)
|
|
||||||
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
# Use eval to expand $SHELL
|
# Use eval to expand $SHELL
|
||||||
if eval "$MISSING --is-lightweight"; then
|
if eval "$MISSING --is-lightweight"; then
|
||||||
@@ -719,7 +734,7 @@ fi
|
|||||||
|
|
||||||
# Helper functions for option handling. -*- Autoconf -*-
|
# 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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -748,7 +763,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
|
|||||||
AC_DEFUN([_AM_IF_OPTION],
|
AC_DEFUN([_AM_IF_OPTION],
|
||||||
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
[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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -795,7 +810,7 @@ AC_LANG_POP([C])])
|
|||||||
# For backward compatibility.
|
# For backward compatibility.
|
||||||
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
|
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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# 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 -*-
|
# 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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -895,7 +910,7 @@ AC_CONFIG_COMMANDS_PRE(
|
|||||||
rm -f conftest.file
|
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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -955,7 +970,7 @@ AC_SUBST([AM_BACKSLASH])dnl
|
|||||||
_AM_SUBST_NOTMAKE([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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -983,7 +998,7 @@ fi
|
|||||||
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
||||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# 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 -*-
|
# 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
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -1133,8 +1148,10 @@ AC_SUBST([am__tar])
|
|||||||
AC_SUBST([am__untar])
|
AC_SUBST([am__untar])
|
||||||
]) # _AM_PROG_TAR
|
]) # _AM_PROG_TAR
|
||||||
|
|
||||||
|
m4_include([m4/build-to-host.m4])
|
||||||
m4_include([m4/gettext.m4])
|
m4_include([m4/gettext.m4])
|
||||||
m4_include([m4/gtk-doc.m4])
|
m4_include([m4/gtk-doc.m4])
|
||||||
|
m4_include([m4/host-cpu-c-abi.m4])
|
||||||
m4_include([m4/iconv.m4])
|
m4_include([m4/iconv.m4])
|
||||||
m4_include([m4/intlmacosx.m4])
|
m4_include([m4/intlmacosx.m4])
|
||||||
m4_include([m4/introspection.m4])
|
m4_include([m4/introspection.m4])
|
||||||
|
28
autogen.sh
28
autogen.sh
@@ -1,5 +1,33 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Run this to generate all the initial makefiles, etc.
|
# 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=$(dirname "$0")
|
||||||
test -n "$srcdir" || srcdir=.
|
test -n "$srcdir" || srcdir=.
|
||||||
|
|
||||||
|
6
compile
6
compile
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
scriptversion=2018-03-07.03; # UTC
|
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>.
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
@@ -53,7 +53,7 @@ func_file_conv ()
|
|||||||
MINGW*)
|
MINGW*)
|
||||||
file_conv=mingw
|
file_conv=mingw
|
||||||
;;
|
;;
|
||||||
CYGWIN*)
|
CYGWIN* | MSYS*)
|
||||||
file_conv=cygwin
|
file_conv=cygwin
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@@ -67,7 +67,7 @@ func_file_conv ()
|
|||||||
mingw/*)
|
mingw/*)
|
||||||
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
||||||
;;
|
;;
|
||||||
cygwin/*)
|
cygwin/* | msys/*)
|
||||||
file=`cygpath -m "$file" || echo "$file"`
|
file=`cygpath -m "$file" || echo "$file"`
|
||||||
;;
|
;;
|
||||||
wine/*)
|
wine/*)
|
||||||
|
1534
config.guess
vendored
1534
config.guess
vendored
File diff suppressed because it is too large
Load Diff
42
config.h.in
42
config.h.in
@@ -3,12 +3,7 @@
|
|||||||
/* Define if you have the Andrew File System. */
|
/* Define if you have the Andrew File System. */
|
||||||
#undef AFS
|
#undef AFS
|
||||||
|
|
||||||
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
/* Define to 1 if using 'alloca.c'. */
|
||||||
systems. This function is required for `alloca.c' support on those systems.
|
|
||||||
*/
|
|
||||||
#undef CRAY_STACKSEG_END
|
|
||||||
|
|
||||||
/* Define to 1 if using `alloca.c'. */
|
|
||||||
#undef C_ALLOCA
|
#undef C_ALLOCA
|
||||||
|
|
||||||
/* Define to 1 if translation of program messages to the user's native
|
/* 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). */
|
/* Solaris release code (eg. 20501 for Solaris 2.5.1). */
|
||||||
#undef GLIBTOP_SOLARIS_RELEASE
|
#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
|
#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
|
#undef HAVE_ALLOCA_H
|
||||||
|
|
||||||
/* Define to 1 if you have the `bcopy' function. */
|
/* Define to 1 if you have the `bcopy' function. */
|
||||||
#undef HAVE_BCOPY
|
#undef HAVE_BCOPY
|
||||||
|
|
||||||
/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
|
/* Define to 1 if you have the Mac OS X function
|
||||||
CoreFoundation framework. */
|
CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */
|
||||||
#undef HAVE_CFLOCALECOPYCURRENT
|
#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES
|
||||||
|
|
||||||
/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
|
/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
|
||||||
the CoreFoundation framework. */
|
the CoreFoundation framework. */
|
||||||
@@ -119,6 +113,9 @@
|
|||||||
/* defined if you have linux/isdn.h */
|
/* defined if you have linux/isdn.h */
|
||||||
#undef HAVE_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. */
|
/* Define to 1 if you have the `lchown' function. */
|
||||||
#undef HAVE_LCHOWN
|
#undef HAVE_LCHOWN
|
||||||
|
|
||||||
@@ -137,6 +134,9 @@
|
|||||||
/* Define to 1 if you have the `socket' library (-lsocket). */
|
/* Define to 1 if you have the `socket' library (-lsocket). */
|
||||||
#undef HAVE_LIBSOCKET
|
#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. */
|
/* Define to 1 if you have the <linux/version.h> header file. */
|
||||||
#undef HAVE_LINUX_VERSION_H
|
#undef HAVE_LINUX_VERSION_H
|
||||||
|
|
||||||
@@ -170,6 +170,9 @@
|
|||||||
/* Define to 1 if you have the `putenv' function. */
|
/* Define to 1 if you have the `putenv' function. */
|
||||||
#undef HAVE_PUTENV
|
#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 */
|
/* Define if struct sockaddr_un has a sun_len member */
|
||||||
#undef HAVE_SOCKADDR_SUN_LEN
|
#undef HAVE_SOCKADDR_SUN_LEN
|
||||||
|
|
||||||
@@ -179,6 +182,9 @@
|
|||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
#undef HAVE_STDINT_H
|
#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. */
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
#undef HAVE_STDLIB_H
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
@@ -249,6 +255,9 @@
|
|||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
#undef HAVE_SYS_STAT_H
|
#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. */
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
#undef HAVE_SYS_TYPES_H
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
@@ -396,7 +405,9 @@
|
|||||||
/* Define if there is a function named statvfs. [SVR4] */
|
/* Define if there is a function named statvfs. [SVR4] */
|
||||||
#undef STAT_STATVFS
|
#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
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
/* Define to 1 if we need to define KERNEL to get 'struct msginfo' */
|
/* 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' */
|
/* Define to 1 if we need to define _KERNEL to get 'struct msginfo' */
|
||||||
#undef STRUCT_MSGINFO_NEEDS__KERNEL
|
#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'. */
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||||
#undef TM_IN_SYS_TIME
|
#undef TM_IN_SYS_TIME
|
||||||
|
|
||||||
@@ -440,7 +448,7 @@
|
|||||||
/* Define to `long int' if <sys/types.h> does not define. */
|
/* Define to `long int' if <sys/types.h> does not define. */
|
||||||
#undef off_t
|
#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
|
#undef pid_t
|
||||||
|
|
||||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
# Output a system dependent set of variables, describing how to set the
|
# Output a system dependent set of variables, describing how to set the
|
||||||
# run time search path of shared libraries in an executable.
|
# 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
|
# Taken from GNU libtool, 2001
|
||||||
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||||
#
|
#
|
||||||
@@ -371,7 +371,7 @@ else
|
|||||||
hardcode_direct=yes
|
hardcode_direct=yes
|
||||||
hardcode_minus_L=yes
|
hardcode_minus_L=yes
|
||||||
;;
|
;;
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
hardcode_libdir_flag_spec='-R$libdir'
|
hardcode_libdir_flag_spec='-R$libdir'
|
||||||
hardcode_direct=yes
|
hardcode_direct=yes
|
||||||
;;
|
;;
|
||||||
@@ -547,7 +547,7 @@ case "$host_os" in
|
|||||||
freebsd[23].*)
|
freebsd[23].*)
|
||||||
library_names_spec='$libname$shrext$versuffix'
|
library_names_spec='$libname$shrext$versuffix'
|
||||||
;;
|
;;
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
library_names_spec='$libname$shrext'
|
library_names_spec='$libname$shrext'
|
||||||
;;
|
;;
|
||||||
gnu*)
|
gnu*)
|
||||||
|
2720
config.sub
vendored
2720
config.sub
vendored
File diff suppressed because it is too large
Load Diff
40
configure.ac
40
configure.ac
@@ -3,21 +3,21 @@ dnl Configure script for the Gnome library
|
|||||||
dnl
|
dnl
|
||||||
|
|
||||||
m4_define([libgtop_major_version], [2])
|
m4_define([libgtop_major_version], [2])
|
||||||
m4_define([libgtop_minor_version], [40])
|
m4_define([libgtop_minor_version], [41])
|
||||||
m4_define([libgtop_micro_version], [0])
|
m4_define([libgtop_micro_version], [2])
|
||||||
m4_define([libgtop_version], [libgtop_major_version.libgtop_minor_version.libgtop_micro_version])
|
m4_define([libgtop_version], [libgtop_major_version.libgtop_minor_version.libgtop_micro_version])
|
||||||
|
|
||||||
dnl increment if the interface has additions, changes, removals.
|
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 increment any time the source changes; set to
|
||||||
dnl 0 if you increment CURRENT
|
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 increment if any interfaces have been added; set to 0
|
||||||
dnl if any interfaces have been removed. removal has
|
dnl if any interfaces have been removed. removal has
|
||||||
dnl precedence over adding, so set to 0 if both happened.
|
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.
|
# Increase each time you change the client/server protocol.
|
||||||
m4_define([libgtop_server_version], [5])
|
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_PREREQ(2.62)
|
||||||
AC_INIT([libgtop], [libgtop_version],
|
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_SRCDIR(copyright.txt)
|
||||||
AC_CONFIG_HEADERS(config.h)
|
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)
|
AC_CHECK_PROGS(PERL, perl5 perl)
|
||||||
test -z "$PERL" && AC_MSG_ERROR([You need to have a working perl interpreter.])
|
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(CC,gcc)
|
||||||
AC_CHECK_TOOL(RANLIB,ranlib)
|
AC_CHECK_TOOL(RANLIB,ranlib)
|
||||||
AC_CHECK_TOOL(AS,as)
|
AC_CHECK_TOOL(AS,as)
|
||||||
@@ -110,10 +120,12 @@ AC_TYPE_OFF_T
|
|||||||
AC_TYPE_PID_T
|
AC_TYPE_PID_T
|
||||||
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
AC_STRUCT_ST_RDEV
|
AC_STRUCT_ST_RDEV
|
||||||
AC_HEADER_TIME
|
|
||||||
AC_STRUCT_TM
|
AC_STRUCT_TM
|
||||||
AC_TYPE_UID_T
|
AC_TYPE_UID_T
|
||||||
|
|
||||||
|
dnl Check sys/time.h
|
||||||
|
AC_CHECK_HEADERS([sys/time.h])
|
||||||
|
|
||||||
dnl For SunOS
|
dnl For SunOS
|
||||||
AC_CHECK_TYPE(ssize_t, int)
|
AC_CHECK_TYPE(ssize_t, int)
|
||||||
AC_CHECK_HEADERS(memory.h)
|
AC_CHECK_HEADERS(memory.h)
|
||||||
@@ -213,9 +225,11 @@ AC_FUNC_ALLOCA
|
|||||||
AC_FUNC_MMAP
|
AC_FUNC_MMAP
|
||||||
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
||||||
AC_FUNC_STRFTIME
|
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])
|
AM_GNU_GETTEXT([external])
|
||||||
|
|
||||||
GETTEXT_PACKAGE=libgtop-2.0
|
GETTEXT_PACKAGE=libgtop-2.0
|
||||||
@@ -270,8 +284,8 @@ AC_ARG_ENABLE(fatal-warnings,
|
|||||||
[Define to enable fatal warnings]))
|
[Define to enable fatal warnings]))
|
||||||
|
|
||||||
dnl These definitions are expanded in make.
|
dnl These definitions are expanded in make.
|
||||||
LIBGTOP_LIBS='-L$(libdir)'
|
LIBGTOP_LIBS='-L=$(libdir)'
|
||||||
LIBGTOP_INCS='-I$(includedir)/libgtop-2.0'
|
LIBGTOP_INCS='-I=$(includedir)/libgtop-2.0'
|
||||||
|
|
||||||
if test x$libgtop_have_sysinfo = xyes ; then
|
if test x$libgtop_have_sysinfo = xyes ; then
|
||||||
LIBGTOP_INCS="$LIBGTOP_INCS -DHAVE_LIBGTOP_SYSINFO"
|
LIBGTOP_INCS="$LIBGTOP_INCS -DHAVE_LIBGTOP_SYSINFO"
|
||||||
@@ -283,8 +297,8 @@ libgtop_save_prefix="$prefix"
|
|||||||
libgtop_save_exec_prefix="$exec_prefix"
|
libgtop_save_exec_prefix="$exec_prefix"
|
||||||
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
||||||
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
|
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
|
||||||
LIBGTOP_BINDIR=`eval echo "${bindir}"`
|
LIBGTOP_BINDIR=`eval echo "${libexecdir}"`
|
||||||
LIBGTOP_SERVER=`eval echo "${bindir}/libgtop_server2"`
|
LIBGTOP_SERVER=`eval echo "${libexecdir}/libgtop_server2"`
|
||||||
prefix="$libgtop_save_prefix"
|
prefix="$libgtop_save_prefix"
|
||||||
exec_prefix="$libgtop_save_exec_prefix"
|
exec_prefix="$libgtop_save_exec_prefix"
|
||||||
|
|
||||||
|
2
depcomp
2
depcomp
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
scriptversion=2018-03-07.03; # UTC
|
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
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@@ -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@
|
# @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
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -89,8 +89,9 @@ build_triplet = @build@
|
|||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
subdir = doc
|
subdir = doc
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
|
am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
|
||||||
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.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/intlmacosx.m4 \
|
||||||
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.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 \
|
unique=`for i in $$list; do \
|
||||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
done | $(am__uniquify_input)`
|
done | $(am__uniquify_input)`
|
||||||
ETAGS = etags
|
|
||||||
CTAGS = ctags
|
|
||||||
DIST_SUBDIRS = $(SUBDIRS)
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
am__DIST_COMMON = $(libgtop2_TEXINFOS) $(srcdir)/Makefile.in ChangeLog \
|
am__DIST_COMMON = $(libgtop2_TEXINFOS) $(srcdir)/Makefile.in ChangeLog \
|
||||||
mdate-sh texinfo.tex
|
mdate-sh texinfo.tex
|
||||||
@@ -276,6 +275,8 @@ CCDEPMODE = @CCDEPMODE@
|
|||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CSCOPE = @CSCOPE@
|
||||||
|
CTAGS = @CTAGS@
|
||||||
CYGPATH_W = @CYGPATH_W@
|
CYGPATH_W = @CYGPATH_W@
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
@@ -287,8 +288,10 @@ ECHO_C = @ECHO_C@
|
|||||||
ECHO_N = @ECHO_N@
|
ECHO_N = @ECHO_N@
|
||||||
ECHO_T = @ECHO_T@
|
ECHO_T = @ECHO_T@
|
||||||
EGREP = @EGREP@
|
EGREP = @EGREP@
|
||||||
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||||
@@ -339,6 +342,7 @@ LIBS = @LIBS@
|
|||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIPO = @LIPO@
|
LIPO = @LIPO@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
|
LSBLK = @LSBLK@
|
||||||
LTLIBICONV = @LTLIBICONV@
|
LTLIBICONV = @LTLIBICONV@
|
||||||
LTLIBINTL = @LTLIBINTL@
|
LTLIBINTL = @LTLIBINTL@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
@@ -348,8 +352,8 @@ MAKEINFO = @MAKEINFO@
|
|||||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||||
MKDIR_P = @MKDIR_P@
|
MKDIR_P = @MKDIR_P@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
MSGFMT_015 = @MSGFMT_015@
|
|
||||||
MSGMERGE = @MSGMERGE@
|
MSGMERGE = @MSGMERGE@
|
||||||
|
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
|
||||||
NM = @NM@
|
NM = @NM@
|
||||||
NMEDIT = @NMEDIT@
|
NMEDIT = @NMEDIT@
|
||||||
OBJDUMP = @OBJDUMP@
|
OBJDUMP = @OBJDUMP@
|
||||||
@@ -374,6 +378,7 @@ SED = @SED@
|
|||||||
SET_MAKE = @SET_MAKE@
|
SET_MAKE = @SET_MAKE@
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
STRIP = @STRIP@
|
STRIP = @STRIP@
|
||||||
|
TR = @TR@
|
||||||
USE_NLS = @USE_NLS@
|
USE_NLS = @USE_NLS@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
XGETTEXT = @XGETTEXT@
|
XGETTEXT = @XGETTEXT@
|
||||||
@@ -426,6 +431,8 @@ libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
|
|||||||
libgtop_top_builddir = @libgtop_top_builddir@
|
libgtop_top_builddir = @libgtop_top_builddir@
|
||||||
libs_xauth = @libs_xauth@
|
libs_xauth = @libs_xauth@
|
||||||
localedir = @localedir@
|
localedir = @localedir@
|
||||||
|
localedir_c = @localedir_c@
|
||||||
|
localedir_c_make = @localedir_c_make@
|
||||||
localstatedir = @localstatedir@
|
localstatedir = @localstatedir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
@@ -434,6 +441,7 @@ pdfdir = @pdfdir@
|
|||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
runstatedir = @runstatedir@
|
||||||
sbindir = @sbindir@
|
sbindir = @sbindir@
|
||||||
server_programs = @server_programs@
|
server_programs = @server_programs@
|
||||||
sharedstatedir = @sharedstatedir@
|
sharedstatedir = @sharedstatedir@
|
||||||
@@ -750,7 +758,6 @@ cscopelist-am: $(am__tagged_files)
|
|||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
|
|
||||||
distdir: $(BUILT_SOURCES)
|
distdir: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -49,6 +49,7 @@ System Dependent Functions
|
|||||||
* glibtop_proc_map:: Process Memory Maps.
|
* glibtop_proc_map:: Process Memory Maps.
|
||||||
* glibtop_netload:: Network Load.
|
* glibtop_netload:: Network Load.
|
||||||
* glibtop_ppp:: PPP Usage.
|
* glibtop_ppp:: PPP Usage.
|
||||||
|
* glibtop_disk:: DISK Usage.
|
||||||
|
|
||||||
Common Functions
|
Common Functions
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
scriptversion=2018-03-07.03; # UTC
|
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
|
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
@@ -28,6 +28,7 @@
|
|||||||
* glibtop_proc_map:: Process Memory Maps.
|
* glibtop_proc_map:: Process Memory Maps.
|
||||||
* glibtop_netload:: Network Load.
|
* glibtop_netload:: Network Load.
|
||||||
* glibtop_ppp:: PPP Usage.
|
* glibtop_ppp:: PPP Usage.
|
||||||
|
* glibtop_disk:: DISK Usage.
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
@node glibtop_cpu, glibtop_mem, System Dependent, System Dependent
|
@node glibtop_cpu, glibtop_mem, System Dependent, System Dependent
|
||||||
@@ -1343,7 +1344,7 @@ enum @{
|
|||||||
@end example
|
@end example
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@node glibtop_ppp, , glibtop_netload, System Dependent
|
@node glibtop_ppp, glibtop_disk, glibtop_netload, System Dependent
|
||||||
@subsection PPP Statistics
|
@subsection PPP Statistics
|
||||||
|
|
||||||
Library function @code{glibtop_get_ppp}:
|
Library function @code{glibtop_get_ppp}:
|
||||||
@@ -1403,6 +1404,62 @@ We're currently offline.
|
|||||||
We're currently online.
|
We're currently online.
|
||||||
@end table
|
@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
|
@page
|
||||||
@node Common Functions, Library Functions, System Dependent, Reference Manual
|
@node Common Functions, Library Functions, System Dependent, Reference Manual
|
||||||
@section Common Functions
|
@section Common Functions
|
||||||
|
@@ -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@
|
# @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
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -113,8 +113,9 @@ build_triplet = @build@
|
|||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
subdir = doc/reference
|
subdir = doc/reference
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
|
am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
|
||||||
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.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/intlmacosx.m4 \
|
||||||
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
|
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
|
||||||
@@ -177,6 +178,8 @@ CCDEPMODE = @CCDEPMODE@
|
|||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CSCOPE = @CSCOPE@
|
||||||
|
CTAGS = @CTAGS@
|
||||||
CYGPATH_W = @CYGPATH_W@
|
CYGPATH_W = @CYGPATH_W@
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
@@ -188,8 +191,10 @@ ECHO_C = @ECHO_C@
|
|||||||
ECHO_N = @ECHO_N@
|
ECHO_N = @ECHO_N@
|
||||||
ECHO_T = @ECHO_T@
|
ECHO_T = @ECHO_T@
|
||||||
EGREP = @EGREP@
|
EGREP = @EGREP@
|
||||||
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||||
@@ -240,6 +245,7 @@ LIBS = @LIBS@
|
|||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIPO = @LIPO@
|
LIPO = @LIPO@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
|
LSBLK = @LSBLK@
|
||||||
LTLIBICONV = @LTLIBICONV@
|
LTLIBICONV = @LTLIBICONV@
|
||||||
LTLIBINTL = @LTLIBINTL@
|
LTLIBINTL = @LTLIBINTL@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
@@ -249,8 +255,8 @@ MAKEINFO = @MAKEINFO@
|
|||||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||||
MKDIR_P = @MKDIR_P@
|
MKDIR_P = @MKDIR_P@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
MSGFMT_015 = @MSGFMT_015@
|
|
||||||
MSGMERGE = @MSGMERGE@
|
MSGMERGE = @MSGMERGE@
|
||||||
|
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
|
||||||
NM = @NM@
|
NM = @NM@
|
||||||
NMEDIT = @NMEDIT@
|
NMEDIT = @NMEDIT@
|
||||||
OBJDUMP = @OBJDUMP@
|
OBJDUMP = @OBJDUMP@
|
||||||
@@ -275,6 +281,7 @@ SED = @SED@
|
|||||||
SET_MAKE = @SET_MAKE@
|
SET_MAKE = @SET_MAKE@
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
STRIP = @STRIP@
|
STRIP = @STRIP@
|
||||||
|
TR = @TR@
|
||||||
USE_NLS = @USE_NLS@
|
USE_NLS = @USE_NLS@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
XGETTEXT = @XGETTEXT@
|
XGETTEXT = @XGETTEXT@
|
||||||
@@ -327,6 +334,8 @@ libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
|
|||||||
libgtop_top_builddir = @libgtop_top_builddir@
|
libgtop_top_builddir = @libgtop_top_builddir@
|
||||||
libs_xauth = @libs_xauth@
|
libs_xauth = @libs_xauth@
|
||||||
localedir = @localedir@
|
localedir = @localedir@
|
||||||
|
localedir_c = @localedir_c@
|
||||||
|
localedir_c_make = @localedir_c_make@
|
||||||
localstatedir = @localstatedir@
|
localstatedir = @localstatedir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
@@ -335,6 +344,7 @@ pdfdir = @pdfdir@
|
|||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
runstatedir = @runstatedir@
|
||||||
sbindir = @sbindir@
|
sbindir = @sbindir@
|
||||||
server_programs = @server_programs@
|
server_programs = @server_programs@
|
||||||
sharedstatedir = @sharedstatedir@
|
sharedstatedir = @sharedstatedir@
|
||||||
@@ -421,6 +431,7 @@ DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \
|
|||||||
sgml.stamp html.stamp pdf.stamp
|
sgml.stamp html.stamp pdf.stamp
|
||||||
|
|
||||||
SCANOBJ_FILES = \
|
SCANOBJ_FILES = \
|
||||||
|
$(DOC_MODULE).actions \
|
||||||
$(DOC_MODULE).args \
|
$(DOC_MODULE).args \
|
||||||
$(DOC_MODULE).hierarchy \
|
$(DOC_MODULE).hierarchy \
|
||||||
$(DOC_MODULE).interfaces \
|
$(DOC_MODULE).interfaces \
|
||||||
@@ -515,7 +526,6 @@ ctags CTAGS:
|
|||||||
|
|
||||||
cscope cscopelist:
|
cscope cscopelist:
|
||||||
|
|
||||||
|
|
||||||
distdir: $(BUILT_SOURCES)
|
distdir: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
||||||
|
|
||||||
|
@@ -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.">
|
<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="home" href="index.html" title="Libgtop Reference Manual">
|
||||||
<link rel="next" href="libgtop-white-paper.html" title="White paper">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
</p></div></div>
|
</p></div></div>
|
||||||
</div>
|
</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">
|
<div><div class="legalnotice">
|
||||||
<a name="id-1.1.4"></a><p>Permission is granted to copy, distribute and/or modify
|
<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
|
this document under the terms of the <em class="citetitle">GNU Free
|
||||||
@@ -53,7 +53,6 @@
|
|||||||
caps.</p>
|
caps.</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
<div><div class="abstract">
|
<div><div class="abstract">
|
||||||
<p class="title"><b>Abstract</b></p>
|
|
||||||
<p>
|
<p>
|
||||||
LibGTop is a library to get system specific data such as CPU and
|
LibGTop is a library to get system specific data such as CPU and
|
||||||
Memory Usage and information about running Processes.</p>
|
Memory Usage and information about running Processes.</p>
|
||||||
@@ -192,6 +191,6 @@
|
|||||||
</dl></div>
|
</dl></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-GlibTop.html" title="GlibTop">
|
<link rel="prev" href="libgtop-GlibTop.html" title="GlibTop">
|
||||||
<link rel="next" href="libgtop-Command.html" title="Command">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-Close.functions"></a><h2>Functions</h2>
|
<a name="libgtop-Close.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<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>
|
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>
|
</div>
|
||||||
<div class="refsect1">
|
|
||||||
<a name="libgtop-Close.other_details"></a><h2>Types and Values</h2>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-Close.html" title="Close">
|
<link rel="prev" href="libgtop-Close.html" title="Close">
|
||||||
<link rel="next" href="libgtop-GlibTop-Server.html" title="GlibTop Server">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-Command.functions"></a><h2>Functions</h2>
|
<a name="libgtop-Command.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -68,8 +68,8 @@
|
|||||||
<a name="libgtop-Command.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-Command.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -86,6 +86,10 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="define_keyword">#define</td>
|
<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>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -254,6 +258,12 @@ glibtop_call_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTo
|
|||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<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>
|
<a name="GLIBTOP-CMND-MEM:CAPS"></a><h3>GLIBTOP_CMND_MEM</h3>
|
||||||
<pre class="programlisting">#define GLIBTOP_CMND_MEM 3
|
<pre class="programlisting">#define GLIBTOP_CMND_MEM 3
|
||||||
</pre>
|
</pre>
|
||||||
@@ -393,7 +403,7 @@ glibtop_call_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTo
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GLIBTOP-MAX-CMND:CAPS"></a><h3>GLIBTOP_MAX_CMND</h3>
|
<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>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
@@ -423,6 +433,6 @@ glibtop_call_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTo
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-Command.html" title="Command">
|
<link rel="prev" href="libgtop-Command.html" title="Command">
|
||||||
<link rel="next" href="libgtop-Net-Load.html" title="Net Load">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<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>
|
<a name="libgtop-GlibTop-Server.functions_details"></a><h2>Functions</h2>
|
||||||
<p></p>
|
<p></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="refsect1">
|
|
||||||
<a name="libgtop-GlibTop-Server.other_details"></a><h2>Types and Values</h2>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" 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">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -39,8 +39,8 @@
|
|||||||
<a name="libgtop-GlibTop.functions"></a><h2>Functions</h2>
|
<a name="libgtop-GlibTop.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -80,8 +80,8 @@
|
|||||||
<a name="libgtop-GlibTop.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-GlibTop.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -190,6 +190,9 @@ glibtop_init_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTo
|
|||||||
gid_t egid;
|
gid_t egid;
|
||||||
|
|
||||||
glibtop_machine *machine; /* Machine dependent data */
|
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>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
@@ -208,6 +211,6 @@ glibtop_init_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTo
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-Uptime.html" title="Uptime">
|
<link rel="prev" href="libgtop-Uptime.html" title="Uptime">
|
||||||
<link rel="next" href="libgtop-open.html" title="open">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<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>
|
<a name="libgtop-Net-List.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -82,8 +82,8 @@
|
|||||||
<a name="libgtop-Net-List.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-Net-List.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -279,12 +279,12 @@ interface names. </p>
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<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>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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_description"><p>Number of entries in the returned list.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -305,6 +305,6 @@ interface names. </p>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-GlibTop-Server.html" title="GlibTop Server">
|
<link rel="prev" href="libgtop-GlibTop-Server.html" title="GlibTop Server">
|
||||||
<link rel="next" href="libgtop-PPP.html" title="PPP">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<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>
|
<a name="libgtop-Net-Load.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -82,8 +82,8 @@
|
|||||||
<a name="libgtop-Net-Load.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-Net-Load.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -400,6 +400,6 @@ glibtop_get_netload_s (<em class="parameter"><code><a class="link" href="libgtop
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-Net-Load.html" title="Net Load">
|
<link rel="prev" href="libgtop-Net-Load.html" title="Net Load">
|
||||||
<link rel="next" href="libgtop-Shared-Memory-Limits.html" title="Shared Memory Limits">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -39,8 +39,8 @@
|
|||||||
<a name="libgtop-PPP.functions"></a><h2>Functions</h2>
|
<a name="libgtop-PPP.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -82,8 +82,8 @@
|
|||||||
<a name="libgtop-PPP.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-PPP.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -227,6 +227,6 @@ glibtop_get_ppp_s (<em class="parameter"><code><a class="link" href="libgtop-Gli
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-parameter.html" title="parameter">
|
<link rel="prev" href="libgtop-parameter.html" title="parameter">
|
||||||
<link rel="next" href="libgtop-procmem.html" title="procmem">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<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>
|
<a name="libgtop-Process-Arguments.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -66,8 +66,8 @@
|
|||||||
<a name="libgtop-Process-Arguments.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-Process-Arguments.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="datatype_keyword">struct</td>
|
<td class="datatype_keyword">struct</td>
|
||||||
@@ -191,6 +191,6 @@ the returned array to avoid a memory leak.</p>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-version.html" title="version">
|
<link rel="prev" href="libgtop-version.html" title="version">
|
||||||
<link rel="next" href="libgtop-sem-limits.html" title="sem_limits">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<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>
|
<a name="libgtop-Process-List.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
@@ -56,8 +56,8 @@
|
|||||||
<a name="libgtop-Process-List.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-Process-List.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -125,8 +125,8 @@
|
|||||||
<a name="glibtop-get-proclist"></a><h3>glibtop_get_proclist ()</h3>
|
<a name="glibtop-get-proclist"></a><h3>glibtop_get_proclist ()</h3>
|
||||||
<pre class="programlisting"><span class="returnvalue">pid_t</span> *
|
<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>,
|
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><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><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> arg</code></em>);</pre>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="glibtop-get-proclist.parameters"></a><h4>Parameters</h4>
|
<a name="glibtop-get-proclist.parameters"></a><h4>Parameters</h4>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<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>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<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>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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_description"><p>Number of entries in the returned list.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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>
|
<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>
|
* <em class="parameter"><code>size</code></em>
|
||||||
).</p></td>
|
).</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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
|
<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>
|
(this equals <span class="type">sizeof(unsigned)</span>).</p></td>
|
||||||
<td class="struct_member_annotations"> </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>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-procuid.html" title="procuid">
|
<link rel="prev" href="libgtop-procuid.html" title="procuid">
|
||||||
<link rel="next" href="libgtop-signal.html" title="signal">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<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>
|
<a name="libgtop-Process-Time.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
@@ -56,8 +56,8 @@
|
|||||||
<a name="libgtop-Process-Time.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-Process-Time.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="datatype_keyword">struct</td>
|
<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,
|
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>
|
we cannot use it to compute an accurate <em class="parameter"><code>start_time</code></em>
|
||||||
. On Linux 2.6,</p>
|
. On Linux 2.6,</p>
|
||||||
<span class="type">INITIAL_JIFFIES</span> is 300 so <em class="parameter"><code>start_time</code></em> is
|
<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
|
<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>
|
with your hardware clock. See <span class="command"><strong>man hwclock</strong></span>.</p>
|
||||||
<div class="refsect3">
|
<div class="refsect3">
|
||||||
<a name="glibtop-proc-time.members"></a><h4>Members</h4>
|
<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>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<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_description"><p>Start time of process in seconds since the epoch.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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>
|
<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>
|
+ <em class="parameter"><code>stime</code></em>
|
||||||
).</p></td>
|
).</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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_description"><p>User-mode CPU time accumulated by process.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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_description"><p>Kernel-mode CPU time accumulated by process.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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_description"><p>Cumulative utime of process and reaped children.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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_description"><p>Cumulative stime of process and reaped children.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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 process’s next timeout.</p></td>
|
<td class="struct_member_description"><p>The time (in jiffies) of the process’s next timeout.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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>
|
<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>
|
is sent to the process due to an interval timer.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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_description"><p>Tick frequency.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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_description"><p>SMP user-mode CPU time accumulated by process.</p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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_description"><p>SMP kernel-mode CPU time accumulated by process </p></td>
|
||||||
<td class="struct_member_annotations"> </td>
|
<td class="struct_member_annotations"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -209,6 +212,6 @@ is sent to the process due to an interval timer.</p></td>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-PPP.html" title="PPP">
|
<link rel="prev" href="libgtop-PPP.html" title="PPP">
|
||||||
<link rel="next" href="libgtop-Uptime.html" title="Uptime">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<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>
|
<a name="libgtop-Shared-Memory-Limits.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-Shared-Memory-Limits.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-Shared-Memory-Limits.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -294,6 +294,6 @@ glibtop_get_shm_limits_s (<em class="parameter"><code><a class="link" href="libg
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<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="prev" href="libgtop-Shared-Memory-Limits.html" title="Shared Memory Limits">
|
||||||
<link rel="next" href="libgtop-Net-List.html" title="Net List">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-Uptime.functions"></a><h2>Functions</h2>
|
<a name="libgtop-Uptime.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-Uptime.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-Uptime.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -211,6 +211,6 @@ glibtop_get_uptime_s (<em class="parameter"><code><a class="link" href="libgtop-
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-msg-limits.html" title="msg_limits">
|
<link rel="prev" href="libgtop-msg-limits.html" title="msg_limits">
|
||||||
<link rel="next" href="libgtop-swap.html" title="swap">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-cpu.functions"></a><h2>Functions</h2>
|
<a name="libgtop-cpu.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-cpu.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-cpu.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -386,6 +386,6 @@ glibtop_get_cpu_s (<em class="parameter"><code><a class="link" href="libgtop-Gli
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-prockernel.html" title="prockernel">
|
<link rel="prev" href="libgtop-prockernel.html" title="prockernel">
|
||||||
<link rel="next" href="libgtop-loadavg.html" title="loadavg">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-fsusage.functions"></a><h2>Functions</h2>
|
<a name="libgtop-fsusage.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -70,8 +70,8 @@
|
|||||||
<a name="libgtop-fsusage.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-fsusage.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -257,6 +257,6 @@ glibtop_get_fsusage_s (<em class="parameter"><code><a class="link" href="libgtop
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="index.html" title="Libgtop Reference Manual">
|
<link rel="up" href="index.html" title="Libgtop Reference Manual">
|
||||||
<link rel="prev" href="libgtop-white-paper-overview.html" title="Overview">
|
<link rel="prev" href="libgtop-white-paper-overview.html" title="Overview">
|
||||||
<link rel="next" href="libgtop-GlibTop.html" title="GlibTop">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -133,6 +133,6 @@
|
|||||||
the public interfaces are documented here.</p>
|
the public interfaces are documented here.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-fsusage.html" title="fsusage">
|
<link rel="prev" href="libgtop-fsusage.html" title="fsusage">
|
||||||
<link rel="next" href="libgtop-mem.html" title="mem">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-loadavg.functions"></a><h2>Functions</h2>
|
<a name="libgtop-loadavg.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-loadavg.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-loadavg.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -202,6 +202,6 @@ glibtop_get_loadavg_s (<em class="parameter"><code><a class="link" href="libgtop
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-loadavg.html" title="loadavg">
|
<link rel="prev" href="libgtop-loadavg.html" title="loadavg">
|
||||||
<link rel="next" href="libgtop-mountlist.html" title="mountlist">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-mem.functions"></a><h2>Functions</h2>
|
<a name="libgtop-mem.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-mem.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-mem.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -263,6 +263,6 @@ glibtop_get_mem_s (<em class="parameter"><code><a class="link" href="libgtop-Gli
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-mem.html" title="mem">
|
<link rel="prev" href="libgtop-mem.html" title="mem">
|
||||||
<link rel="next" href="libgtop-msg-limits.html" title="msg_limits">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-mountlist.functions"></a><h2>Functions</h2>
|
<a name="libgtop-mountlist.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -70,8 +70,8 @@
|
|||||||
<a name="libgtop-mountlist.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-mountlist.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -259,6 +259,6 @@ glibtop_get_mountlist_s (<em class="parameter"><code><a class="link" href="libgt
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-mountlist.html" title="mountlist">
|
<link rel="prev" href="libgtop-mountlist.html" title="mountlist">
|
||||||
<link rel="next" href="libgtop-cpu.html" title="cpu">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<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>
|
<a name="libgtop-msg-limits.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-msg-limits.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-msg-limits.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -235,6 +235,6 @@ glibtop_get_msg_limits_s (<em class="parameter"><code><a class="link" href="libg
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-Net-List.html" title="Net List">
|
<link rel="prev" href="libgtop-Net-List.html" title="Net List">
|
||||||
<link rel="next" href="libgtop-parameter.html" title="parameter">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-open.functions"></a><h2>Functions</h2>
|
<a name="libgtop-open.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-open.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-open.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -264,6 +264,6 @@ glibtop_open_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTo
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-open.html" title="open">
|
<link rel="prev" href="libgtop-open.html" title="open">
|
||||||
<link rel="next" href="libgtop-Process-Arguments.html" title="Process Arguments">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-parameter.functions"></a><h2>Functions</h2>
|
<a name="libgtop-parameter.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -74,8 +74,8 @@
|
|||||||
<a name="libgtop-parameter.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-parameter.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -195,6 +195,6 @@ glibtop_set_parameter_l (<em class="parameter"><code><a class="link" href="libgt
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-sem-limits.html" title="sem_limits">
|
<link rel="prev" href="libgtop-sem-limits.html" title="sem_limits">
|
||||||
<link rel="next" href="libgtop-fsusage.html" title="fsusage">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-prockernel.functions"></a><h2>Functions</h2>
|
<a name="libgtop-prockernel.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-prockernel.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-prockernel.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -266,6 +266,6 @@ glibtop_get_proc_kernel_s (<em class="parameter"><code><a class="link" href="lib
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-signal.html" title="signal">
|
<link rel="prev" href="libgtop-signal.html" title="signal">
|
||||||
<link rel="next" href="libgtop-sysinfo.html" title="sysinfo">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-procmap.functions"></a><h2>Functions</h2>
|
<a name="libgtop-procmap.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-procmap.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-procmap.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -448,18 +448,26 @@ glibtop_get_proc_map_s (<em class="parameter"><code><a class="link" href="libgto
|
|||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="glibtop-map-entry"></a><h3>struct glibtop_map_entry</h3>
|
<a name="glibtop-map-entry"></a><h3>struct glibtop_map_entry</h3>
|
||||||
<pre class="programlisting">struct glibtop_map_entry {
|
<pre class="programlisting">struct glibtop_map_entry {
|
||||||
guint64 flags;
|
guint64 flags;
|
||||||
guint64 start;
|
|
||||||
guint64 end;
|
guint64 start;
|
||||||
guint64 offset;
|
|
||||||
guint64 perm;
|
guint64 end;
|
||||||
guint64 inode;
|
|
||||||
|
guint64 offset;
|
||||||
|
|
||||||
|
guint64 perm;
|
||||||
|
|
||||||
|
guint64 inode;
|
||||||
|
|
||||||
guint64 device;
|
guint64 device;
|
||||||
guint64 size;
|
guint64 size;
|
||||||
guint64 rss;
|
guint64 rss;
|
||||||
guint64 shared_clean;
|
guint64 shared_clean;
|
||||||
|
|
||||||
guint64 shared_dirty;
|
guint64 shared_dirty;
|
||||||
guint64 private_clean;
|
guint64 private_clean;
|
||||||
|
|
||||||
guint64 private_dirty;
|
guint64 private_dirty;
|
||||||
guint64 pss;
|
guint64 pss;
|
||||||
guint64 swap;
|
guint64 swap;
|
||||||
@@ -487,6 +495,6 @@ glibtop_get_proc_map_s (<em class="parameter"><code><a class="link" href="libgto
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-Process-Arguments.html" title="Process Arguments">
|
<link rel="prev" href="libgtop-Process-Arguments.html" title="Process Arguments">
|
||||||
<link rel="next" href="libgtop-procopenfiles.html" title="procopenfiles">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-procmem.functions"></a><h2>Functions</h2>
|
<a name="libgtop-procmem.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-procmem.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-procmem.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -230,6 +230,6 @@ glibtop_get_proc_mem_s (<em class="parameter"><code><a class="link" href="libgto
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-procmem.html" title="procmem">
|
<link rel="prev" href="libgtop-procmem.html" title="procmem">
|
||||||
<link rel="next" href="libgtop-procsegment.html" title="procsegment">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-procopenfiles.functions"></a><h2>Functions</h2>
|
<a name="libgtop-procopenfiles.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-procopenfiles.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-procopenfiles.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -352,6 +352,6 @@ glibtop_get_proc_open_files_s (<em class="parameter"><code><a class="link" href=
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-procopenfiles.html" title="procopenfiles">
|
<link rel="prev" href="libgtop-procopenfiles.html" title="procopenfiles">
|
||||||
<link rel="next" href="libgtop-procsignal.html" title="procsignal">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-procsegment.functions"></a><h2>Functions</h2>
|
<a name="libgtop-procsegment.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-procsegment.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-procsegment.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -251,6 +251,6 @@ glibtop_get_proc_segment_s (<em class="parameter"><code><a class="link" href="li
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-procsegment.html" title="procsegment">
|
<link rel="prev" href="libgtop-procsegment.html" title="procsegment">
|
||||||
<link rel="next" href="libgtop-sysdeps.html" title="sysdeps">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-procsignal.functions"></a><h2>Functions</h2>
|
<a name="libgtop-procsignal.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-procsignal.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-procsignal.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -206,6 +206,6 @@ glibtop_get_proc_signal_s (<em class="parameter"><code><a class="link" href="lib
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-sysdeps.html" title="sysdeps">
|
<link rel="prev" href="libgtop-sysdeps.html" title="sysdeps">
|
||||||
<link rel="next" href="libgtop-procuid.html" title="procuid">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-procstate.functions"></a><h2>Functions</h2>
|
<a name="libgtop-procstate.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-procstate.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-procstate.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -337,6 +337,6 @@ glibtop_get_proc_state_s (<em class="parameter"><code><a class="link" href="libg
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-procstate.html" title="procstate">
|
<link rel="prev" href="libgtop-procstate.html" title="procstate">
|
||||||
<link rel="next" href="libgtop-Process-Time.html" title="Process Time">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-procuid.functions"></a><h2>Functions</h2>
|
<a name="libgtop-procuid.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-procuid.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-procuid.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -393,6 +393,6 @@ glibtop_get_proc_uid_s (<em class="parameter"><code><a class="link" href="libgto
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-Process-List.html" title="Process List">
|
<link rel="prev" href="libgtop-Process-List.html" title="Process List">
|
||||||
<link rel="next" href="libgtop-prockernel.html" title="prockernel">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<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>
|
<a name="libgtop-sem-limits.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<a name="libgtop-sem-limits.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-sem-limits.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -268,6 +268,6 @@ glibtop_get_sem_limits_s (<em class="parameter"><code><a class="link" href="libg
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-Process-Time.html" title="Process Time">
|
<link rel="prev" href="libgtop-Process-Time.html" title="Process Time">
|
||||||
<link rel="next" href="libgtop-procmap.html" title="procmap">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<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>
|
<a name="libgtop-signal.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="datatype_keyword">struct</td>
|
<td class="datatype_keyword">struct</td>
|
||||||
@@ -69,6 +69,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -7,7 +7,7 @@
|
|||||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-cpu.html" title="cpu">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -34,8 +34,8 @@
|
|||||||
<a name="libgtop-swap.functions"></a><h2>Functions</h2>
|
<a name="libgtop-swap.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -77,8 +77,8 @@
|
|||||||
<a name="libgtop-swap.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-swap.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -228,6 +228,6 @@ glibtop_get_swap_s (<em class="parameter"><code><a class="link" href="libgtop-Gl
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-procsignal.html" title="procsignal">
|
<link rel="prev" href="libgtop-procsignal.html" title="procsignal">
|
||||||
<link rel="next" href="libgtop-procstate.html" title="procstate">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-sysdeps.functions"></a><h2>Functions</h2>
|
<a name="libgtop-sysdeps.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -62,8 +62,8 @@
|
|||||||
<a name="libgtop-sysdeps.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-sysdeps.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -358,7 +358,7 @@ glibtop_get_sysdeps_r (<em class="parameter"><code><a class="link" href="libgtop
|
|||||||
<hr>
|
<hr>
|
||||||
<div class="refsect2">
|
<div class="refsect2">
|
||||||
<a name="GLIBTOP-MAX-SYSDEPS:CAPS"></a><h3>GLIBTOP_MAX_SYSDEPS</h3>
|
<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>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<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_wd; /* glibtop_proc_wd */
|
||||||
guint64 proc_affinity; /* glibtop_proc_affinity */
|
guint64 proc_affinity; /* glibtop_proc_affinity */
|
||||||
guint64 proc_io; /* glibtop_proc_io */
|
guint64 proc_io; /* glibtop_proc_io */
|
||||||
guint64 reserved0;
|
guint64 disk; /* glibtop_disk */
|
||||||
guint64 reserved1;
|
guint64 reserved1;
|
||||||
guint64 reserved2;
|
guint64 reserved2;
|
||||||
guint64 reserved3;
|
guint64 reserved3;
|
||||||
@@ -414,6 +414,6 @@ glibtop_get_sysdeps_r (<em class="parameter"><code><a class="link" href="libgtop
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-procmap.html" title="procmap">
|
<link rel="prev" href="libgtop-procmap.html" title="procmap">
|
||||||
<link rel="next" href="libgtop-union.html" title="union">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-sysinfo.functions"></a><h2>Functions</h2>
|
<a name="libgtop-sysinfo.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -60,8 +60,8 @@
|
|||||||
<a name="libgtop-sysinfo.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-sysinfo.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -151,12 +151,12 @@ glibtop_get_sysinfo (<em class="parameter"><code><span class="type">void</span><
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<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>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<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>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -188,6 +188,6 @@ glibtop_get_sysinfo (<em class="parameter"><code><span class="type">void</span><
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-sysinfo.html" title="sysinfo">
|
<link rel="prev" href="libgtop-sysinfo.html" title="sysinfo">
|
||||||
<link rel="next" href="libgtop-version.html" title="version">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<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>
|
<a name="libgtop-union.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="datatype_keyword">union</td>
|
<td class="datatype_keyword">union</td>
|
||||||
@@ -64,6 +64,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||||
<link rel="prev" href="libgtop-union.html" title="union">
|
<link rel="prev" href="libgtop-union.html" title="union">
|
||||||
<link rel="next" href="libgtop-Process-List.html" title="Process List">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
<a name="libgtop-version.functions"></a><h2>Functions</h2>
|
<a name="libgtop-version.functions"></a><h2>Functions</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="functions_return">
|
<col width="150px" class="functions_proto_type">
|
||||||
<col class="functions_name">
|
<col class="functions_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="function_type">
|
<td class="function_type">
|
||||||
@@ -52,8 +52,8 @@
|
|||||||
<a name="libgtop-version.other"></a><h2>Types and Values</h2>
|
<a name="libgtop-version.other"></a><h2>Types and Values</h2>
|
||||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="150px" class="name">
|
<col width="150px" class="other_proto_type">
|
||||||
<col class="description">
|
<col class="other_proto_name">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="define_keyword">#define</td>
|
<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>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="libgtop-white-paper.html" title="White paper">
|
<link rel="up" href="libgtop-white-paper.html" title="White paper">
|
||||||
<link rel="prev" 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">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -60,6 +60,6 @@ rather than using the server.</p>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -8,7 +8,7 @@
|
|||||||
<link rel="up" href="index.html" title="Libgtop Reference Manual">
|
<link rel="up" href="index.html" title="Libgtop Reference Manual">
|
||||||
<link rel="prev" 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">
|
<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">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||||
@@ -69,6 +69,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr>Generated by GTK-Doc V1.29</div>
|
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@@ -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_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_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_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_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_SWAP" link="libgtop-Command.html#GLIBTOP-CMND-SWAP:CAPS"/>
|
||||||
<keyword type="macro" name="GLIBTOP_CMND_UPTIME" link="libgtop-Command.html#GLIBTOP-CMND-UPTIME:CAPS"/>
|
<keyword type="macro" name="GLIBTOP_CMND_UPTIME" link="libgtop-Command.html#GLIBTOP-CMND-UPTIME:CAPS"/>
|
||||||
|
@@ -61,18 +61,6 @@ a:hover
|
|||||||
color: #729fcf;
|
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,
|
.function_type,
|
||||||
.variable_type,
|
.variable_type,
|
||||||
.property_type,
|
.property_type,
|
||||||
@@ -127,6 +115,7 @@ td p
|
|||||||
margin: 0.25em;
|
margin: 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.informaltable table[border="1"],
|
||||||
div.table table
|
div.table table
|
||||||
{
|
{
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
@@ -135,6 +124,8 @@ div.table table
|
|||||||
border: solid 1px #babdb6;
|
border: solid 1px #babdb6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.informaltable table[border="1"] td,
|
||||||
|
div.informaltable table th,
|
||||||
div.table table td, div.table table th
|
div.table table td, div.table table th
|
||||||
{
|
{
|
||||||
/* tango:aluminium 3 */
|
/* tango:aluminium 3 */
|
||||||
@@ -143,6 +134,7 @@ div.table table td, div.table table th
|
|||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.informaltable table[border="1"] th,
|
||||||
div.table table th
|
div.table table th
|
||||||
{
|
{
|
||||||
/* tango:aluminium 2 */
|
/* tango:aluminium 2 */
|
||||||
@@ -293,29 +285,11 @@ h2 .extralinks, h3 .extralinks
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
acronym,abbr
|
acronym,abbr
|
||||||
{
|
{
|
||||||
border-bottom: 1px dotted gray;
|
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 {
|
.listing_frame {
|
||||||
/* tango:sky blue 1 */
|
/* tango:sky blue 1 */
|
||||||
border: solid 1px #729fcf;
|
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 */
|
@@ -29,6 +29,7 @@ glibtop_close_p
|
|||||||
GLIBTOP_CMND_QUIT
|
GLIBTOP_CMND_QUIT
|
||||||
GLIBTOP_CMND_SYSDEPS
|
GLIBTOP_CMND_SYSDEPS
|
||||||
GLIBTOP_CMND_CPU
|
GLIBTOP_CMND_CPU
|
||||||
|
GLIBTOP_CMND_DISK
|
||||||
GLIBTOP_CMND_MEM
|
GLIBTOP_CMND_MEM
|
||||||
GLIBTOP_CMND_SWAP
|
GLIBTOP_CMND_SWAP
|
||||||
GLIBTOP_CMND_UPTIME
|
GLIBTOP_CMND_UPTIME
|
||||||
@@ -678,6 +679,25 @@ glibtop_init_cpu_s
|
|||||||
glibtop_get_cpu_s
|
glibtop_get_cpu_s
|
||||||
</SECTION>
|
</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>
|
<INCLUDE>glibtop/swap.h</INCLUDE>
|
||||||
<SECTION>
|
<SECTION>
|
||||||
<FILE>swap</FILE>
|
<FILE>swap</FILE>
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" standalone="no"?>
|
<?xml version="1.0" standalone="no"?>
|
||||||
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||||
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
|
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
|
||||||
<phrase>2.40.0</phrase>
|
<phrase>2.41.2</phrase>
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@set UPDATED 4 February 2019
|
@set UPDATED 27 November 2016
|
||||||
@set UPDATED-MONTH February 2019
|
@set UPDATED-MONTH November 2016
|
||||||
@set EDITION 2.40.0
|
@set EDITION 2.41.2
|
||||||
@set VERSION 2.40.0
|
@set VERSION 2.41.2
|
||||||
|
1913
doc/texinfo.tex
1913
doc/texinfo.tex
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
@set UPDATED 4 February 2019
|
@set UPDATED 27 November 2016
|
||||||
@set UPDATED-MONTH February 2019
|
@set UPDATED-MONTH November 2016
|
||||||
@set EDITION 2.40.0
|
@set EDITION 2.41.2
|
||||||
@set VERSION 2.40.0
|
@set VERSION 2.41.2
|
||||||
|
@@ -11,7 +11,7 @@ AM_LDFLAGS = $(LIBGTOP_EXTRA_LIBS)
|
|||||||
|
|
||||||
noinst_PROGRAMS = first second pprint procargs df netlist \
|
noinst_PROGRAMS = first second pprint procargs df netlist \
|
||||||
mountlist procmap netload sysdeps timings \
|
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_SOURCES = first.c
|
||||||
first_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
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_SOURCES = smp.c
|
||||||
smp_LDADD = $(top_builddir)/lib/libgtop-2.0.la -lm
|
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_SOURCES = timings.c
|
||||||
timings_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
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_SOURCES = diskio.c
|
||||||
diskio_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
diskio_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||||
|
|
||||||
|
sysinfo_SOURCES = sysinfo.c
|
||||||
|
sysinfo_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||||
|
@@ -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@
|
# @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
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# 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) \
|
mountlist$(EXEEXT) procmap$(EXEEXT) netload$(EXEEXT) \
|
||||||
sysdeps$(EXEEXT) timings$(EXEEXT) openfiles$(EXEEXT) \
|
sysdeps$(EXEEXT) timings$(EXEEXT) openfiles$(EXEEXT) \
|
||||||
smp$(EXEEXT) proclist$(EXEEXT) free$(EXEEXT) wd$(EXEEXT) \
|
smp$(EXEEXT) proclist$(EXEEXT) free$(EXEEXT) wd$(EXEEXT) \
|
||||||
affinity$(EXEEXT) diskio$(EXEEXT)
|
affinity$(EXEEXT) disk$(EXEEXT) diskio$(EXEEXT) \
|
||||||
|
sysinfo$(EXEEXT)
|
||||||
subdir = examples
|
subdir = examples
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
|
am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
|
||||||
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.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/intlmacosx.m4 \
|
||||||
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.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)
|
am_df_OBJECTS = df.$(OBJEXT)
|
||||||
df_OBJECTS = $(am_df_OBJECTS)
|
df_OBJECTS = $(am_df_OBJECTS)
|
||||||
df_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
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)
|
am_diskio_OBJECTS = diskio.$(OBJEXT)
|
||||||
diskio_OBJECTS = $(am_diskio_OBJECTS)
|
diskio_OBJECTS = $(am_diskio_OBJECTS)
|
||||||
diskio_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
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)
|
am_sysdeps_OBJECTS = sysdeps.$(OBJEXT)
|
||||||
sysdeps_OBJECTS = $(am_sysdeps_OBJECTS)
|
sysdeps_OBJECTS = $(am_sysdeps_OBJECTS)
|
||||||
sysdeps_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
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)
|
am_timings_OBJECTS = timings.$(OBJEXT)
|
||||||
timings_OBJECTS = $(am_timings_OBJECTS)
|
timings_OBJECTS = $(am_timings_OBJECTS)
|
||||||
timings_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
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
|
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||||
am__maybe_remake_depfiles = depfiles
|
am__maybe_remake_depfiles = depfiles
|
||||||
am__depfiles_remade = ./$(DEPDIR)/affinity.Po ./$(DEPDIR)/df.Po \
|
am__depfiles_remade = ./$(DEPDIR)/affinity.Po ./$(DEPDIR)/df.Po \
|
||||||
./$(DEPDIR)/diskio.Po ./$(DEPDIR)/first.Po ./$(DEPDIR)/free.Po \
|
./$(DEPDIR)/disk.Po ./$(DEPDIR)/diskio.Po ./$(DEPDIR)/first.Po \
|
||||||
./$(DEPDIR)/mountlist.Po ./$(DEPDIR)/netlist.Po \
|
./$(DEPDIR)/free.Po ./$(DEPDIR)/mountlist.Po \
|
||||||
./$(DEPDIR)/netload.Po ./$(DEPDIR)/openfiles.Po \
|
./$(DEPDIR)/netlist.Po ./$(DEPDIR)/netload.Po \
|
||||||
./$(DEPDIR)/pprint.Po ./$(DEPDIR)/procargs.Po \
|
./$(DEPDIR)/openfiles.Po ./$(DEPDIR)/pprint.Po \
|
||||||
./$(DEPDIR)/proclist.Po ./$(DEPDIR)/procmap.Po \
|
./$(DEPDIR)/procargs.Po ./$(DEPDIR)/proclist.Po \
|
||||||
./$(DEPDIR)/second.Po ./$(DEPDIR)/smp.Po \
|
./$(DEPDIR)/procmap.Po ./$(DEPDIR)/second.Po \
|
||||||
./$(DEPDIR)/sysdeps.Po ./$(DEPDIR)/timings.Po \
|
./$(DEPDIR)/smp.Po ./$(DEPDIR)/sysdeps.Po \
|
||||||
|
./$(DEPDIR)/sysinfo.Po ./$(DEPDIR)/timings.Po \
|
||||||
./$(DEPDIR)/wd.Po
|
./$(DEPDIR)/wd.Po
|
||||||
am__mv = mv -f
|
am__mv = mv -f
|
||||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
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_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
||||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||||
am__v_CCLD_1 =
|
am__v_CCLD_1 =
|
||||||
SOURCES = $(affinity_SOURCES) $(df_SOURCES) $(diskio_SOURCES) \
|
SOURCES = $(affinity_SOURCES) $(df_SOURCES) $(disk_SOURCES) \
|
||||||
$(first_SOURCES) free.c $(mountlist_SOURCES) \
|
$(diskio_SOURCES) $(first_SOURCES) free.c $(mountlist_SOURCES) \
|
||||||
$(netlist_SOURCES) $(netload_SOURCES) $(openfiles_SOURCES) \
|
$(netlist_SOURCES) $(netload_SOURCES) $(openfiles_SOURCES) \
|
||||||
$(pprint_SOURCES) $(procargs_SOURCES) $(proclist_SOURCES) \
|
$(pprint_SOURCES) $(procargs_SOURCES) $(proclist_SOURCES) \
|
||||||
$(procmap_SOURCES) $(second_SOURCES) $(smp_SOURCES) \
|
$(procmap_SOURCES) $(second_SOURCES) $(smp_SOURCES) \
|
||||||
$(sysdeps_SOURCES) $(timings_SOURCES) $(wd_SOURCES)
|
$(sysdeps_SOURCES) $(sysinfo_SOURCES) $(timings_SOURCES) \
|
||||||
DIST_SOURCES = $(affinity_SOURCES) $(df_SOURCES) $(diskio_SOURCES) \
|
$(wd_SOURCES)
|
||||||
$(first_SOURCES) free.c $(mountlist_SOURCES) \
|
DIST_SOURCES = $(affinity_SOURCES) $(df_SOURCES) $(disk_SOURCES) \
|
||||||
|
$(diskio_SOURCES) $(first_SOURCES) free.c $(mountlist_SOURCES) \
|
||||||
$(netlist_SOURCES) $(netload_SOURCES) $(openfiles_SOURCES) \
|
$(netlist_SOURCES) $(netload_SOURCES) $(openfiles_SOURCES) \
|
||||||
$(pprint_SOURCES) $(procargs_SOURCES) $(proclist_SOURCES) \
|
$(pprint_SOURCES) $(procargs_SOURCES) $(proclist_SOURCES) \
|
||||||
$(procmap_SOURCES) $(second_SOURCES) $(smp_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 = \
|
am__can_run_installinfo = \
|
||||||
case $$AM_UPDATE_INFO_DIR in \
|
case $$AM_UPDATE_INFO_DIR in \
|
||||||
n|no|NO) false;; \
|
n|no|NO) false;; \
|
||||||
@@ -250,8 +261,6 @@ am__define_uniq_tagged_files = \
|
|||||||
unique=`for i in $$list; do \
|
unique=`for i in $$list; do \
|
||||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
done | $(am__uniquify_input)`
|
done | $(am__uniquify_input)`
|
||||||
ETAGS = etags
|
|
||||||
CTAGS = ctags
|
|
||||||
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
|
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
|
||||||
ChangeLog
|
ChangeLog
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
@@ -278,6 +287,8 @@ CCDEPMODE = @CCDEPMODE@
|
|||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CSCOPE = @CSCOPE@
|
||||||
|
CTAGS = @CTAGS@
|
||||||
CYGPATH_W = @CYGPATH_W@
|
CYGPATH_W = @CYGPATH_W@
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
@@ -289,8 +300,10 @@ ECHO_C = @ECHO_C@
|
|||||||
ECHO_N = @ECHO_N@
|
ECHO_N = @ECHO_N@
|
||||||
ECHO_T = @ECHO_T@
|
ECHO_T = @ECHO_T@
|
||||||
EGREP = @EGREP@
|
EGREP = @EGREP@
|
||||||
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||||
@@ -341,6 +354,7 @@ LIBS = @LIBS@
|
|||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIPO = @LIPO@
|
LIPO = @LIPO@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
|
LSBLK = @LSBLK@
|
||||||
LTLIBICONV = @LTLIBICONV@
|
LTLIBICONV = @LTLIBICONV@
|
||||||
LTLIBINTL = @LTLIBINTL@
|
LTLIBINTL = @LTLIBINTL@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
@@ -350,8 +364,8 @@ MAKEINFO = @MAKEINFO@
|
|||||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||||
MKDIR_P = @MKDIR_P@
|
MKDIR_P = @MKDIR_P@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
MSGFMT_015 = @MSGFMT_015@
|
|
||||||
MSGMERGE = @MSGMERGE@
|
MSGMERGE = @MSGMERGE@
|
||||||
|
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
|
||||||
NM = @NM@
|
NM = @NM@
|
||||||
NMEDIT = @NMEDIT@
|
NMEDIT = @NMEDIT@
|
||||||
OBJDUMP = @OBJDUMP@
|
OBJDUMP = @OBJDUMP@
|
||||||
@@ -376,6 +390,7 @@ SED = @SED@
|
|||||||
SET_MAKE = @SET_MAKE@
|
SET_MAKE = @SET_MAKE@
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
STRIP = @STRIP@
|
STRIP = @STRIP@
|
||||||
|
TR = @TR@
|
||||||
USE_NLS = @USE_NLS@
|
USE_NLS = @USE_NLS@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
XGETTEXT = @XGETTEXT@
|
XGETTEXT = @XGETTEXT@
|
||||||
@@ -428,6 +443,8 @@ libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
|
|||||||
libgtop_top_builddir = @libgtop_top_builddir@
|
libgtop_top_builddir = @libgtop_top_builddir@
|
||||||
libs_xauth = @libs_xauth@
|
libs_xauth = @libs_xauth@
|
||||||
localedir = @localedir@
|
localedir = @localedir@
|
||||||
|
localedir_c = @localedir_c@
|
||||||
|
localedir_c_make = @localedir_c_make@
|
||||||
localstatedir = @localstatedir@
|
localstatedir = @localstatedir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
@@ -436,6 +453,7 @@ pdfdir = @pdfdir@
|
|||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
runstatedir = @runstatedir@
|
||||||
sbindir = @sbindir@
|
sbindir = @sbindir@
|
||||||
server_programs = @server_programs@
|
server_programs = @server_programs@
|
||||||
sharedstatedir = @sharedstatedir@
|
sharedstatedir = @sharedstatedir@
|
||||||
@@ -462,6 +480,8 @@ mountlist_SOURCES = mountlist.c
|
|||||||
mountlist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
mountlist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||||
smp_SOURCES = smp.c
|
smp_SOURCES = smp.c
|
||||||
smp_LDADD = $(top_builddir)/lib/libgtop-2.0.la -lm
|
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_SOURCES = timings.c
|
||||||
timings_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
timings_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||||
pprint_SOURCES = pprint.c
|
pprint_SOURCES = pprint.c
|
||||||
@@ -484,6 +504,8 @@ affinity_SOURCES = affinity.c
|
|||||||
affinity_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
affinity_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||||
diskio_SOURCES = diskio.c
|
diskio_SOURCES = diskio.c
|
||||||
diskio_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
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
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
@@ -535,6 +557,10 @@ df$(EXEEXT): $(df_OBJECTS) $(df_DEPENDENCIES) $(EXTRA_df_DEPENDENCIES)
|
|||||||
@rm -f df$(EXEEXT)
|
@rm -f df$(EXEEXT)
|
||||||
$(AM_V_CCLD)$(LINK) $(df_OBJECTS) $(df_LDADD) $(LIBS)
|
$(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)
|
diskio$(EXEEXT): $(diskio_OBJECTS) $(diskio_DEPENDENCIES) $(EXTRA_diskio_DEPENDENCIES)
|
||||||
@rm -f diskio$(EXEEXT)
|
@rm -f diskio$(EXEEXT)
|
||||||
$(AM_V_CCLD)$(LINK) $(diskio_OBJECTS) $(diskio_LDADD) $(LIBS)
|
$(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)
|
@rm -f sysdeps$(EXEEXT)
|
||||||
$(AM_V_CCLD)$(LINK) $(sysdeps_OBJECTS) $(sysdeps_LDADD) $(LIBS)
|
$(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)
|
timings$(EXEEXT): $(timings_OBJECTS) $(timings_DEPENDENCIES) $(EXTRA_timings_DEPENDENCIES)
|
||||||
@rm -f timings$(EXEEXT)
|
@rm -f timings$(EXEEXT)
|
||||||
$(AM_V_CCLD)$(LINK) $(timings_OBJECTS) $(timings_LDADD) $(LIBS)
|
$(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)/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)/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)/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)/first.Po@am__quote@ # am--include-marker
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/free.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)/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)/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)/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)/timings.Po@am__quote@ # am--include-marker
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wd.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:
|
distclean-tags:
|
||||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
|
|
||||||
distdir: $(BUILT_SOURCES)
|
distdir: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
||||||
|
|
||||||
@@ -784,6 +815,7 @@ clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
|
|||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
-rm -f ./$(DEPDIR)/affinity.Po
|
-rm -f ./$(DEPDIR)/affinity.Po
|
||||||
-rm -f ./$(DEPDIR)/df.Po
|
-rm -f ./$(DEPDIR)/df.Po
|
||||||
|
-rm -f ./$(DEPDIR)/disk.Po
|
||||||
-rm -f ./$(DEPDIR)/diskio.Po
|
-rm -f ./$(DEPDIR)/diskio.Po
|
||||||
-rm -f ./$(DEPDIR)/first.Po
|
-rm -f ./$(DEPDIR)/first.Po
|
||||||
-rm -f ./$(DEPDIR)/free.Po
|
-rm -f ./$(DEPDIR)/free.Po
|
||||||
@@ -798,6 +830,7 @@ distclean: distclean-am
|
|||||||
-rm -f ./$(DEPDIR)/second.Po
|
-rm -f ./$(DEPDIR)/second.Po
|
||||||
-rm -f ./$(DEPDIR)/smp.Po
|
-rm -f ./$(DEPDIR)/smp.Po
|
||||||
-rm -f ./$(DEPDIR)/sysdeps.Po
|
-rm -f ./$(DEPDIR)/sysdeps.Po
|
||||||
|
-rm -f ./$(DEPDIR)/sysinfo.Po
|
||||||
-rm -f ./$(DEPDIR)/timings.Po
|
-rm -f ./$(DEPDIR)/timings.Po
|
||||||
-rm -f ./$(DEPDIR)/wd.Po
|
-rm -f ./$(DEPDIR)/wd.Po
|
||||||
-rm -f Makefile
|
-rm -f Makefile
|
||||||
@@ -847,6 +880,7 @@ installcheck-am:
|
|||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
-rm -f ./$(DEPDIR)/affinity.Po
|
-rm -f ./$(DEPDIR)/affinity.Po
|
||||||
-rm -f ./$(DEPDIR)/df.Po
|
-rm -f ./$(DEPDIR)/df.Po
|
||||||
|
-rm -f ./$(DEPDIR)/disk.Po
|
||||||
-rm -f ./$(DEPDIR)/diskio.Po
|
-rm -f ./$(DEPDIR)/diskio.Po
|
||||||
-rm -f ./$(DEPDIR)/first.Po
|
-rm -f ./$(DEPDIR)/first.Po
|
||||||
-rm -f ./$(DEPDIR)/free.Po
|
-rm -f ./$(DEPDIR)/free.Po
|
||||||
@@ -861,6 +895,7 @@ maintainer-clean: maintainer-clean-am
|
|||||||
-rm -f ./$(DEPDIR)/second.Po
|
-rm -f ./$(DEPDIR)/second.Po
|
||||||
-rm -f ./$(DEPDIR)/smp.Po
|
-rm -f ./$(DEPDIR)/smp.Po
|
||||||
-rm -f ./$(DEPDIR)/sysdeps.Po
|
-rm -f ./$(DEPDIR)/sysdeps.Po
|
||||||
|
-rm -f ./$(DEPDIR)/sysinfo.Po
|
||||||
-rm -f ./$(DEPDIR)/timings.Po
|
-rm -f ./$(DEPDIR)/timings.Po
|
||||||
-rm -f ./$(DEPDIR)/wd.Po
|
-rm -f ./$(DEPDIR)/wd.Po
|
||||||
-rm -f Makefile
|
-rm -f Makefile
|
||||||
|
65
examples/disk.c
Normal file
65
examples/disk.c
Normal 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);
|
||||||
|
}
|
@@ -71,7 +71,9 @@ main (int argc, char *argv [])
|
|||||||
|
|
||||||
printf ("Host = '%s' - %u\n\n", buffer, port);
|
printf ("Host = '%s' - %u\n\n", buffer, port);
|
||||||
|
|
||||||
|
#ifdef HAVE_SBRK
|
||||||
printf ("sbrk (0) = %p\n\n", sbrk (0));
|
printf ("sbrk (0) = %p\n\n", sbrk (0));
|
||||||
|
#endif
|
||||||
|
|
||||||
for (c = 0; c < PROFILE_COUNT; c++) {
|
for (c = 0; c < PROFILE_COUNT; c++) {
|
||||||
mount_entries = glibtop_get_mountlist (&mount_list, 1);
|
mount_entries = glibtop_get_mountlist (&mount_list, 1);
|
||||||
@@ -79,7 +81,9 @@ main (int argc, char *argv [])
|
|||||||
g_free (mount_entries);
|
g_free (mount_entries);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_SBRK
|
||||||
printf ("sbrk (0) = %p\n\n", sbrk (0));
|
printf ("sbrk (0) = %p\n\n", sbrk (0));
|
||||||
|
#endif
|
||||||
|
|
||||||
mount_entries = glibtop_get_mountlist (&mount_list, 1);
|
mount_entries = glibtop_get_mountlist (&mount_list, 1);
|
||||||
|
|
||||||
@@ -108,7 +112,9 @@ main (int argc, char *argv [])
|
|||||||
|
|
||||||
g_free (mount_entries);
|
g_free (mount_entries);
|
||||||
|
|
||||||
|
#ifdef HAVE_SBRK
|
||||||
printf ("\nsbrk (0) = %p\n\n", sbrk (0));
|
printf ("\nsbrk (0) = %p\n\n", sbrk (0));
|
||||||
|
#endif
|
||||||
|
|
||||||
glibtop_close ();
|
glibtop_close ();
|
||||||
|
|
||||||
|
@@ -66,7 +66,7 @@ main (int argc, char *argv [])
|
|||||||
glibtop_netload netload;
|
glibtop_netload netload;
|
||||||
unsigned method, count, port;
|
unsigned method, count, port;
|
||||||
struct in_addr addr, subnet;
|
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 address6_string[INET6_ADDRSTRLEN], prefix6_string[INET6_ADDRSTRLEN];
|
||||||
char *hwaddress_string;
|
char *hwaddress_string;
|
||||||
char buffer [BUFSIZ];
|
char buffer [BUFSIZ];
|
||||||
@@ -105,9 +105,8 @@ main (int argc, char *argv [])
|
|||||||
addr.s_addr = netload.address;
|
addr.s_addr = netload.address;
|
||||||
subnet.s_addr = netload.subnet;
|
subnet.s_addr = netload.subnet;
|
||||||
|
|
||||||
address_string = g_strdup (inet_ntoa (addr));
|
inet_ntop (AF_INET, &addr, address_string, INET_ADDRSTRLEN);
|
||||||
subnet_string = g_strdup (inet_ntoa (subnet));
|
inet_ntop (AF_INET, &subnet, subnet_string, INET_ADDRSTRLEN);
|
||||||
|
|
||||||
inet_ntop (AF_INET6, netload.address6, address6_string, INET6_ADDRSTRLEN);
|
inet_ntop (AF_INET6, netload.address6, address6_string, INET6_ADDRSTRLEN);
|
||||||
inet_ntop (AF_INET6, netload.prefix6, prefix6_string, INET6_ADDRSTRLEN);
|
inet_ntop (AF_INET6, netload.prefix6, prefix6_string, INET6_ADDRSTRLEN);
|
||||||
|
|
||||||
@@ -153,9 +152,6 @@ main (int argc, char *argv [])
|
|||||||
hwaddress_string);
|
hwaddress_string);
|
||||||
|
|
||||||
|
|
||||||
g_free (address_string);
|
|
||||||
g_free (subnet_string);
|
|
||||||
|
|
||||||
glibtop_close ();
|
glibtop_close ();
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
|
48
examples/sysinfo.c
Normal file
48
examples/sysinfo.c
Normal 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);
|
||||||
|
}
|
@@ -1,4 +1,5 @@
|
|||||||
void|cpu
|
void|cpu
|
||||||
|
void|disk
|
||||||
void|mem
|
void|mem
|
||||||
void|swap
|
void|swap
|
||||||
void|uptime
|
void|uptime
|
||||||
|
@@ -98,6 +98,9 @@ struct _glibtop
|
|||||||
gid_t egid;
|
gid_t egid;
|
||||||
|
|
||||||
glibtop_machine *machine; /* Machine dependent data */
|
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;
|
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):
|
* @server_ptr: (out):
|
||||||
* @features:
|
* @features:
|
||||||
* @flags:
|
* @flags:
|
||||||
|
@@ -57,6 +57,7 @@ DOC_STAMPS=setup-build.stamp scan-build.stamp sgml-build.stamp \
|
|||||||
sgml.stamp html.stamp pdf.stamp
|
sgml.stamp html.stamp pdf.stamp
|
||||||
|
|
||||||
SCANOBJ_FILES = \
|
SCANOBJ_FILES = \
|
||||||
|
$(DOC_MODULE).actions \
|
||||||
$(DOC_MODULE).args \
|
$(DOC_MODULE).args \
|
||||||
$(DOC_MODULE).hierarchy \
|
$(DOC_MODULE).hierarchy \
|
||||||
$(DOC_MODULE).interfaces \
|
$(DOC_MODULE).interfaces \
|
||||||
|
@@ -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@
|
# @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
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -89,8 +89,9 @@ build_triplet = @build@
|
|||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
subdir = include
|
subdir = include
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
|
am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
|
||||||
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.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/intlmacosx.m4 \
|
||||||
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.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 \
|
unique=`for i in $$list; do \
|
||||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
done | $(am__uniquify_input)`
|
done | $(am__uniquify_input)`
|
||||||
ETAGS = etags
|
|
||||||
CTAGS = ctags
|
|
||||||
DIST_SUBDIRS = $(SUBDIRS)
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
am__DIST_COMMON = $(srcdir)/Makefile.in
|
am__DIST_COMMON = $(srcdir)/Makefile.in
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
@@ -206,6 +205,8 @@ CCDEPMODE = @CCDEPMODE@
|
|||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CSCOPE = @CSCOPE@
|
||||||
|
CTAGS = @CTAGS@
|
||||||
CYGPATH_W = @CYGPATH_W@
|
CYGPATH_W = @CYGPATH_W@
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
@@ -217,8 +218,10 @@ ECHO_C = @ECHO_C@
|
|||||||
ECHO_N = @ECHO_N@
|
ECHO_N = @ECHO_N@
|
||||||
ECHO_T = @ECHO_T@
|
ECHO_T = @ECHO_T@
|
||||||
EGREP = @EGREP@
|
EGREP = @EGREP@
|
||||||
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||||
@@ -269,6 +272,7 @@ LIBS = @LIBS@
|
|||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIPO = @LIPO@
|
LIPO = @LIPO@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
|
LSBLK = @LSBLK@
|
||||||
LTLIBICONV = @LTLIBICONV@
|
LTLIBICONV = @LTLIBICONV@
|
||||||
LTLIBINTL = @LTLIBINTL@
|
LTLIBINTL = @LTLIBINTL@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
@@ -278,8 +282,8 @@ MAKEINFO = @MAKEINFO@
|
|||||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||||
MKDIR_P = @MKDIR_P@
|
MKDIR_P = @MKDIR_P@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
MSGFMT_015 = @MSGFMT_015@
|
|
||||||
MSGMERGE = @MSGMERGE@
|
MSGMERGE = @MSGMERGE@
|
||||||
|
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
|
||||||
NM = @NM@
|
NM = @NM@
|
||||||
NMEDIT = @NMEDIT@
|
NMEDIT = @NMEDIT@
|
||||||
OBJDUMP = @OBJDUMP@
|
OBJDUMP = @OBJDUMP@
|
||||||
@@ -304,6 +308,7 @@ SED = @SED@
|
|||||||
SET_MAKE = @SET_MAKE@
|
SET_MAKE = @SET_MAKE@
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
STRIP = @STRIP@
|
STRIP = @STRIP@
|
||||||
|
TR = @TR@
|
||||||
USE_NLS = @USE_NLS@
|
USE_NLS = @USE_NLS@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
XGETTEXT = @XGETTEXT@
|
XGETTEXT = @XGETTEXT@
|
||||||
@@ -356,6 +361,8 @@ libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
|
|||||||
libgtop_top_builddir = @libgtop_top_builddir@
|
libgtop_top_builddir = @libgtop_top_builddir@
|
||||||
libs_xauth = @libs_xauth@
|
libs_xauth = @libs_xauth@
|
||||||
localedir = @localedir@
|
localedir = @localedir@
|
||||||
|
localedir_c = @localedir_c@
|
||||||
|
localedir_c_make = @localedir_c_make@
|
||||||
localstatedir = @localstatedir@
|
localstatedir = @localstatedir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
@@ -364,6 +371,7 @@ pdfdir = @pdfdir@
|
|||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
runstatedir = @runstatedir@
|
||||||
sbindir = @sbindir@
|
sbindir = @sbindir@
|
||||||
server_programs = @server_programs@
|
server_programs = @server_programs@
|
||||||
sharedstatedir = @sharedstatedir@
|
sharedstatedir = @sharedstatedir@
|
||||||
@@ -513,7 +521,6 @@ cscopelist-am: $(am__tagged_files)
|
|||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
|
|
||||||
distdir: $(BUILT_SOURCES)
|
distdir: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@ glibtopdir = $(includedir)/libgtop-2.0/glibtop
|
|||||||
|
|
||||||
glibtop_HEADERS = close.h loadavg.h prockernel.h procstate.h \
|
glibtop_HEADERS = close.h loadavg.h prockernel.h procstate.h \
|
||||||
sem_limits.h uptime.h command.h mem.h proclist.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 \
|
procmem.h procuid.h swap.h \
|
||||||
procsegment.h sysdeps.h global.h \
|
procsegment.h sysdeps.h global.h \
|
||||||
procsignal.h union.h gnuserv.h \
|
procsignal.h union.h gnuserv.h \
|
||||||
|
@@ -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@
|
# @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
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -90,8 +90,9 @@ build_triplet = @build@
|
|||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
subdir = include/glibtop
|
subdir = include/glibtop
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
|
am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
|
||||||
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.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/intlmacosx.m4 \
|
||||||
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
|
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
|
||||||
@@ -174,8 +175,6 @@ am__define_uniq_tagged_files = \
|
|||||||
unique=`for i in $$list; do \
|
unique=`for i in $$list; do \
|
||||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
done | $(am__uniquify_input)`
|
done | $(am__uniquify_input)`
|
||||||
ETAGS = etags
|
|
||||||
CTAGS = ctags
|
|
||||||
am__DIST_COMMON = $(srcdir)/Makefile.in
|
am__DIST_COMMON = $(srcdir)/Makefile.in
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
@@ -195,6 +194,8 @@ CCDEPMODE = @CCDEPMODE@
|
|||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CSCOPE = @CSCOPE@
|
||||||
|
CTAGS = @CTAGS@
|
||||||
CYGPATH_W = @CYGPATH_W@
|
CYGPATH_W = @CYGPATH_W@
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
@@ -206,8 +207,10 @@ ECHO_C = @ECHO_C@
|
|||||||
ECHO_N = @ECHO_N@
|
ECHO_N = @ECHO_N@
|
||||||
ECHO_T = @ECHO_T@
|
ECHO_T = @ECHO_T@
|
||||||
EGREP = @EGREP@
|
EGREP = @EGREP@
|
||||||
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||||
@@ -258,6 +261,7 @@ LIBS = @LIBS@
|
|||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIPO = @LIPO@
|
LIPO = @LIPO@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
|
LSBLK = @LSBLK@
|
||||||
LTLIBICONV = @LTLIBICONV@
|
LTLIBICONV = @LTLIBICONV@
|
||||||
LTLIBINTL = @LTLIBINTL@
|
LTLIBINTL = @LTLIBINTL@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
@@ -267,8 +271,8 @@ MAKEINFO = @MAKEINFO@
|
|||||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||||
MKDIR_P = @MKDIR_P@
|
MKDIR_P = @MKDIR_P@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
MSGFMT_015 = @MSGFMT_015@
|
|
||||||
MSGMERGE = @MSGMERGE@
|
MSGMERGE = @MSGMERGE@
|
||||||
|
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
|
||||||
NM = @NM@
|
NM = @NM@
|
||||||
NMEDIT = @NMEDIT@
|
NMEDIT = @NMEDIT@
|
||||||
OBJDUMP = @OBJDUMP@
|
OBJDUMP = @OBJDUMP@
|
||||||
@@ -293,6 +297,7 @@ SED = @SED@
|
|||||||
SET_MAKE = @SET_MAKE@
|
SET_MAKE = @SET_MAKE@
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
STRIP = @STRIP@
|
STRIP = @STRIP@
|
||||||
|
TR = @TR@
|
||||||
USE_NLS = @USE_NLS@
|
USE_NLS = @USE_NLS@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
XGETTEXT = @XGETTEXT@
|
XGETTEXT = @XGETTEXT@
|
||||||
@@ -345,6 +350,8 @@ libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
|
|||||||
libgtop_top_builddir = @libgtop_top_builddir@
|
libgtop_top_builddir = @libgtop_top_builddir@
|
||||||
libs_xauth = @libs_xauth@
|
libs_xauth = @libs_xauth@
|
||||||
localedir = @localedir@
|
localedir = @localedir@
|
||||||
|
localedir_c = @localedir_c@
|
||||||
|
localedir_c_make = @localedir_c_make@
|
||||||
localstatedir = @localstatedir@
|
localstatedir = @localstatedir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
@@ -353,6 +360,7 @@ pdfdir = @pdfdir@
|
|||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
runstatedir = @runstatedir@
|
||||||
sbindir = @sbindir@
|
sbindir = @sbindir@
|
||||||
server_programs = @server_programs@
|
server_programs = @server_programs@
|
||||||
sharedstatedir = @sharedstatedir@
|
sharedstatedir = @sharedstatedir@
|
||||||
@@ -367,7 +375,7 @@ top_srcdir = @top_srcdir@
|
|||||||
glibtopdir = $(includedir)/libgtop-2.0/glibtop
|
glibtopdir = $(includedir)/libgtop-2.0/glibtop
|
||||||
glibtop_HEADERS = close.h loadavg.h prockernel.h procstate.h \
|
glibtop_HEADERS = close.h loadavg.h prockernel.h procstate.h \
|
||||||
sem_limits.h uptime.h command.h mem.h proclist.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 \
|
procmem.h procuid.h swap.h \
|
||||||
procsegment.h sysdeps.h global.h \
|
procsegment.h sysdeps.h global.h \
|
||||||
procsignal.h union.h gnuserv.h \
|
procsignal.h union.h gnuserv.h \
|
||||||
@@ -491,7 +499,6 @@ cscopelist-am: $(am__tagged_files)
|
|||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
|
|
||||||
distdir: $(BUILT_SOURCES)
|
distdir: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
||||||
|
|
||||||
|
@@ -60,8 +60,9 @@ G_BEGIN_DECLS
|
|||||||
#define GLIBTOP_CMND_PROC_WD 26
|
#define GLIBTOP_CMND_PROC_WD 26
|
||||||
#define GLIBTOP_CMND_PROC_AFFINITY 27
|
#define GLIBTOP_CMND_PROC_AFFINITY 27
|
||||||
#define GLIBTOP_CMND_PROC_IO 28
|
#define GLIBTOP_CMND_PROC_IO 28
|
||||||
|
#define GLIBTOP_CMND_DISK 29
|
||||||
|
|
||||||
#define GLIBTOP_MAX_CMND 29
|
#define GLIBTOP_MAX_CMND 30
|
||||||
|
|
||||||
#define _GLIBTOP_PARAM_SIZE 16
|
#define _GLIBTOP_PARAM_SIZE 16
|
||||||
|
|
||||||
|
86
include/glibtop/disk.h
Normal file
86
include/glibtop/disk.h
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
/* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __GLIBTOP_DISK_H__
|
||||||
|
#define __GLIBTOP_DISK_H__
|
||||||
|
|
||||||
|
#include <glibtop.h>
|
||||||
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
#define GLIBTOP_XDISK_SECTORS_READ 0
|
||||||
|
#define GLIBTOP_XDISK_TIME_READ 1
|
||||||
|
#define GLIBTOP_XDISK_SECTORS_WRITE 2
|
||||||
|
#define GLIBTOP_XDISK_TIME_WRITE 3
|
||||||
|
|
||||||
|
#define GLIBTOP_MAX_DISK 4
|
||||||
|
|
||||||
|
/* Nobody should really be using more than 4 disk.
|
||||||
|
Yes we are :)
|
||||||
|
Nobody should really be using more than 32 disk.
|
||||||
|
*/
|
||||||
|
#define GLIBTOP_NDISK 1024
|
||||||
|
|
||||||
|
typedef struct _glibtop_disk glibtop_disk;
|
||||||
|
|
||||||
|
struct _partition_info
|
||||||
|
{
|
||||||
|
char name[256];
|
||||||
|
char type[256];
|
||||||
|
char raid_num[256];
|
||||||
|
int max;
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef struct _partition_info partition_info;
|
||||||
|
|
||||||
|
struct _glibtop_disk
|
||||||
|
{
|
||||||
|
guint64 flags; /* NOT USED YET */
|
||||||
|
guint64 xdisk_sectors_read [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_SECTORS_READ */
|
||||||
|
guint64 xdisk_time_read [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_TIME_READ */
|
||||||
|
guint64 xdisk_sectors_write [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_SECTORS_WRITE */
|
||||||
|
guint64 xdisk_time_write [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_TIME_WRITE */
|
||||||
|
guint64 xdisk_flags;
|
||||||
|
};
|
||||||
|
|
||||||
|
void glibtop_get_disk (glibtop_disk *buf);
|
||||||
|
|
||||||
|
#if GLIBTOP_SUID_DISK
|
||||||
|
#define glibtop_get_disk_r glibtop_get_disk_p
|
||||||
|
#else
|
||||||
|
#define glibtop_get_disk_r glibtop_get_disk_s
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void glibtop_get_disk_l (glibtop *server, glibtop_disk *buf);
|
||||||
|
|
||||||
|
#if GLIBTOP_SUID_DISK
|
||||||
|
void _glibtop_init_disk_p (glibtop *server);
|
||||||
|
void glibtop_get_disk_p (glibtop *server, glibtop_disk *buf);
|
||||||
|
#else
|
||||||
|
void _glibtop_init_disk_s (glibtop *server);
|
||||||
|
void glibtop_get_disk_s (glibtop *server, glibtop_disk *buf);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif
|
@@ -28,17 +28,11 @@
|
|||||||
|
|
||||||
#endif /* _IN_LIBGTOP */
|
#endif /* _IN_LIBGTOP */
|
||||||
|
|
||||||
#if TIME_WITH_SYS_TIME
|
#if HAVE_SYS_TIME_H
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
# include <time.h>
|
|
||||||
#else
|
|
||||||
# if HAVE_SYS_TIME_H
|
|
||||||
# include <sys/time.h>
|
|
||||||
# else
|
|
||||||
# include <time.h>
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <time.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
@@ -54,8 +54,9 @@ G_BEGIN_DECLS
|
|||||||
#define GLIBTOP_SYSDEPS_PROC_WD 25
|
#define GLIBTOP_SYSDEPS_PROC_WD 25
|
||||||
#define GLIBTOP_SYSDEPS_PROC_AFFINITY 26
|
#define GLIBTOP_SYSDEPS_PROC_AFFINITY 26
|
||||||
#define GLIBTOP_SYSDEPS_PROC_IO 27
|
#define GLIBTOP_SYSDEPS_PROC_IO 27
|
||||||
|
#define GLIBTOP_SYSDEPS_DISK 28
|
||||||
|
|
||||||
#define GLIBTOP_MAX_SYSDEPS 28
|
#define GLIBTOP_MAX_SYSDEPS 29
|
||||||
|
|
||||||
/* The 'features' args to glibtop_init_* is an unsigned long */
|
/* The 'features' args to glibtop_init_* is an unsigned long */
|
||||||
G_STATIC_ASSERT((1UL << (GLIBTOP_MAX_SYSDEPS - 1)) <= ULONG_MAX);
|
G_STATIC_ASSERT((1UL << (GLIBTOP_MAX_SYSDEPS - 1)) <= ULONG_MAX);
|
||||||
@@ -95,7 +96,7 @@ struct _glibtop_sysdeps
|
|||||||
guint64 proc_wd; /* glibtop_proc_wd */
|
guint64 proc_wd; /* glibtop_proc_wd */
|
||||||
guint64 proc_affinity; /* glibtop_proc_affinity */
|
guint64 proc_affinity; /* glibtop_proc_affinity */
|
||||||
guint64 proc_io; /* glibtop_proc_io */
|
guint64 proc_io; /* glibtop_proc_io */
|
||||||
guint64 reserved0;
|
guint64 disk; /* glibtop_disk */
|
||||||
guint64 reserved1;
|
guint64 reserved1;
|
||||||
guint64 reserved2;
|
guint64 reserved2;
|
||||||
guint64 reserved3;
|
guint64 reserved3;
|
||||||
|
@@ -23,6 +23,7 @@
|
|||||||
#define __GLIBTOP_UNION_H__
|
#define __GLIBTOP_UNION_H__
|
||||||
|
|
||||||
#include <glibtop/cpu.h>
|
#include <glibtop/cpu.h>
|
||||||
|
#include <glibtop/disk.h>
|
||||||
#include <glibtop/mem.h>
|
#include <glibtop/mem.h>
|
||||||
#include <glibtop/swap.h>
|
#include <glibtop/swap.h>
|
||||||
#include <glibtop/uptime.h>
|
#include <glibtop/uptime.h>
|
||||||
@@ -60,6 +61,7 @@ typedef union _glibtop_union glibtop_union;
|
|||||||
union _glibtop_union
|
union _glibtop_union
|
||||||
{
|
{
|
||||||
glibtop_cpu cpu;
|
glibtop_cpu cpu;
|
||||||
|
glibtop_disk disk;
|
||||||
glibtop_mem mem;
|
glibtop_mem mem;
|
||||||
glibtop_swap swap;
|
glibtop_swap swap;
|
||||||
glibtop_uptime uptime;
|
glibtop_uptime uptime;
|
||||||
|
157
install-sh
157
install-sh
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# install - install a program, script, or datafile
|
# install - install a program, script, or datafile
|
||||||
|
|
||||||
scriptversion=2018-03-11.20; # UTC
|
scriptversion=2020-11-14.01; # UTC
|
||||||
|
|
||||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||||
@@ -69,6 +69,11 @@ posix_mkdir=
|
|||||||
# Desired mode of installed file.
|
# Desired mode of installed file.
|
||||||
mode=0755
|
mode=0755
|
||||||
|
|
||||||
|
# Create dirs (including intermediate dirs) using mode 755.
|
||||||
|
# This is like GNU 'install' as of coreutils 8.32 (2020).
|
||||||
|
mkdir_umask=22
|
||||||
|
|
||||||
|
backupsuffix=
|
||||||
chgrpcmd=
|
chgrpcmd=
|
||||||
chmodcmd=$chmodprog
|
chmodcmd=$chmodprog
|
||||||
chowncmd=
|
chowncmd=
|
||||||
@@ -99,18 +104,28 @@ Options:
|
|||||||
--version display version info and exit.
|
--version display version info and exit.
|
||||||
|
|
||||||
-c (ignored)
|
-c (ignored)
|
||||||
-C install only if different (preserve the last data modification time)
|
-C install only if different (preserve data modification time)
|
||||||
-d create directories instead of installing files.
|
-d create directories instead of installing files.
|
||||||
-g GROUP $chgrpprog installed files to GROUP.
|
-g GROUP $chgrpprog installed files to GROUP.
|
||||||
-m MODE $chmodprog installed files to MODE.
|
-m MODE $chmodprog installed files to MODE.
|
||||||
-o USER $chownprog installed files to USER.
|
-o USER $chownprog installed files to USER.
|
||||||
|
-p pass -p to $cpprog.
|
||||||
-s $stripprog installed files.
|
-s $stripprog installed files.
|
||||||
|
-S SUFFIX attempt to back up existing files, with suffix SUFFIX.
|
||||||
-t DIRECTORY install into DIRECTORY.
|
-t DIRECTORY install into DIRECTORY.
|
||||||
-T report an error if DSTFILE is a directory.
|
-T report an error if DSTFILE is a directory.
|
||||||
|
|
||||||
Environment variables override the default commands:
|
Environment variables override the default commands:
|
||||||
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||||
RMPROG STRIPPROG
|
RMPROG STRIPPROG
|
||||||
|
|
||||||
|
By default, rm is invoked with -f; when overridden with RMPROG,
|
||||||
|
it's up to you to specify -f if you want it.
|
||||||
|
|
||||||
|
If -S is not specified, no backups are attempted.
|
||||||
|
|
||||||
|
Email bug reports to bug-automake@gnu.org.
|
||||||
|
Automake home page: https://www.gnu.org/software/automake/
|
||||||
"
|
"
|
||||||
|
|
||||||
while test $# -ne 0; do
|
while test $# -ne 0; do
|
||||||
@@ -137,8 +152,13 @@ while test $# -ne 0; do
|
|||||||
-o) chowncmd="$chownprog $2"
|
-o) chowncmd="$chownprog $2"
|
||||||
shift;;
|
shift;;
|
||||||
|
|
||||||
|
-p) cpprog="$cpprog -p";;
|
||||||
|
|
||||||
-s) stripcmd=$stripprog;;
|
-s) stripcmd=$stripprog;;
|
||||||
|
|
||||||
|
-S) backupsuffix="$2"
|
||||||
|
shift;;
|
||||||
|
|
||||||
-t)
|
-t)
|
||||||
is_target_a_directory=always
|
is_target_a_directory=always
|
||||||
dst_arg=$2
|
dst_arg=$2
|
||||||
@@ -255,6 +275,10 @@ do
|
|||||||
dstdir=$dst
|
dstdir=$dst
|
||||||
test -d "$dstdir"
|
test -d "$dstdir"
|
||||||
dstdir_status=$?
|
dstdir_status=$?
|
||||||
|
# Don't chown directories that already exist.
|
||||||
|
if test $dstdir_status = 0; then
|
||||||
|
chowncmd=""
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
|
|
||||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||||
@@ -301,22 +325,6 @@ do
|
|||||||
if test $dstdir_status != 0; then
|
if test $dstdir_status != 0; then
|
||||||
case $posix_mkdir in
|
case $posix_mkdir in
|
||||||
'')
|
'')
|
||||||
# Create intermediate dirs using mode 755 as modified by the umask.
|
|
||||||
# This is like FreeBSD 'install' as of 1997-10-28.
|
|
||||||
umask=`umask`
|
|
||||||
case $stripcmd.$umask in
|
|
||||||
# Optimize common cases.
|
|
||||||
*[2367][2367]) mkdir_umask=$umask;;
|
|
||||||
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
|
||||||
|
|
||||||
*[0-7])
|
|
||||||
mkdir_umask=`expr $umask + 22 \
|
|
||||||
- $umask % 100 % 40 + $umask % 20 \
|
|
||||||
- $umask % 10 % 4 + $umask % 2
|
|
||||||
`;;
|
|
||||||
*) mkdir_umask=$umask,go-w;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# With -d, create the new directory with the user-specified mode.
|
# With -d, create the new directory with the user-specified mode.
|
||||||
# Otherwise, rely on $mkdir_umask.
|
# Otherwise, rely on $mkdir_umask.
|
||||||
if test -n "$dir_arg"; then
|
if test -n "$dir_arg"; then
|
||||||
@@ -326,52 +334,49 @@ do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
posix_mkdir=false
|
posix_mkdir=false
|
||||||
case $umask in
|
# The $RANDOM variable is not portable (e.g., dash). Use it
|
||||||
*[123567][0-7][0-7])
|
# here however when possible just to lower collision chance.
|
||||||
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
# Note that $RANDOM variable is not portable (e.g. dash); Use it
|
|
||||||
# here however when possible just to lower collision chance.
|
|
||||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
|
||||||
|
|
||||||
trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
|
trap '
|
||||||
|
ret=$?
|
||||||
|
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
|
||||||
|
exit $ret
|
||||||
|
' 0
|
||||||
|
|
||||||
# Because "mkdir -p" follows existing symlinks and we likely work
|
# Because "mkdir -p" follows existing symlinks and we likely work
|
||||||
# directly in world-writeable /tmp, make sure that the '$tmpdir'
|
# directly in world-writeable /tmp, make sure that the '$tmpdir'
|
||||||
# directory is successfully created first before we actually test
|
# directory is successfully created first before we actually test
|
||||||
# 'mkdir -p' feature.
|
# 'mkdir -p'.
|
||||||
if (umask $mkdir_umask &&
|
if (umask $mkdir_umask &&
|
||||||
$mkdirprog $mkdir_mode "$tmpdir" &&
|
$mkdirprog $mkdir_mode "$tmpdir" &&
|
||||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
|
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
if test -z "$dir_arg" || {
|
if test -z "$dir_arg" || {
|
||||||
# Check for POSIX incompatibilities with -m.
|
# Check for POSIX incompatibilities with -m.
|
||||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||||
# other-writable bit of parent directory when it shouldn't.
|
# other-writable bit of parent directory when it shouldn't.
|
||||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||||
test_tmpdir="$tmpdir/a"
|
test_tmpdir="$tmpdir/a"
|
||||||
ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
|
ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
|
||||||
case $ls_ld_tmpdir in
|
case $ls_ld_tmpdir in
|
||||||
d????-?r-*) different_mode=700;;
|
d????-?r-*) different_mode=700;;
|
||||||
d????-?--*) different_mode=755;;
|
d????-?--*) different_mode=755;;
|
||||||
*) false;;
|
*) false;;
|
||||||
esac &&
|
esac &&
|
||||||
$mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
|
$mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
|
||||||
ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
|
ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
|
||||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
then posix_mkdir=:
|
then posix_mkdir=:
|
||||||
fi
|
fi
|
||||||
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
|
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
|
||||||
else
|
else
|
||||||
# Remove any dirs left behind by ancient mkdir implementations.
|
# Remove any dirs left behind by ancient mkdir implementations.
|
||||||
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
|
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
|
||||||
fi
|
fi
|
||||||
trap '' 0;;
|
trap '' 0;;
|
||||||
esac;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if
|
if
|
||||||
@@ -382,7 +387,7 @@ do
|
|||||||
then :
|
then :
|
||||||
else
|
else
|
||||||
|
|
||||||
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
# mkdir does not conform to POSIX,
|
||||||
# or it failed possibly due to a race condition. Create the
|
# or it failed possibly due to a race condition. Create the
|
||||||
# directory the slow way, step by step, checking for races as we go.
|
# directory the slow way, step by step, checking for races as we go.
|
||||||
|
|
||||||
@@ -411,7 +416,7 @@ do
|
|||||||
prefixes=
|
prefixes=
|
||||||
else
|
else
|
||||||
if $posix_mkdir; then
|
if $posix_mkdir; then
|
||||||
(umask=$mkdir_umask &&
|
(umask $mkdir_umask &&
|
||||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||||
# Don't fail if two instances are running concurrently.
|
# Don't fail if two instances are running concurrently.
|
||||||
test -d "$prefix" || exit 1
|
test -d "$prefix" || exit 1
|
||||||
@@ -451,7 +456,18 @@ do
|
|||||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||||
|
|
||||||
# Copy the file name to the temp name.
|
# Copy the file name to the temp name.
|
||||||
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
(umask $cp_umask &&
|
||||||
|
{ test -z "$stripcmd" || {
|
||||||
|
# Create $dsttmp read-write so that cp doesn't create it read-only,
|
||||||
|
# which would cause strip to fail.
|
||||||
|
if test -z "$doit"; then
|
||||||
|
: >"$dsttmp" # No need to fork-exec 'touch'.
|
||||||
|
else
|
||||||
|
$doit touch "$dsttmp"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
} &&
|
||||||
|
$doit_exec $cpprog "$src" "$dsttmp") &&
|
||||||
|
|
||||||
# and set any options; do chmod last to preserve setuid bits.
|
# and set any options; do chmod last to preserve setuid bits.
|
||||||
#
|
#
|
||||||
@@ -477,6 +493,13 @@ do
|
|||||||
then
|
then
|
||||||
rm -f "$dsttmp"
|
rm -f "$dsttmp"
|
||||||
else
|
else
|
||||||
|
# If $backupsuffix is set, and the file being installed
|
||||||
|
# already exists, attempt a backup. Don't worry if it fails,
|
||||||
|
# e.g., if mv doesn't support -f.
|
||||||
|
if test -n "$backupsuffix" && test -f "$dst"; then
|
||||||
|
$doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
# Rename the file to the real destination.
|
# Rename the file to the real destination.
|
||||||
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||||
|
|
||||||
@@ -491,9 +514,9 @@ do
|
|||||||
# file should still install successfully.
|
# file should still install successfully.
|
||||||
{
|
{
|
||||||
test ! -f "$dst" ||
|
test ! -f "$dst" ||
|
||||||
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
$doit $rmcmd "$dst" 2>/dev/null ||
|
||||||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||||
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
{ $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
|
||||||
} ||
|
} ||
|
||||||
{ echo "$0: cannot unlink or rename $dst" >&2
|
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||||
(exit 1); exit 1
|
(exit 1); exit 1
|
||||||
|
@@ -29,7 +29,7 @@ if HAVE_INTROSPECTION
|
|||||||
introspection_sources = $(libgtop_2_0_la_SOURCES) lib.c ../glibtop.h ../libgtopconfig.h \
|
introspection_sources = $(libgtop_2_0_la_SOURCES) lib.c ../glibtop.h ../libgtopconfig.h \
|
||||||
../include/glibtop/close.h ../include/glibtop/loadavg.h ../include/glibtop/prockernel.h ../include/glibtop/procstate.h \
|
../include/glibtop/close.h ../include/glibtop/loadavg.h ../include/glibtop/prockernel.h ../include/glibtop/procstate.h \
|
||||||
../include/glibtop/sem_limits.h ../include/glibtop/uptime.h ../include/glibtop/command.h ../include/glibtop/mem.h ../include/glibtop/proclist.h \
|
../include/glibtop/sem_limits.h ../include/glibtop/uptime.h ../include/glibtop/command.h ../include/glibtop/mem.h ../include/glibtop/proclist.h \
|
||||||
../include/glibtop/proctime.h ../include/glibtop/shm_limits.h ../include/glibtop/cpu.h ../include/glibtop/msg_limits.h \
|
../include/glibtop/proctime.h ../include/glibtop/shm_limits.h ../include/glibtop/cpu.h ../include/glibtop/disk.h ../include/glibtop/msg_limits.h \
|
||||||
../include/glibtop/procmem.h ../include/glibtop/procuid.h ../include/glibtop/swap.h \
|
../include/glibtop/procmem.h ../include/glibtop/procuid.h ../include/glibtop/swap.h \
|
||||||
../include/glibtop/procsegment.h ../include/glibtop/sysdeps.h ../include/glibtop/global.h \
|
../include/glibtop/procsegment.h ../include/glibtop/sysdeps.h ../include/glibtop/global.h \
|
||||||
../include/glibtop/procsignal.h ../include/glibtop/union.h ../include/glibtop/gnuserv.h \
|
../include/glibtop/procsignal.h ../include/glibtop/union.h ../include/glibtop/gnuserv.h \
|
||||||
|
@@ -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@
|
# @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
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@@ -93,8 +93,9 @@ host_triplet = @host@
|
|||||||
@HAVE_INTROSPECTION_TRUE@am__append_2 = $(gir_DATA) $(typelib_DATA)
|
@HAVE_INTROSPECTION_TRUE@am__append_2 = $(gir_DATA) $(typelib_DATA)
|
||||||
subdir = lib
|
subdir = lib
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
|
am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
|
||||||
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.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/intlmacosx.m4 \
|
||||||
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
|
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
|
||||||
@@ -223,8 +224,6 @@ am__define_uniq_tagged_files = \
|
|||||||
unique=`for i in $$list; do \
|
unique=`for i in $$list; do \
|
||||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
done | $(am__uniquify_input)`
|
done | $(am__uniquify_input)`
|
||||||
ETAGS = etags
|
|
||||||
CTAGS = ctags
|
|
||||||
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
|
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
@@ -244,6 +243,8 @@ CCDEPMODE = @CCDEPMODE@
|
|||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CSCOPE = @CSCOPE@
|
||||||
|
CTAGS = @CTAGS@
|
||||||
CYGPATH_W = @CYGPATH_W@
|
CYGPATH_W = @CYGPATH_W@
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
@@ -255,8 +256,10 @@ ECHO_C = @ECHO_C@
|
|||||||
ECHO_N = @ECHO_N@
|
ECHO_N = @ECHO_N@
|
||||||
ECHO_T = @ECHO_T@
|
ECHO_T = @ECHO_T@
|
||||||
EGREP = @EGREP@
|
EGREP = @EGREP@
|
||||||
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||||
@@ -307,6 +310,7 @@ LIBS = @LIBS@
|
|||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LIPO = @LIPO@
|
LIPO = @LIPO@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
|
LSBLK = @LSBLK@
|
||||||
LTLIBICONV = @LTLIBICONV@
|
LTLIBICONV = @LTLIBICONV@
|
||||||
LTLIBINTL = @LTLIBINTL@
|
LTLIBINTL = @LTLIBINTL@
|
||||||
LTLIBOBJS = @LTLIBOBJS@
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
@@ -316,8 +320,8 @@ MAKEINFO = @MAKEINFO@
|
|||||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||||
MKDIR_P = @MKDIR_P@
|
MKDIR_P = @MKDIR_P@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
MSGFMT_015 = @MSGFMT_015@
|
|
||||||
MSGMERGE = @MSGMERGE@
|
MSGMERGE = @MSGMERGE@
|
||||||
|
MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
|
||||||
NM = @NM@
|
NM = @NM@
|
||||||
NMEDIT = @NMEDIT@
|
NMEDIT = @NMEDIT@
|
||||||
OBJDUMP = @OBJDUMP@
|
OBJDUMP = @OBJDUMP@
|
||||||
@@ -342,6 +346,7 @@ SED = @SED@
|
|||||||
SET_MAKE = @SET_MAKE@
|
SET_MAKE = @SET_MAKE@
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
STRIP = @STRIP@
|
STRIP = @STRIP@
|
||||||
|
TR = @TR@
|
||||||
USE_NLS = @USE_NLS@
|
USE_NLS = @USE_NLS@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
XGETTEXT = @XGETTEXT@
|
XGETTEXT = @XGETTEXT@
|
||||||
@@ -394,6 +399,8 @@ libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
|
|||||||
libgtop_top_builddir = @libgtop_top_builddir@
|
libgtop_top_builddir = @libgtop_top_builddir@
|
||||||
libs_xauth = @libs_xauth@
|
libs_xauth = @libs_xauth@
|
||||||
localedir = @localedir@
|
localedir = @localedir@
|
||||||
|
localedir_c = @localedir_c@
|
||||||
|
localedir_c_make = @localedir_c_make@
|
||||||
localstatedir = @localstatedir@
|
localstatedir = @localstatedir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
mkdir_p = @mkdir_p@
|
mkdir_p = @mkdir_p@
|
||||||
@@ -402,6 +409,7 @@ pdfdir = @pdfdir@
|
|||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
program_transform_name = @program_transform_name@
|
program_transform_name = @program_transform_name@
|
||||||
psdir = @psdir@
|
psdir = @psdir@
|
||||||
|
runstatedir = @runstatedir@
|
||||||
sbindir = @sbindir@
|
sbindir = @sbindir@
|
||||||
server_programs = @server_programs@
|
server_programs = @server_programs@
|
||||||
sharedstatedir = @sharedstatedir@
|
sharedstatedir = @sharedstatedir@
|
||||||
@@ -429,7 +437,7 @@ INTROSPECTION_COMPILER_ARGS =
|
|||||||
@HAVE_INTROSPECTION_TRUE@introspection_sources = $(libgtop_2_0_la_SOURCES) lib.c ../glibtop.h ../libgtopconfig.h \
|
@HAVE_INTROSPECTION_TRUE@introspection_sources = $(libgtop_2_0_la_SOURCES) lib.c ../glibtop.h ../libgtopconfig.h \
|
||||||
@HAVE_INTROSPECTION_TRUE@ ../include/glibtop/close.h ../include/glibtop/loadavg.h ../include/glibtop/prockernel.h ../include/glibtop/procstate.h \
|
@HAVE_INTROSPECTION_TRUE@ ../include/glibtop/close.h ../include/glibtop/loadavg.h ../include/glibtop/prockernel.h ../include/glibtop/procstate.h \
|
||||||
@HAVE_INTROSPECTION_TRUE@ ../include/glibtop/sem_limits.h ../include/glibtop/uptime.h ../include/glibtop/command.h ../include/glibtop/mem.h ../include/glibtop/proclist.h \
|
@HAVE_INTROSPECTION_TRUE@ ../include/glibtop/sem_limits.h ../include/glibtop/uptime.h ../include/glibtop/command.h ../include/glibtop/mem.h ../include/glibtop/proclist.h \
|
||||||
@HAVE_INTROSPECTION_TRUE@ ../include/glibtop/proctime.h ../include/glibtop/shm_limits.h ../include/glibtop/cpu.h ../include/glibtop/msg_limits.h \
|
@HAVE_INTROSPECTION_TRUE@ ../include/glibtop/proctime.h ../include/glibtop/shm_limits.h ../include/glibtop/cpu.h ../include/glibtop/disk.h ../include/glibtop/msg_limits.h \
|
||||||
@HAVE_INTROSPECTION_TRUE@ ../include/glibtop/procmem.h ../include/glibtop/procuid.h ../include/glibtop/swap.h \
|
@HAVE_INTROSPECTION_TRUE@ ../include/glibtop/procmem.h ../include/glibtop/procuid.h ../include/glibtop/swap.h \
|
||||||
@HAVE_INTROSPECTION_TRUE@ ../include/glibtop/procsegment.h ../include/glibtop/sysdeps.h ../include/glibtop/global.h \
|
@HAVE_INTROSPECTION_TRUE@ ../include/glibtop/procsegment.h ../include/glibtop/sysdeps.h ../include/glibtop/global.h \
|
||||||
@HAVE_INTROSPECTION_TRUE@ ../include/glibtop/procsignal.h ../include/glibtop/union.h ../include/glibtop/gnuserv.h \
|
@HAVE_INTROSPECTION_TRUE@ ../include/glibtop/procsignal.h ../include/glibtop/union.h ../include/glibtop/gnuserv.h \
|
||||||
@@ -663,7 +671,6 @@ cscopelist-am: $(am__tagged_files)
|
|||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
|
|
||||||
distdir: $(BUILT_SOURCES)
|
distdir: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
||||||
|
|
||||||
@@ -707,7 +714,8 @@ installdirs:
|
|||||||
done
|
done
|
||||||
install: $(BUILT_SOURCES)
|
install: $(BUILT_SOURCES)
|
||||||
$(MAKE) $(AM_MAKEFLAGS) install-am
|
$(MAKE) $(AM_MAKEFLAGS) install-am
|
||||||
install-exec: install-exec-am
|
install-exec: $(BUILT_SOURCES)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
uninstall: uninstall-am
|
uninstall: uninstall-am
|
||||||
|
|
||||||
@@ -830,7 +838,7 @@ ps-am:
|
|||||||
uninstall-am: uninstall-girDATA uninstall-libLTLIBRARIES \
|
uninstall-am: uninstall-girDATA uninstall-libLTLIBRARIES \
|
||||||
uninstall-typelibDATA
|
uninstall-typelibDATA
|
||||||
|
|
||||||
.MAKE: all check install install-am install-strip
|
.MAKE: all check install install-am install-exec install-strip
|
||||||
|
|
||||||
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
|
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
|
||||||
clean-generic clean-libLTLIBRARIES clean-libtool cscopelist-am \
|
clean-generic clean-libLTLIBRARIES clean-libtool cscopelist-am \
|
||||||
|
@@ -43,6 +43,7 @@ glibtop_call_l (glibtop *server, unsigned command, size_t send_size,
|
|||||||
CHECK_CMND(GLIBTOP_CMND_QUIT);
|
CHECK_CMND(GLIBTOP_CMND_QUIT);
|
||||||
CHECK_CMND(GLIBTOP_CMND_SYSDEPS);
|
CHECK_CMND(GLIBTOP_CMND_SYSDEPS);
|
||||||
CHECK_CMND(GLIBTOP_CMND_CPU);
|
CHECK_CMND(GLIBTOP_CMND_CPU);
|
||||||
|
CHECK_CMND(GLIBTOP_CMND_DISK);
|
||||||
CHECK_CMND(GLIBTOP_CMND_MEM);
|
CHECK_CMND(GLIBTOP_CMND_MEM);
|
||||||
CHECK_CMND(GLIBTOP_CMND_SWAP);
|
CHECK_CMND(GLIBTOP_CMND_SWAP);
|
||||||
CHECK_CMND(GLIBTOP_CMND_UPTIME);
|
CHECK_CMND(GLIBTOP_CMND_UPTIME);
|
||||||
|
33
lib/lib.c
33
lib/lib.c
@@ -80,6 +80,39 @@ glibtop_get_cpu_l (glibtop *server, glibtop_cpu *buf)
|
|||||||
&server->required.cpu);
|
&server->required.cpu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
glibtop_get_disk_l (glibtop *server, glibtop_disk *buf)
|
||||||
|
{
|
||||||
|
glibtop_init_r (&server, (1 << GLIBTOP_SYSDEPS_DISK), 0);
|
||||||
|
|
||||||
|
/* If neccessary, we ask the server for the requested
|
||||||
|
* feature. If not, we call the sysdeps function. */
|
||||||
|
|
||||||
|
if ((server->flags & _GLIBTOP_INIT_STATE_SERVER) &&
|
||||||
|
(server->features & (1 << GLIBTOP_SYSDEPS_DISK)))
|
||||||
|
{
|
||||||
|
const void *send_ptr = NULL;
|
||||||
|
const size_t send_size = 0;
|
||||||
|
|
||||||
|
glibtop_call_l (server, GLIBTOP_CMND_DISK,
|
||||||
|
send_size, send_ptr,
|
||||||
|
sizeof (glibtop_disk), buf);
|
||||||
|
} else {
|
||||||
|
#if (!GLIBTOP_SUID_DISK)
|
||||||
|
glibtop_get_disk_s (server, buf);
|
||||||
|
#else
|
||||||
|
errno = ENOSYS;
|
||||||
|
glibtop_error_io_r (server, "glibtop_get_disk");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Make sure that all required fields are present. */
|
||||||
|
|
||||||
|
if (buf->flags & server->required.disk)
|
||||||
|
_glibtop_missing_feature (server, "disk", buf->flags,
|
||||||
|
&server->required.disk);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
glibtop_get_mem_l (glibtop *server, glibtop_mem *buf)
|
glibtop_get_mem_l (glibtop *server, glibtop_mem *buf)
|
||||||
{
|
{
|
||||||
|
@@ -3,6 +3,8 @@ glibtop_close
|
|||||||
glibtop_close_r
|
glibtop_close_r
|
||||||
glibtop_get_cpu
|
glibtop_get_cpu
|
||||||
glibtop_get_cpu_l
|
glibtop_get_cpu_l
|
||||||
|
glibtop_get_disk
|
||||||
|
glibtop_get_disk_l
|
||||||
glibtop_get_fsusage
|
glibtop_get_fsusage
|
||||||
glibtop_get_fsusage_l
|
glibtop_get_fsusage_l
|
||||||
glibtop_get_loadavg
|
glibtop_get_loadavg
|
||||||
|
@@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
const unsigned long glibtop_server_features =
|
const unsigned long glibtop_server_features =
|
||||||
GLIBTOP_SUID_CPU +
|
GLIBTOP_SUID_CPU +
|
||||||
|
GLIBTOP_SUID_DISK +
|
||||||
GLIBTOP_SUID_MEM +
|
GLIBTOP_SUID_MEM +
|
||||||
GLIBTOP_SUID_SWAP +
|
GLIBTOP_SUID_SWAP +
|
||||||
GLIBTOP_SUID_UPTIME +
|
GLIBTOP_SUID_UPTIME +
|
||||||
@@ -56,6 +57,9 @@ const _glibtop_init_func_t _glibtop_init_hook_s [] = {
|
|||||||
#if !GLIBTOP_SUID_CPU
|
#if !GLIBTOP_SUID_CPU
|
||||||
_glibtop_init_cpu_s,
|
_glibtop_init_cpu_s,
|
||||||
#endif
|
#endif
|
||||||
|
#if !GLIBTOP_SUID_DISK
|
||||||
|
_glibtop_init_disk_s,
|
||||||
|
#endif
|
||||||
#if !GLIBTOP_SUID_MEM
|
#if !GLIBTOP_SUID_MEM
|
||||||
_glibtop_init_mem_s,
|
_glibtop_init_mem_s,
|
||||||
#endif
|
#endif
|
||||||
@@ -135,6 +139,9 @@ const _glibtop_init_func_t _glibtop_init_hook_p [] = {
|
|||||||
#if GLIBTOP_SUID_CPU
|
#if GLIBTOP_SUID_CPU
|
||||||
_glibtop_init_cpu_p,
|
_glibtop_init_cpu_p,
|
||||||
#endif
|
#endif
|
||||||
|
#if GLIBTOP_SUID_DISK
|
||||||
|
_glibtop_init_disk_p,
|
||||||
|
#endif
|
||||||
#if GLIBTOP_SUID_MEM
|
#if GLIBTOP_SUID_MEM
|
||||||
_glibtop_init_mem_p,
|
_glibtop_init_mem_p,
|
||||||
#endif
|
#endif
|
||||||
|
@@ -36,43 +36,43 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
|
|||||||
libgtop_need_server=yes
|
libgtop_need_server=yes
|
||||||
libgtop_sysdeps_private_mountlist=yes
|
libgtop_sysdeps_private_mountlist=yes
|
||||||
libgtop_sysdeps_private_fsusage=yes
|
libgtop_sysdeps_private_fsusage=yes
|
||||||
libgtop_postinstall='chown root $(bindir)/libgtop_server2 && chmod 4755 $(bindir)/libgtop_server2'
|
libgtop_postinstall='chown root $(DESTDIR)$(libexecdir)/libgtop_server2 && chmod 4755 $(DESTDIR)$(libexecdir)/libgtop_server2'
|
||||||
;;
|
;;
|
||||||
netbsd*|bsdi*)
|
netbsd*|bsdi*)
|
||||||
libgtop_sysdeps_dir=bsd
|
libgtop_sysdeps_dir=bsd
|
||||||
libgtop_need_server=yes
|
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*)
|
openbsd*)
|
||||||
libgtop_sysdeps_dir=openbsd
|
libgtop_sysdeps_dir=openbsd
|
||||||
libgtop_need_server=yes
|
libgtop_need_server=yes
|
||||||
libgtop_sysdeps_private_mountlist=yes
|
libgtop_sysdeps_private_mountlist=yes
|
||||||
libgtop_sysdeps_private_fsusage=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 2555 $(DESTDIR)$(libexecdir)/libgtop_server2'
|
||||||
;;
|
;;
|
||||||
freebsd*|kfreebsd*)
|
freebsd*|kfreebsd*)
|
||||||
libgtop_sysdeps_dir=freebsd
|
libgtop_sysdeps_dir=freebsd
|
||||||
libgtop_need_server=yes
|
libgtop_need_server=yes
|
||||||
libgtop_sysdeps_private_mountlist=yes
|
libgtop_sysdeps_private_mountlist=yes
|
||||||
libgtop_sysdeps_private_fsusage=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*)
|
solaris*)
|
||||||
libgtop_sysdeps_dir=solaris
|
libgtop_sysdeps_dir=solaris
|
||||||
libgtop_need_server=yes
|
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*)
|
aix*)
|
||||||
libgtop_sysdeps_dir=aix
|
libgtop_sysdeps_dir=aix
|
||||||
libgtop_need_server=yes
|
libgtop_need_server=yes
|
||||||
libgtop_have_sysinfo=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*)
|
darwin*)
|
||||||
libgtop_sysdeps_dir=darwin
|
libgtop_sysdeps_dir=darwin
|
||||||
libgtop_need_server=yes
|
libgtop_need_server=yes
|
||||||
libgtop_have_sysinfo=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*)
|
cygwin*)
|
||||||
libgtop_sysdeps_dir=cygwin
|
libgtop_sysdeps_dir=cygwin
|
||||||
@@ -118,6 +118,9 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
|
|||||||
AC_CHECK_LIB(kvm, kvm_open, KVM_LIBS=-lkvm, KVM_LIBS=)
|
AC_CHECK_LIB(kvm, kvm_open, KVM_LIBS=-lkvm, KVM_LIBS=)
|
||||||
AC_SUBST(KVM_LIBS)
|
AC_SUBST(KVM_LIBS)
|
||||||
|
|
||||||
|
AC_CHECK_LIB(util, kinfo_getfile)
|
||||||
|
AC_CHECK_FUNCS(kinfo_getfile)
|
||||||
|
|
||||||
AC_CHECK_HEADERS(net/if_var.h,,, [
|
AC_CHECK_HEADERS(net/if_var.h,,, [
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
@@ -6,8 +6,9 @@
|
|||||||
|
|
||||||
<name xml:lang="en">libgtop</name>
|
<name xml:lang="en">libgtop</name>
|
||||||
<shortdesc xml:lang="en">LibGTop2</shortdesc>
|
<shortdesc xml:lang="en">LibGTop2</shortdesc>
|
||||||
|
<description xml:lang="en">A library for collecting system monitoring data</description>
|
||||||
<download-page rdf:resource="http://download.gnome.org/sources/libgtop/" />
|
<download-page rdf:resource="http://download.gnome.org/sources/libgtop/" />
|
||||||
<bug-database rdf:resource="http://bugzilla.gnome.org/browse.cgi?product=libgtop" />
|
<bug-database rdf:resource="https://gitlab.gnome.org/GNOME/libgtop/issues/" />
|
||||||
<category rdf:resource="http://api.gnome.org/doap-extensions#core" />
|
<category rdf:resource="http://api.gnome.org/doap-extensions#core" />
|
||||||
<programming-language>C</programming-language>
|
<programming-language>C</programming-language>
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
# Note that this is NOT a relocatable package
|
# Note that this is NOT a relocatable package
|
||||||
%define ver 2.40.0
|
%define ver 2.41.2
|
||||||
%define RELEASE SNAP
|
%define RELEASE SNAP
|
||||||
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
|
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
|
||||||
%define prefix /usr
|
%define prefix /usr
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
#define LIBGTOPCONFIG_H
|
#define LIBGTOPCONFIG_H
|
||||||
|
|
||||||
#define LIBGTOP_MAJOR_VERSION 2
|
#define LIBGTOP_MAJOR_VERSION 2
|
||||||
#define LIBGTOP_MINOR_VERSION 40
|
#define LIBGTOP_MINOR_VERSION 41
|
||||||
#define LIBGTOP_MICRO_VERSION 0
|
#define LIBGTOP_MICRO_VERSION 2
|
||||||
|
|
||||||
#endif /* LIBGTOPCONFIG_H */
|
#endif /* LIBGTOPCONFIG_H */
|
||||||
|
73
m4/build-to-host.m4
Normal file
73
m4/build-to-host.m4
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
# build-to-host.m4 serial 1
|
||||||
|
dnl Copyright (C) 2023 Free Software Foundation, Inc.
|
||||||
|
dnl This file is free software; the Free Software Foundation
|
||||||
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
dnl Written by Bruno Haible.
|
||||||
|
|
||||||
|
dnl When the build environment ($build_os) is different from the target runtime
|
||||||
|
dnl environment ($host_os), file names may need to be converted from the build
|
||||||
|
dnl environment syntax to the target runtime environment syntax. This is
|
||||||
|
dnl because the Makefiles are executed (mostly) by build environment tools and
|
||||||
|
dnl therefore expect file names in build environment syntax, whereas the runtime
|
||||||
|
dnl expects file names in target runtime environment syntax.
|
||||||
|
dnl
|
||||||
|
dnl For example, if $build_os = cygwin and $host_os = mingw32, filenames need
|
||||||
|
dnl be converted from Cygwin syntax to native Windows syntax:
|
||||||
|
dnl /cygdrive/c/foo/bar -> C:\foo\bar
|
||||||
|
dnl /usr/local/share -> C:\cygwin64\usr\local\share
|
||||||
|
dnl
|
||||||
|
dnl gl_BUILD_TO_HOST([somedir])
|
||||||
|
dnl This macro takes as input an AC_SUBSTed variable 'somedir', which must
|
||||||
|
dnl already have its final value assigned, and produces two additional
|
||||||
|
dnl AC_SUBSTed variables 'somedir_c' and 'somedir_c_make', that designate the
|
||||||
|
dnl same file name value, just in different syntax:
|
||||||
|
dnl - somedir_c is the file name in target runtime environment syntax,
|
||||||
|
dnl as a C string (starting and ending with a double-quote,
|
||||||
|
dnl and with escaped backslashes and double-quotes in
|
||||||
|
dnl between).
|
||||||
|
dnl - somedir_c_make is the same thing, escaped for use in a Makefile.
|
||||||
|
|
||||||
|
AC_DEFUN([gl_BUILD_TO_HOST],
|
||||||
|
[
|
||||||
|
AC_REQUIRE([AC_CANONICAL_BUILD])
|
||||||
|
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||||
|
AC_REQUIRE([gl_BUILD_TO_HOST_INIT])
|
||||||
|
|
||||||
|
dnl Define somedir_c.
|
||||||
|
gl_final_[$1]="$[$1]"
|
||||||
|
dnl Translate it from build syntax to host syntax.
|
||||||
|
case "$build_os" in
|
||||||
|
cygwin*)
|
||||||
|
case "$host_os" in
|
||||||
|
mingw*)
|
||||||
|
gl_final_[$1]=`cygpath -w "$gl_final_[$1]"` ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
dnl Convert it to C string syntax.
|
||||||
|
[$1]_c=`echo "$gl_final_[$1]" | sed -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes"`
|
||||||
|
[$1]_c='"'"$[$1]_c"'"'
|
||||||
|
AC_SUBST([$1_c])
|
||||||
|
|
||||||
|
dnl Define somedir_c_make.
|
||||||
|
[$1]_c_make=`echo "$[$1]_c" | sed -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2"`
|
||||||
|
dnl Use the substituted somedir variable, when possible, so that the user
|
||||||
|
dnl may adjust somedir a posteriori when there are no special characters.
|
||||||
|
if test "$[$1]_c_make" = '\"'"${gl_final_[$1]}"'\"'; then
|
||||||
|
[$1]_c_make='\"$([$1])\"'
|
||||||
|
fi
|
||||||
|
AC_SUBST([$1_c_make])
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl Some initializations for gl_BUILD_TO_HOST.
|
||||||
|
AC_DEFUN([gl_BUILD_TO_HOST_INIT],
|
||||||
|
[
|
||||||
|
gl_sed_double_backslashes='s/\\/\\\\/g'
|
||||||
|
gl_sed_escape_doublequotes='s/"/\\"/g'
|
||||||
|
changequote(,)dnl
|
||||||
|
gl_sed_escape_for_make_1="s,\\([ \"&'();<>\\\\\`|]\\),\\\\\\1,g"
|
||||||
|
changequote([,])dnl
|
||||||
|
gl_sed_escape_for_make_2='s,\$,\\$$,g'
|
||||||
|
])
|
163
m4/gettext.m4
163
m4/gettext.m4
@@ -1,16 +1,16 @@
|
|||||||
# gettext.m4 serial 66 (gettext-0.18.2)
|
# gettext.m4 serial 77 (gettext-0.22)
|
||||||
dnl Copyright (C) 1995-2014 Free Software Foundation, Inc.
|
dnl Copyright (C) 1995-2014, 2016, 2018-2023 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
dnl
|
dnl
|
||||||
dnl This file can can be used in projects which are not available under
|
dnl This file can be used in projects which are not available under
|
||||||
dnl the GNU General Public License or the GNU Library General Public
|
dnl the GNU General Public License or the GNU Lesser General Public
|
||||||
dnl License but which still want to provide support for the GNU gettext
|
dnl License but which still want to provide support for the GNU gettext
|
||||||
dnl functionality.
|
dnl functionality.
|
||||||
dnl Please note that the actual code of the GNU gettext library is covered
|
dnl Please note that the actual code of the GNU gettext library is covered
|
||||||
dnl by the GNU Library General Public License, and the rest of the GNU
|
dnl by the GNU Lesser General Public License, and the rest of the GNU
|
||||||
dnl gettext package package is covered by the GNU General Public License.
|
dnl gettext package is covered by the GNU General Public License.
|
||||||
dnl They are *not* in the public domain.
|
dnl They are *not* in the public domain.
|
||||||
|
|
||||||
dnl Authors:
|
dnl Authors:
|
||||||
@@ -20,15 +20,15 @@ dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006, 2008-2010.
|
|||||||
dnl Macro to add for using GNU gettext.
|
dnl Macro to add for using GNU gettext.
|
||||||
|
|
||||||
dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
|
dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
|
||||||
dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
|
dnl INTLSYMBOL must be one of 'external', 'use-libtool', 'here'.
|
||||||
dnl default (if it is not specified or empty) is 'no-libtool'.
|
dnl INTLSYMBOL should be 'external' for packages other than GNU gettext.
|
||||||
dnl INTLSYMBOL should be 'external' for packages with no intl directory,
|
dnl It should be 'use-libtool' for the packages 'gettext-runtime' and
|
||||||
dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
|
dnl 'gettext-tools'.
|
||||||
dnl If INTLSYMBOL is 'use-libtool', then a libtool library
|
dnl It should be 'here' for the package 'gettext-runtime/intl'.
|
||||||
dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
|
dnl If INTLSYMBOL is 'here', then a libtool library
|
||||||
|
dnl $(top_builddir)/libintl.la will be created (shared and/or static,
|
||||||
dnl depending on --{enable,disable}-{shared,static} and on the presence of
|
dnl depending on --{enable,disable}-{shared,static} and on the presence of
|
||||||
dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
|
dnl AM-DISABLE-SHARED).
|
||||||
dnl $(top_builddir)/intl/libintl.a will be created.
|
|
||||||
dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
|
dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
|
||||||
dnl implementations (in libc or libintl) without the ngettext() function
|
dnl implementations (in libc or libintl) without the ngettext() function
|
||||||
dnl will be ignored. If NEEDSYMBOL is specified and is
|
dnl will be ignored. If NEEDSYMBOL is specified and is
|
||||||
@@ -57,26 +57,21 @@ dnl
|
|||||||
AC_DEFUN([AM_GNU_GETTEXT],
|
AC_DEFUN([AM_GNU_GETTEXT],
|
||||||
[
|
[
|
||||||
dnl Argument checking.
|
dnl Argument checking.
|
||||||
ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
|
m4_if([$1], [], , [m4_if([$1], [external], , [m4_if([$1], [use-libtool], , [m4_if([$1], [here], ,
|
||||||
[errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
|
[errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
|
||||||
])])])])])
|
])])])])])
|
||||||
ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old],
|
m4_if(m4_if([$1], [], [old])[]m4_if([$1], [no-libtool], [old]), [old],
|
||||||
[AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])])
|
[errprint([ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported.
|
||||||
ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
|
])])
|
||||||
|
m4_if([$2], [], , [m4_if([$2], [need-ngettext], , [m4_if([$2], [need-formatstring-macros], ,
|
||||||
[errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
|
[errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
|
||||||
])])])])
|
])])])])
|
||||||
define([gt_included_intl],
|
define([gt_building_libintl_in_same_build_tree],
|
||||||
ifelse([$1], [external],
|
m4_if([$1], [use-libtool], [yes], [m4_if([$1], [here], [yes], [no])]))
|
||||||
ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]),
|
|
||||||
[yes]))
|
|
||||||
define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
|
|
||||||
gt_NEEDS_INIT
|
gt_NEEDS_INIT
|
||||||
AM_GNU_GETTEXT_NEED([$2])
|
AM_GNU_GETTEXT_NEED([$2])
|
||||||
|
|
||||||
AC_REQUIRE([AM_PO_SUBDIRS])dnl
|
AC_REQUIRE([AM_PO_SUBDIRS])dnl
|
||||||
ifelse(gt_included_intl, yes, [
|
|
||||||
AC_REQUIRE([AM_INTL_SUBDIR])dnl
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
|
dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
|
||||||
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
|
||||||
@@ -86,14 +81,13 @@ AC_DEFUN([AM_GNU_GETTEXT],
|
|||||||
dnl Ideally we would do this search only after the
|
dnl Ideally we would do this search only after the
|
||||||
dnl if test "$USE_NLS" = "yes"; then
|
dnl if test "$USE_NLS" = "yes"; then
|
||||||
dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
|
dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
|
||||||
dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
|
dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT
|
||||||
dnl the configure script would need to contain the same shell code
|
dnl the configure script would need to contain the same shell code
|
||||||
dnl again, outside any 'if'. There are two solutions:
|
dnl again, outside any 'if'. There are two solutions:
|
||||||
dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
|
dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
|
||||||
dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
|
dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
|
||||||
dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
|
dnl Since AC_PROVIDE_IFELSE is not documented, we avoid it.
|
||||||
dnl documented, we avoid it.
|
m4_if(gt_building_libintl_in_same_build_tree, yes, , [
|
||||||
ifelse(gt_included_intl, yes, , [
|
|
||||||
AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
|
AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
|
||||||
])
|
])
|
||||||
|
|
||||||
@@ -103,8 +97,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
|
|||||||
dnl Set USE_NLS.
|
dnl Set USE_NLS.
|
||||||
AC_REQUIRE([AM_NLS])
|
AC_REQUIRE([AM_NLS])
|
||||||
|
|
||||||
ifelse(gt_included_intl, yes, [
|
m4_if(gt_building_libintl_in_same_build_tree, yes, [
|
||||||
BUILD_INCLUDED_LIBINTL=no
|
|
||||||
USE_INCLUDED_LIBINTL=no
|
USE_INCLUDED_LIBINTL=no
|
||||||
])
|
])
|
||||||
LIBINTL=
|
LIBINTL=
|
||||||
@@ -123,7 +116,7 @@ AC_DEFUN([AM_GNU_GETTEXT],
|
|||||||
dnl If we use NLS figure out what method
|
dnl If we use NLS figure out what method
|
||||||
if test "$USE_NLS" = "yes"; then
|
if test "$USE_NLS" = "yes"; then
|
||||||
gt_use_preinstalled_gnugettext=no
|
gt_use_preinstalled_gnugettext=no
|
||||||
ifelse(gt_included_intl, yes, [
|
m4_if(gt_building_libintl_in_same_build_tree, yes, [
|
||||||
AC_MSG_CHECKING([whether included gettext is requested])
|
AC_MSG_CHECKING([whether included gettext is requested])
|
||||||
AC_ARG_WITH([included-gettext],
|
AC_ARG_WITH([included-gettext],
|
||||||
[ --with-included-gettext use the GNU gettext library included here],
|
[ --with-included-gettext use the GNU gettext library included here],
|
||||||
@@ -161,20 +154,25 @@ changequote([,])dnl
|
|||||||
[AC_LANG_PROGRAM(
|
[AC_LANG_PROGRAM(
|
||||||
[[
|
[[
|
||||||
#include <libintl.h>
|
#include <libintl.h>
|
||||||
$gt_revision_test_code
|
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
|
||||||
extern int _nl_msg_cat_cntr;
|
extern int _nl_msg_cat_cntr;
|
||||||
extern int *_nl_domain_bindings;
|
extern int *_nl_domain_bindings;
|
||||||
|
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
|
||||||
|
#else
|
||||||
|
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
|
||||||
|
#endif
|
||||||
|
$gt_revision_test_code
|
||||||
]],
|
]],
|
||||||
[[
|
[[
|
||||||
bindtextdomain ("", "");
|
bindtextdomain ("", "");
|
||||||
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
|
return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
|
||||||
]])],
|
]])],
|
||||||
[eval "$gt_func_gnugettext_libc=yes"],
|
[eval "$gt_func_gnugettext_libc=yes"],
|
||||||
[eval "$gt_func_gnugettext_libc=no"])])
|
[eval "$gt_func_gnugettext_libc=no"])])
|
||||||
|
|
||||||
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
|
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
|
||||||
dnl Sometimes libintl requires libiconv, so first search for libiconv.
|
dnl Sometimes libintl requires libiconv, so first search for libiconv.
|
||||||
ifelse(gt_included_intl, yes, , [
|
m4_if(gt_building_libintl_in_same_build_tree, yes, , [
|
||||||
AM_ICONV_LINK
|
AM_ICONV_LINK
|
||||||
])
|
])
|
||||||
dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
|
dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
|
||||||
@@ -193,17 +191,22 @@ return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_b
|
|||||||
[AC_LANG_PROGRAM(
|
[AC_LANG_PROGRAM(
|
||||||
[[
|
[[
|
||||||
#include <libintl.h>
|
#include <libintl.h>
|
||||||
$gt_revision_test_code
|
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
|
||||||
extern int _nl_msg_cat_cntr;
|
extern int _nl_msg_cat_cntr;
|
||||||
extern
|
extern
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
"C"
|
"C"
|
||||||
#endif
|
#endif
|
||||||
const char *_nl_expand_alias (const char *);
|
const char *_nl_expand_alias (const char *);
|
||||||
|
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
|
||||||
|
#else
|
||||||
|
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
|
||||||
|
#endif
|
||||||
|
$gt_revision_test_code
|
||||||
]],
|
]],
|
||||||
[[
|
[[
|
||||||
bindtextdomain ("", "");
|
bindtextdomain ("", "");
|
||||||
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
|
return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
|
||||||
]])],
|
]])],
|
||||||
[eval "$gt_func_gnugettext_libintl=yes"],
|
[eval "$gt_func_gnugettext_libintl=yes"],
|
||||||
[eval "$gt_func_gnugettext_libintl=no"])
|
[eval "$gt_func_gnugettext_libintl=no"])
|
||||||
@@ -214,17 +217,22 @@ return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a
|
|||||||
[AC_LANG_PROGRAM(
|
[AC_LANG_PROGRAM(
|
||||||
[[
|
[[
|
||||||
#include <libintl.h>
|
#include <libintl.h>
|
||||||
$gt_revision_test_code
|
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
|
||||||
extern int _nl_msg_cat_cntr;
|
extern int _nl_msg_cat_cntr;
|
||||||
extern
|
extern
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
"C"
|
"C"
|
||||||
#endif
|
#endif
|
||||||
const char *_nl_expand_alias (const char *);
|
const char *_nl_expand_alias (const char *);
|
||||||
|
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
|
||||||
|
#else
|
||||||
|
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
|
||||||
|
#endif
|
||||||
|
$gt_revision_test_code
|
||||||
]],
|
]],
|
||||||
[[
|
[[
|
||||||
bindtextdomain ("", "");
|
bindtextdomain ("", "");
|
||||||
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
|
return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
|
||||||
]])],
|
]])],
|
||||||
[LIBINTL="$LIBINTL $LIBICONV"
|
[LIBINTL="$LIBINTL $LIBICONV"
|
||||||
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
|
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
|
||||||
@@ -242,7 +250,8 @@ return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a
|
|||||||
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
|
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
|
||||||
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
|
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
|
||||||
&& test "$PACKAGE" != gettext-runtime \
|
&& test "$PACKAGE" != gettext-runtime \
|
||||||
&& test "$PACKAGE" != gettext-tools; }; then
|
&& test "$PACKAGE" != gettext-tools \
|
||||||
|
&& test "$PACKAGE" != libintl; }; then
|
||||||
gt_use_preinstalled_gnugettext=yes
|
gt_use_preinstalled_gnugettext=yes
|
||||||
else
|
else
|
||||||
dnl Reset the values set by searching for libintl.
|
dnl Reset the values set by searching for libintl.
|
||||||
@@ -251,7 +260,7 @@ return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a
|
|||||||
INCINTL=
|
INCINTL=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ifelse(gt_included_intl, yes, [
|
m4_if(gt_building_libintl_in_same_build_tree, yes, [
|
||||||
if test "$gt_use_preinstalled_gnugettext" != "yes"; then
|
if test "$gt_use_preinstalled_gnugettext" != "yes"; then
|
||||||
dnl GNU gettext is not found in the C library.
|
dnl GNU gettext is not found in the C library.
|
||||||
dnl Fall back on included GNU gettext library.
|
dnl Fall back on included GNU gettext library.
|
||||||
@@ -261,10 +270,9 @@ return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a
|
|||||||
|
|
||||||
if test "$nls_cv_use_gnu_gettext" = "yes"; then
|
if test "$nls_cv_use_gnu_gettext" = "yes"; then
|
||||||
dnl Mark actions used to generate GNU NLS library.
|
dnl Mark actions used to generate GNU NLS library.
|
||||||
BUILD_INCLUDED_LIBINTL=yes
|
|
||||||
USE_INCLUDED_LIBINTL=yes
|
USE_INCLUDED_LIBINTL=yes
|
||||||
LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
|
LIBINTL="m4_if([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LIBICONV $LIBTHREAD"
|
||||||
LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
|
LTLIBINTL="m4_if([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LTLIBICONV $LTLIBTHREAD"
|
||||||
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
|
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -331,54 +339,39 @@ return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_a
|
|||||||
POSUB=po
|
POSUB=po
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ifelse(gt_included_intl, yes, [
|
m4_if(gt_building_libintl_in_same_build_tree, yes, [
|
||||||
dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
|
|
||||||
dnl to 'yes' because some of the testsuite requires it.
|
|
||||||
if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
|
|
||||||
BUILD_INCLUDED_LIBINTL=yes
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Make all variables we use known to autoconf.
|
dnl Make all variables we use known to autoconf.
|
||||||
AC_SUBST([BUILD_INCLUDED_LIBINTL])
|
|
||||||
AC_SUBST([USE_INCLUDED_LIBINTL])
|
AC_SUBST([USE_INCLUDED_LIBINTL])
|
||||||
AC_SUBST([CATOBJEXT])
|
AC_SUBST([CATOBJEXT])
|
||||||
|
|
||||||
dnl For backward compatibility. Some configure.ins may be using this.
|
|
||||||
nls_cv_header_intl=
|
|
||||||
nls_cv_header_libgt=
|
|
||||||
|
|
||||||
dnl For backward compatibility. Some Makefiles may be using this.
|
|
||||||
DATADIRNAME=share
|
|
||||||
AC_SUBST([DATADIRNAME])
|
|
||||||
|
|
||||||
dnl For backward compatibility. Some Makefiles may be using this.
|
|
||||||
INSTOBJEXT=.mo
|
|
||||||
AC_SUBST([INSTOBJEXT])
|
|
||||||
|
|
||||||
dnl For backward compatibility. Some Makefiles may be using this.
|
|
||||||
GENCAT=gencat
|
|
||||||
AC_SUBST([GENCAT])
|
|
||||||
|
|
||||||
dnl For backward compatibility. Some Makefiles may be using this.
|
|
||||||
INTLOBJS=
|
|
||||||
if test "$USE_INCLUDED_LIBINTL" = yes; then
|
|
||||||
INTLOBJS="\$(GETTOBJS)"
|
|
||||||
fi
|
|
||||||
AC_SUBST([INTLOBJS])
|
|
||||||
|
|
||||||
dnl Enable libtool support if the surrounding package wishes it.
|
|
||||||
INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
|
|
||||||
AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX])
|
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl For backward compatibility. Some Makefiles may be using this.
|
m4_if(gt_building_libintl_in_same_build_tree, yes, [], [
|
||||||
INTLLIBS="$LIBINTL"
|
dnl For backward compatibility. Some Makefiles may be using this.
|
||||||
AC_SUBST([INTLLIBS])
|
INTLLIBS="$LIBINTL"
|
||||||
|
AC_SUBST([INTLLIBS])
|
||||||
|
])
|
||||||
|
|
||||||
dnl Make all documented variables known to autoconf.
|
dnl Make all documented variables known to autoconf.
|
||||||
AC_SUBST([LIBINTL])
|
AC_SUBST([LIBINTL])
|
||||||
AC_SUBST([LTLIBINTL])
|
AC_SUBST([LTLIBINTL])
|
||||||
AC_SUBST([POSUB])
|
AC_SUBST([POSUB])
|
||||||
|
|
||||||
|
dnl Define localedir_c and localedir_c_make.
|
||||||
|
dnl Find the final value of localedir.
|
||||||
|
gt_save_prefix="${prefix}"
|
||||||
|
gt_save_datarootdir="${datarootdir}"
|
||||||
|
gt_save_localedir="${localedir}"
|
||||||
|
dnl Unfortunately, prefix gets only finally determined at the end of
|
||||||
|
dnl configure.
|
||||||
|
if test "X$prefix" = "XNONE"; then
|
||||||
|
prefix="$ac_default_prefix"
|
||||||
|
fi
|
||||||
|
eval datarootdir="$datarootdir"
|
||||||
|
eval localedir="$localedir"
|
||||||
|
gl_BUILD_TO_HOST([localedir])
|
||||||
|
localedir="${gt_save_localedir}"
|
||||||
|
datarootdir="${gt_save_datarootdir}"
|
||||||
|
prefix="${gt_save_prefix}"
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
@@ -399,3 +392,7 @@ AC_DEFUN([AM_GNU_GETTEXT_NEED],
|
|||||||
|
|
||||||
dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
|
dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
|
||||||
AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
|
AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
|
||||||
|
|
||||||
|
|
||||||
|
dnl Usage: AM_GNU_GETTEXT_REQUIRE_VERSION([gettext-version])
|
||||||
|
AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], [])
|
||||||
|
678
m4/host-cpu-c-abi.m4
Normal file
678
m4/host-cpu-c-abi.m4
Normal file
@@ -0,0 +1,678 @@
|
|||||||
|
# host-cpu-c-abi.m4 serial 15
|
||||||
|
dnl Copyright (C) 2002-2022 Free Software Foundation, Inc.
|
||||||
|
dnl This file is free software; the Free Software Foundation
|
||||||
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
dnl From Bruno Haible and Sam Steingold.
|
||||||
|
|
||||||
|
dnl Sets the HOST_CPU variable to the canonical name of the CPU.
|
||||||
|
dnl Sets the HOST_CPU_C_ABI variable to the canonical name of the CPU with its
|
||||||
|
dnl C language ABI (application binary interface).
|
||||||
|
dnl Also defines __${HOST_CPU}__ and __${HOST_CPU_C_ABI}__ as C macros in
|
||||||
|
dnl config.h.
|
||||||
|
dnl
|
||||||
|
dnl This canonical name can be used to select a particular assembly language
|
||||||
|
dnl source file that will interoperate with C code on the given host.
|
||||||
|
dnl
|
||||||
|
dnl For example:
|
||||||
|
dnl * 'i386' and 'sparc' are different canonical names, because code for i386
|
||||||
|
dnl will not run on SPARC CPUs and vice versa. They have different
|
||||||
|
dnl instruction sets.
|
||||||
|
dnl * 'sparc' and 'sparc64' are different canonical names, because code for
|
||||||
|
dnl 'sparc' and code for 'sparc64' cannot be linked together: 'sparc' code
|
||||||
|
dnl contains 32-bit instructions, whereas 'sparc64' code contains 64-bit
|
||||||
|
dnl instructions. A process on a SPARC CPU can be in 32-bit mode or in 64-bit
|
||||||
|
dnl mode, but not both.
|
||||||
|
dnl * 'mips' and 'mipsn32' are different canonical names, because they use
|
||||||
|
dnl different argument passing and return conventions for C functions, and
|
||||||
|
dnl although the instruction set of 'mips' is a large subset of the
|
||||||
|
dnl instruction set of 'mipsn32'.
|
||||||
|
dnl * 'mipsn32' and 'mips64' are different canonical names, because they use
|
||||||
|
dnl different sizes for the C types like 'int' and 'void *', and although
|
||||||
|
dnl the instruction sets of 'mipsn32' and 'mips64' are the same.
|
||||||
|
dnl * The same canonical name is used for different endiannesses. You can
|
||||||
|
dnl determine the endianness through preprocessor symbols:
|
||||||
|
dnl - 'arm': test __ARMEL__.
|
||||||
|
dnl - 'mips', 'mipsn32', 'mips64': test _MIPSEB vs. _MIPSEL.
|
||||||
|
dnl - 'powerpc64': test _BIG_ENDIAN vs. _LITTLE_ENDIAN.
|
||||||
|
dnl * The same name 'i386' is used for CPUs of type i386, i486, i586
|
||||||
|
dnl (Pentium), AMD K7, Pentium II, Pentium IV, etc., because
|
||||||
|
dnl - Instructions that do not exist on all of these CPUs (cmpxchg,
|
||||||
|
dnl MMX, SSE, SSE2, 3DNow! etc.) are not frequently used. If your
|
||||||
|
dnl assembly language source files use such instructions, you will
|
||||||
|
dnl need to make the distinction.
|
||||||
|
dnl - Speed of execution of the common instruction set is reasonable across
|
||||||
|
dnl the entire family of CPUs. If you have assembly language source files
|
||||||
|
dnl that are optimized for particular CPU types (like GNU gmp has), you
|
||||||
|
dnl will need to make the distinction.
|
||||||
|
dnl See <https://en.wikipedia.org/wiki/X86_instruction_listings>.
|
||||||
|
AC_DEFUN([gl_HOST_CPU_C_ABI],
|
||||||
|
[
|
||||||
|
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||||
|
AC_REQUIRE([gl_C_ASM])
|
||||||
|
AC_CACHE_CHECK([host CPU and C ABI], [gl_cv_host_cpu_c_abi],
|
||||||
|
[case "$host_cpu" in
|
||||||
|
|
||||||
|
changequote(,)dnl
|
||||||
|
i[34567]86 )
|
||||||
|
changequote([,])dnl
|
||||||
|
gl_cv_host_cpu_c_abi=i386
|
||||||
|
;;
|
||||||
|
|
||||||
|
x86_64 )
|
||||||
|
# On x86_64 systems, the C compiler may be generating code in one of
|
||||||
|
# these ABIs:
|
||||||
|
# - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
|
||||||
|
# - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
|
||||||
|
# with native Windows (mingw, MSVC).
|
||||||
|
# - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
|
||||||
|
# - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if (defined __x86_64__ || defined __amd64__ \
|
||||||
|
|| defined _M_X64 || defined _M_AMD64)
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __ILP32__ || defined _ILP32
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi=x86_64-x32],
|
||||||
|
[gl_cv_host_cpu_c_abi=x86_64])],
|
||||||
|
[gl_cv_host_cpu_c_abi=i386])
|
||||||
|
;;
|
||||||
|
|
||||||
|
changequote(,)dnl
|
||||||
|
alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] )
|
||||||
|
changequote([,])dnl
|
||||||
|
gl_cv_host_cpu_c_abi=alpha
|
||||||
|
;;
|
||||||
|
|
||||||
|
arm* | aarch64 )
|
||||||
|
# Assume arm with EABI.
|
||||||
|
# On arm64 systems, the C compiler may be generating code in one of
|
||||||
|
# these ABIs:
|
||||||
|
# - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
|
||||||
|
# - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
|
||||||
|
# - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#ifdef __aarch64__
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __ILP32__ || defined _ILP32
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi=arm64-ilp32],
|
||||||
|
[gl_cv_host_cpu_c_abi=arm64])],
|
||||||
|
[# Don't distinguish little-endian and big-endian arm, since they
|
||||||
|
# don't require different machine code for simple operations and
|
||||||
|
# since the user can distinguish them through the preprocessor
|
||||||
|
# defines __ARMEL__ vs. __ARMEB__.
|
||||||
|
# But distinguish arm which passes floating-point arguments and
|
||||||
|
# return values in integer registers (r0, r1, ...) - this is
|
||||||
|
# gcc -mfloat-abi=soft or gcc -mfloat-abi=softfp - from arm which
|
||||||
|
# passes them in float registers (s0, s1, ...) and double registers
|
||||||
|
# (d0, d1, ...) - this is gcc -mfloat-abi=hard. GCC 4.6 or newer
|
||||||
|
# sets the preprocessor defines __ARM_PCS (for the first case) and
|
||||||
|
# __ARM_PCS_VFP (for the second case), but older GCC does not.
|
||||||
|
echo 'double ddd; void func (double dd) { ddd = dd; }' > conftest.c
|
||||||
|
# Look for a reference to the register d0 in the .s file.
|
||||||
|
AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS $gl_c_asm_opt conftest.c) >/dev/null 2>&1
|
||||||
|
if LC_ALL=C grep 'd0,' conftest.$gl_asmext >/dev/null; then
|
||||||
|
gl_cv_host_cpu_c_abi=armhf
|
||||||
|
else
|
||||||
|
gl_cv_host_cpu_c_abi=arm
|
||||||
|
fi
|
||||||
|
rm -f conftest*
|
||||||
|
])
|
||||||
|
;;
|
||||||
|
|
||||||
|
hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
|
||||||
|
# On hppa, the C compiler may be generating 32-bit code or 64-bit
|
||||||
|
# code. In the latter case, it defines _LP64 and __LP64__.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#ifdef __LP64__
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi=hppa64],
|
||||||
|
[gl_cv_host_cpu_c_abi=hppa])
|
||||||
|
;;
|
||||||
|
|
||||||
|
ia64* )
|
||||||
|
# On ia64 on HP-UX, the C compiler may be generating 64-bit code or
|
||||||
|
# 32-bit code. In the latter case, it defines _ILP32.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#ifdef _ILP32
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi=ia64-ilp32],
|
||||||
|
[gl_cv_host_cpu_c_abi=ia64])
|
||||||
|
;;
|
||||||
|
|
||||||
|
mips* )
|
||||||
|
# We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
|
||||||
|
# at 32.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi=mips64],
|
||||||
|
[# In the n32 ABI, _ABIN32 is defined, _ABIO32 is not defined (but
|
||||||
|
# may later get defined by <sgidefs.h>), and _MIPS_SIM == _ABIN32.
|
||||||
|
# In the 32 ABI, _ABIO32 is defined, _ABIN32 is not defined (but
|
||||||
|
# may later get defined by <sgidefs.h>), and _MIPS_SIM == _ABIO32.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if (_MIPS_SIM == _ABIN32)
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi=mipsn32],
|
||||||
|
[gl_cv_host_cpu_c_abi=mips])])
|
||||||
|
;;
|
||||||
|
|
||||||
|
powerpc* )
|
||||||
|
# Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
|
||||||
|
# No need to distinguish them here; the caller may distinguish
|
||||||
|
# them based on the OS.
|
||||||
|
# On powerpc64 systems, the C compiler may still be generating
|
||||||
|
# 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
|
||||||
|
# be generating 64-bit code.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __powerpc64__ || defined __LP64__
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[# On powerpc64, there are two ABIs on Linux: The AIX compatible
|
||||||
|
# one and the ELFv2 one. The latter defines _CALL_ELF=2.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined _CALL_ELF && _CALL_ELF == 2
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi=powerpc64-elfv2],
|
||||||
|
[gl_cv_host_cpu_c_abi=powerpc64])
|
||||||
|
],
|
||||||
|
[gl_cv_host_cpu_c_abi=powerpc])
|
||||||
|
;;
|
||||||
|
|
||||||
|
rs6000 )
|
||||||
|
gl_cv_host_cpu_c_abi=powerpc
|
||||||
|
;;
|
||||||
|
|
||||||
|
riscv32 | riscv64 )
|
||||||
|
# There are 2 architectures (with variants): rv32* and rv64*.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if __riscv_xlen == 64
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[cpu=riscv64],
|
||||||
|
[cpu=riscv32])
|
||||||
|
# There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
|
||||||
|
# Size of 'long' and 'void *':
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __LP64__
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[main_abi=lp64],
|
||||||
|
[main_abi=ilp32])
|
||||||
|
# Float ABIs:
|
||||||
|
# __riscv_float_abi_double:
|
||||||
|
# 'float' and 'double' are passed in floating-point registers.
|
||||||
|
# __riscv_float_abi_single:
|
||||||
|
# 'float' are passed in floating-point registers.
|
||||||
|
# __riscv_float_abi_soft:
|
||||||
|
# No values are passed in floating-point registers.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __riscv_float_abi_double
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[float_abi=d],
|
||||||
|
[AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __riscv_float_abi_single
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[float_abi=f],
|
||||||
|
[float_abi=''])
|
||||||
|
])
|
||||||
|
gl_cv_host_cpu_c_abi="${cpu}-${main_abi}${float_abi}"
|
||||||
|
;;
|
||||||
|
|
||||||
|
s390* )
|
||||||
|
# On s390x, the C compiler may be generating 64-bit (= s390x) code
|
||||||
|
# or 31-bit (= s390) code.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __LP64__ || defined __s390x__
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi=s390x],
|
||||||
|
[gl_cv_host_cpu_c_abi=s390])
|
||||||
|
;;
|
||||||
|
|
||||||
|
sparc | sparc64 )
|
||||||
|
# UltraSPARCs running Linux have `uname -m` = "sparc64", but the
|
||||||
|
# C compiler still generates 32-bit code.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __sparcv9 || defined __arch64__
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi=sparc64],
|
||||||
|
[gl_cv_host_cpu_c_abi=sparc])
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
gl_cv_host_cpu_c_abi="$host_cpu"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl In most cases, $HOST_CPU and $HOST_CPU_C_ABI are the same.
|
||||||
|
HOST_CPU=`echo "$gl_cv_host_cpu_c_abi" | sed -e 's/-.*//'`
|
||||||
|
HOST_CPU_C_ABI="$gl_cv_host_cpu_c_abi"
|
||||||
|
AC_SUBST([HOST_CPU])
|
||||||
|
AC_SUBST([HOST_CPU_C_ABI])
|
||||||
|
|
||||||
|
# This was
|
||||||
|
# AC_DEFINE_UNQUOTED([__${HOST_CPU}__])
|
||||||
|
# AC_DEFINE_UNQUOTED([__${HOST_CPU_C_ABI}__])
|
||||||
|
# earlier, but KAI C++ 3.2d doesn't like this.
|
||||||
|
sed -e 's/-/_/g' >> confdefs.h <<EOF
|
||||||
|
#ifndef __${HOST_CPU}__
|
||||||
|
#define __${HOST_CPU}__ 1
|
||||||
|
#endif
|
||||||
|
#ifndef __${HOST_CPU_C_ABI}__
|
||||||
|
#define __${HOST_CPU_C_ABI}__ 1
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
AH_TOP([/* CPU and C ABI indicator */
|
||||||
|
#ifndef __i386__
|
||||||
|
#undef __i386__
|
||||||
|
#endif
|
||||||
|
#ifndef __x86_64_x32__
|
||||||
|
#undef __x86_64_x32__
|
||||||
|
#endif
|
||||||
|
#ifndef __x86_64__
|
||||||
|
#undef __x86_64__
|
||||||
|
#endif
|
||||||
|
#ifndef __alpha__
|
||||||
|
#undef __alpha__
|
||||||
|
#endif
|
||||||
|
#ifndef __arm__
|
||||||
|
#undef __arm__
|
||||||
|
#endif
|
||||||
|
#ifndef __armhf__
|
||||||
|
#undef __armhf__
|
||||||
|
#endif
|
||||||
|
#ifndef __arm64_ilp32__
|
||||||
|
#undef __arm64_ilp32__
|
||||||
|
#endif
|
||||||
|
#ifndef __arm64__
|
||||||
|
#undef __arm64__
|
||||||
|
#endif
|
||||||
|
#ifndef __hppa__
|
||||||
|
#undef __hppa__
|
||||||
|
#endif
|
||||||
|
#ifndef __hppa64__
|
||||||
|
#undef __hppa64__
|
||||||
|
#endif
|
||||||
|
#ifndef __ia64_ilp32__
|
||||||
|
#undef __ia64_ilp32__
|
||||||
|
#endif
|
||||||
|
#ifndef __ia64__
|
||||||
|
#undef __ia64__
|
||||||
|
#endif
|
||||||
|
#ifndef __loongarch64__
|
||||||
|
#undef __loongarch64__
|
||||||
|
#endif
|
||||||
|
#ifndef __m68k__
|
||||||
|
#undef __m68k__
|
||||||
|
#endif
|
||||||
|
#ifndef __mips__
|
||||||
|
#undef __mips__
|
||||||
|
#endif
|
||||||
|
#ifndef __mipsn32__
|
||||||
|
#undef __mipsn32__
|
||||||
|
#endif
|
||||||
|
#ifndef __mips64__
|
||||||
|
#undef __mips64__
|
||||||
|
#endif
|
||||||
|
#ifndef __powerpc__
|
||||||
|
#undef __powerpc__
|
||||||
|
#endif
|
||||||
|
#ifndef __powerpc64__
|
||||||
|
#undef __powerpc64__
|
||||||
|
#endif
|
||||||
|
#ifndef __powerpc64_elfv2__
|
||||||
|
#undef __powerpc64_elfv2__
|
||||||
|
#endif
|
||||||
|
#ifndef __riscv32__
|
||||||
|
#undef __riscv32__
|
||||||
|
#endif
|
||||||
|
#ifndef __riscv64__
|
||||||
|
#undef __riscv64__
|
||||||
|
#endif
|
||||||
|
#ifndef __riscv32_ilp32__
|
||||||
|
#undef __riscv32_ilp32__
|
||||||
|
#endif
|
||||||
|
#ifndef __riscv32_ilp32f__
|
||||||
|
#undef __riscv32_ilp32f__
|
||||||
|
#endif
|
||||||
|
#ifndef __riscv32_ilp32d__
|
||||||
|
#undef __riscv32_ilp32d__
|
||||||
|
#endif
|
||||||
|
#ifndef __riscv64_ilp32__
|
||||||
|
#undef __riscv64_ilp32__
|
||||||
|
#endif
|
||||||
|
#ifndef __riscv64_ilp32f__
|
||||||
|
#undef __riscv64_ilp32f__
|
||||||
|
#endif
|
||||||
|
#ifndef __riscv64_ilp32d__
|
||||||
|
#undef __riscv64_ilp32d__
|
||||||
|
#endif
|
||||||
|
#ifndef __riscv64_lp64__
|
||||||
|
#undef __riscv64_lp64__
|
||||||
|
#endif
|
||||||
|
#ifndef __riscv64_lp64f__
|
||||||
|
#undef __riscv64_lp64f__
|
||||||
|
#endif
|
||||||
|
#ifndef __riscv64_lp64d__
|
||||||
|
#undef __riscv64_lp64d__
|
||||||
|
#endif
|
||||||
|
#ifndef __s390__
|
||||||
|
#undef __s390__
|
||||||
|
#endif
|
||||||
|
#ifndef __s390x__
|
||||||
|
#undef __s390x__
|
||||||
|
#endif
|
||||||
|
#ifndef __sh__
|
||||||
|
#undef __sh__
|
||||||
|
#endif
|
||||||
|
#ifndef __sparc__
|
||||||
|
#undef __sparc__
|
||||||
|
#endif
|
||||||
|
#ifndef __sparc64__
|
||||||
|
#undef __sparc64__
|
||||||
|
#endif
|
||||||
|
])
|
||||||
|
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl Sets the HOST_CPU_C_ABI_32BIT variable to 'yes' if the C language ABI
|
||||||
|
dnl (application binary interface) is a 32-bit one, to 'no' if it is a 64-bit
|
||||||
|
dnl one, or to 'unknown' if unknown.
|
||||||
|
dnl This is a simplified variant of gl_HOST_CPU_C_ABI.
|
||||||
|
AC_DEFUN([gl_HOST_CPU_C_ABI_32BIT],
|
||||||
|
[
|
||||||
|
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||||
|
AC_CACHE_CHECK([32-bit host C ABI], [gl_cv_host_cpu_c_abi_32bit],
|
||||||
|
[if test -n "$gl_cv_host_cpu_c_abi"; then
|
||||||
|
case "$gl_cv_host_cpu_c_abi" in
|
||||||
|
i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
|
||||||
|
gl_cv_host_cpu_c_abi_32bit=yes ;;
|
||||||
|
x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
|
||||||
|
gl_cv_host_cpu_c_abi_32bit=no ;;
|
||||||
|
*)
|
||||||
|
gl_cv_host_cpu_c_abi_32bit=unknown ;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
case "$host_cpu" in
|
||||||
|
|
||||||
|
# CPUs that only support a 32-bit ABI.
|
||||||
|
arc \
|
||||||
|
| bfin \
|
||||||
|
| cris* \
|
||||||
|
| csky \
|
||||||
|
| epiphany \
|
||||||
|
| ft32 \
|
||||||
|
| h8300 \
|
||||||
|
| m68k \
|
||||||
|
| microblaze | microblazeel \
|
||||||
|
| nds32 | nds32le | nds32be \
|
||||||
|
| nios2 | nios2eb | nios2el \
|
||||||
|
| or1k* \
|
||||||
|
| or32 \
|
||||||
|
| sh | sh[1234] | sh[1234]e[lb] \
|
||||||
|
| tic6x \
|
||||||
|
| xtensa* )
|
||||||
|
gl_cv_host_cpu_c_abi_32bit=yes
|
||||||
|
;;
|
||||||
|
|
||||||
|
# CPUs that only support a 64-bit ABI.
|
||||||
|
changequote(,)dnl
|
||||||
|
alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
|
||||||
|
| mmix )
|
||||||
|
changequote([,])dnl
|
||||||
|
gl_cv_host_cpu_c_abi_32bit=no
|
||||||
|
;;
|
||||||
|
|
||||||
|
changequote(,)dnl
|
||||||
|
i[34567]86 )
|
||||||
|
changequote([,])dnl
|
||||||
|
gl_cv_host_cpu_c_abi_32bit=yes
|
||||||
|
;;
|
||||||
|
|
||||||
|
x86_64 )
|
||||||
|
# On x86_64 systems, the C compiler may be generating code in one of
|
||||||
|
# these ABIs:
|
||||||
|
# - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
|
||||||
|
# - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
|
||||||
|
# with native Windows (mingw, MSVC).
|
||||||
|
# - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
|
||||||
|
# - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if (defined __x86_64__ || defined __amd64__ \
|
||||||
|
|| defined _M_X64 || defined _M_AMD64) \
|
||||||
|
&& !(defined __ILP32__ || defined _ILP32)
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=no],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=yes])
|
||||||
|
;;
|
||||||
|
|
||||||
|
arm* | aarch64 )
|
||||||
|
# Assume arm with EABI.
|
||||||
|
# On arm64 systems, the C compiler may be generating code in one of
|
||||||
|
# these ABIs:
|
||||||
|
# - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
|
||||||
|
# - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
|
||||||
|
# - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=no],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=yes])
|
||||||
|
;;
|
||||||
|
|
||||||
|
hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
|
||||||
|
# On hppa, the C compiler may be generating 32-bit code or 64-bit
|
||||||
|
# code. In the latter case, it defines _LP64 and __LP64__.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#ifdef __LP64__
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=no],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=yes])
|
||||||
|
;;
|
||||||
|
|
||||||
|
ia64* )
|
||||||
|
# On ia64 on HP-UX, the C compiler may be generating 64-bit code or
|
||||||
|
# 32-bit code. In the latter case, it defines _ILP32.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#ifdef _ILP32
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=yes],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=no])
|
||||||
|
;;
|
||||||
|
|
||||||
|
mips* )
|
||||||
|
# We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
|
||||||
|
# at 32.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=no],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=yes])
|
||||||
|
;;
|
||||||
|
|
||||||
|
powerpc* )
|
||||||
|
# Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
|
||||||
|
# No need to distinguish them here; the caller may distinguish
|
||||||
|
# them based on the OS.
|
||||||
|
# On powerpc64 systems, the C compiler may still be generating
|
||||||
|
# 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
|
||||||
|
# be generating 64-bit code.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __powerpc64__ || defined __LP64__
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=no],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=yes])
|
||||||
|
;;
|
||||||
|
|
||||||
|
rs6000 )
|
||||||
|
gl_cv_host_cpu_c_abi_32bit=yes
|
||||||
|
;;
|
||||||
|
|
||||||
|
riscv32 | riscv64 )
|
||||||
|
# There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
|
||||||
|
# Size of 'long' and 'void *':
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __LP64__
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=no],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=yes])
|
||||||
|
;;
|
||||||
|
|
||||||
|
s390* )
|
||||||
|
# On s390x, the C compiler may be generating 64-bit (= s390x) code
|
||||||
|
# or 31-bit (= s390) code.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __LP64__ || defined __s390x__
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=no],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=yes])
|
||||||
|
;;
|
||||||
|
|
||||||
|
sparc | sparc64 )
|
||||||
|
# UltraSPARCs running Linux have `uname -m` = "sparc64", but the
|
||||||
|
# C compiler still generates 32-bit code.
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE(
|
||||||
|
[[#if defined __sparcv9 || defined __arch64__
|
||||||
|
int ok;
|
||||||
|
#else
|
||||||
|
error fail
|
||||||
|
#endif
|
||||||
|
]])],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=no],
|
||||||
|
[gl_cv_host_cpu_c_abi_32bit=yes])
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
gl_cv_host_cpu_c_abi_32bit=unknown
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
|
||||||
|
])
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user