New upstream version 2.38.0
3
AUTHORS
Normal file
@@ -0,0 +1,3 @@
|
||||
Martin Baulig (martin@home-of-linux.org)
|
||||
Drazen Kacar (dave@srce.hr)
|
||||
Benoît Dejean (tazforever@dlfp.org)
|
||||
340
COPYING
Normal file
@@ -0,0 +1,340 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
||||
370
INSTALL
Normal file
@@ -0,0 +1,370 @@
|
||||
Installation Instructions
|
||||
*************************
|
||||
|
||||
Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
notice and this notice are preserved. This file is offered as-is,
|
||||
without warranty of any kind.
|
||||
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
Briefly, the shell command `./configure && make && make install'
|
||||
should configure, build, and install this package. The following
|
||||
more-detailed instructions are generic; see the `README' file for
|
||||
instructions specific to this package. Some packages provide this
|
||||
`INSTALL' file but do not implement all of the features documented
|
||||
below. The lack of an optional feature in a given package is not
|
||||
necessarily a bug. More recommendations for GNU packages can be found
|
||||
in *note Makefile Conventions: (standards)Makefile Conventions.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, and a
|
||||
file `config.log' containing compiler output (useful mainly for
|
||||
debugging `configure').
|
||||
|
||||
It can also use an optional file (typically called `config.cache'
|
||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||
the results of its tests to speed up reconfiguring. Caching is
|
||||
disabled by default to prevent problems with accidental use of stale
|
||||
cache files.
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If you are using the cache, and at
|
||||
some point `config.cache' contains results you don't want to keep, you
|
||||
may remove or edit it.
|
||||
|
||||
The file `configure.ac' (or `configure.in') is used to create
|
||||
`configure' by a program called `autoconf'. You need `configure.ac' if
|
||||
you want to change it or regenerate `configure' using a newer version
|
||||
of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system.
|
||||
|
||||
Running `configure' might take a while. While running, it prints
|
||||
some messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Optionally, type `make check' to run any self-tests that come with
|
||||
the package, generally using the just-built uninstalled binaries.
|
||||
|
||||
4. Type `make install' to install the programs and any data files and
|
||||
documentation. When installing into a prefix owned by root, it is
|
||||
recommended that the package be configured and built as a regular
|
||||
user, and only the `make install' phase executed with root
|
||||
privileges.
|
||||
|
||||
5. Optionally, type `make installcheck' to repeat any self-tests, but
|
||||
this time using the binaries in their final installed location.
|
||||
This target does not install anything. Running this target as a
|
||||
regular user, particularly if the prior `make install' required
|
||||
root privileges, verifies that the installation completed
|
||||
correctly.
|
||||
|
||||
6. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'. To also remove the
|
||||
files that `configure' created (so you can compile the package for
|
||||
a different kind of computer), type `make distclean'. There is
|
||||
also a `make maintainer-clean' target, but that is intended mainly
|
||||
for the package's developers. If you use it, you may have to get
|
||||
all sorts of other programs in order to regenerate files that came
|
||||
with the distribution.
|
||||
|
||||
7. Often, you can also type `make uninstall' to remove the installed
|
||||
files again. In practice, not all packages have tested that
|
||||
uninstallation works correctly, even though it is required by the
|
||||
GNU Coding Standards.
|
||||
|
||||
8. Some packages, particularly those that use Automake, provide `make
|
||||
distcheck', which can by used by developers to test that all other
|
||||
targets like `make install' and `make uninstall' work correctly.
|
||||
This target is generally not run by end users.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that
|
||||
the `configure' script does not know about. Run `./configure --help'
|
||||
for details on some of the pertinent environment variables.
|
||||
|
||||
You can give `configure' initial values for configuration parameters
|
||||
by setting variables in the command line or in the environment. Here
|
||||
is an example:
|
||||
|
||||
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
||||
|
||||
*Note Defining Variables::, for more details.
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you can use GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'. This
|
||||
is known as a "VPATH" build.
|
||||
|
||||
With a non-GNU `make', it is safer to compile the package for one
|
||||
architecture at a time in the source code directory. After you have
|
||||
installed the package for one architecture, use `make distclean' before
|
||||
reconfiguring for another architecture.
|
||||
|
||||
On MacOS X 10.5 and later systems, you can create libraries and
|
||||
executables that work on multiple system types--known as "fat" or
|
||||
"universal" binaries--by specifying multiple `-arch' options to the
|
||||
compiler but only a single `-arch' option to the preprocessor. Like
|
||||
this:
|
||||
|
||||
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
|
||||
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
|
||||
CPP="gcc -E" CXXCPP="g++ -E"
|
||||
|
||||
This is not guaranteed to produce working output in all cases, you
|
||||
may have to build one architecture at a time and combine the results
|
||||
using the `lipo' tool if you have problems.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' installs the package's commands under
|
||||
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
||||
can specify an installation prefix other than `/usr/local' by giving
|
||||
`configure' the option `--prefix=PREFIX', where PREFIX must be an
|
||||
absolute file name.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
||||
PREFIX as the prefix for installing programs and libraries.
|
||||
Documentation and other data files still use the regular prefix.
|
||||
|
||||
In addition, if you use an unusual directory layout you can give
|
||||
options like `--bindir=DIR' to specify different values for particular
|
||||
kinds of files. Run `configure --help' for a list of the directories
|
||||
you can set and what kinds of files go in them. In general, the
|
||||
default for these options is expressed in terms of `${prefix}', so that
|
||||
specifying just `--prefix' will affect all of the other directory
|
||||
specifications that were not explicitly provided.
|
||||
|
||||
The most portable way to affect installation locations is to pass the
|
||||
correct locations to `configure'; however, many packages provide one or
|
||||
both of the following shortcuts of passing variable assignments to the
|
||||
`make install' command line to change installation locations without
|
||||
having to reconfigure or recompile.
|
||||
|
||||
The first method involves providing an override variable for each
|
||||
affected directory. For example, `make install
|
||||
prefix=/alternate/directory' will choose an alternate location for all
|
||||
directory configuration variables that were expressed in terms of
|
||||
`${prefix}'. Any directories that were specified during `configure',
|
||||
but not in terms of `${prefix}', must each be overridden at install
|
||||
time for the entire installation to be relocated. The approach of
|
||||
makefile variable overrides for each directory variable is required by
|
||||
the GNU Coding Standards, and ideally causes no recompilation.
|
||||
However, some platforms have known limitations with the semantics of
|
||||
shared libraries that end up requiring recompilation when using this
|
||||
method, particularly noticeable in packages that use GNU Libtool.
|
||||
|
||||
The second method involves providing the `DESTDIR' variable. For
|
||||
example, `make install DESTDIR=/alternate/directory' will prepend
|
||||
`/alternate/directory' before all installation names. The approach of
|
||||
`DESTDIR' overrides is not required by the GNU Coding Standards, and
|
||||
does not work on platforms that have drive letters. On the other hand,
|
||||
it does better at avoiding recompilation issues, and works well even
|
||||
when some directory options were not specified in terms of `${prefix}'
|
||||
at `configure' time.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Some packages offer the ability to configure how verbose the
|
||||
execution of `make' will be. For these packages, running `./configure
|
||||
--enable-silent-rules' sets the default to minimal output, which can be
|
||||
overridden with `make V=1'; while running `./configure
|
||||
--disable-silent-rules' sets the default to verbose, which can be
|
||||
overridden with `make V=0'.
|
||||
|
||||
Particular systems
|
||||
==================
|
||||
|
||||
On HP-UX, the default C compiler is not ANSI C compatible. If GNU
|
||||
CC is not installed, it is recommended to use the following options in
|
||||
order to use an ANSI C compiler:
|
||||
|
||||
./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
|
||||
|
||||
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 prerequisites, which makes it generally unusable when shipped
|
||||
generated files such as `configure' are involved. Use GNU `make'
|
||||
instead.
|
||||
|
||||
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
|
||||
parse its `<wchar.h>' header file. The option `-nodtk' can be used as
|
||||
a workaround. If GNU CC is not installed, it is therefore recommended
|
||||
to try
|
||||
|
||||
./configure CC="cc"
|
||||
|
||||
and if that doesn't work, try
|
||||
|
||||
./configure CC="cc -nodtk"
|
||||
|
||||
On Solaris, don't put `/usr/ucb' early in your `PATH'. This
|
||||
directory contains several dysfunctional programs; working variants of
|
||||
these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
|
||||
in your `PATH', put it _after_ `/usr/bin'.
|
||||
|
||||
On Haiku, software installed for all users goes in `/boot/common',
|
||||
not `/usr/local'. It is recommended to use the following options:
|
||||
|
||||
./configure --prefix=/boot/common
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' cannot figure out
|
||||
automatically, but needs to determine by the type of machine the package
|
||||
will run on. Usually, assuming the package is built to be run on the
|
||||
_same_ architectures, `configure' can figure that out, but if it prints
|
||||
a message saying it cannot guess the machine type, give it the
|
||||
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name which has the form:
|
||||
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
where SYSTEM can have one of these forms:
|
||||
|
||||
OS
|
||||
KERNEL-OS
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the machine type.
|
||||
|
||||
If you are _building_ compiler tools for cross-compiling, you should
|
||||
use the option `--target=TYPE' to select the type of system they will
|
||||
produce code for.
|
||||
|
||||
If you want to _use_ a cross compiler, that generates code for a
|
||||
platform different from the build platform, you should specify the
|
||||
"host" platform (i.e., that on which the generated programs will
|
||||
eventually be run) with `--host=TYPE'.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share,
|
||||
you can create a site shell script called `config.site' that gives
|
||||
default values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Defining Variables
|
||||
==================
|
||||
|
||||
Variables not defined in a site shell script can be set in the
|
||||
environment passed to `configure'. However, some packages may run
|
||||
configure again during the build, and the customized values of these
|
||||
variables may be lost. In order to avoid this problem, you should set
|
||||
them in the `configure' command line, using `VAR=value'. For example:
|
||||
|
||||
./configure CC=/usr/local2/bin/gcc
|
||||
|
||||
causes the specified `gcc' to be used as the C compiler (unless it is
|
||||
overridden in the site shell script).
|
||||
|
||||
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
||||
an Autoconf limitation. Until the limitation is lifted, you can use
|
||||
this workaround:
|
||||
|
||||
CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||
|
||||
`configure' Invocation
|
||||
======================
|
||||
|
||||
`configure' recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--help'
|
||||
`-h'
|
||||
Print a summary of all of the options to `configure', and exit.
|
||||
|
||||
`--help=short'
|
||||
`--help=recursive'
|
||||
Print a summary of the options unique to this package's
|
||||
`configure', and exit. The `short' variant lists options used
|
||||
only in the top level, while the `recursive' variant lists options
|
||||
also present in any nested packages.
|
||||
|
||||
`--version'
|
||||
`-V'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Enable the cache: use and save the results of the tests in FILE,
|
||||
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
||||
disable caching.
|
||||
|
||||
`--config-cache'
|
||||
`-C'
|
||||
Alias for `--cache-file=config.cache'.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made. To
|
||||
suppress all normal output, redirect it to `/dev/null' (any error
|
||||
messages will still be shown).
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`--prefix=DIR'
|
||||
Use DIR as the installation prefix. *note Installation Names::
|
||||
for more details, including other options available for fine-tuning
|
||||
the installation locations.
|
||||
|
||||
`--no-create'
|
||||
`-n'
|
||||
Run the configure checks, but stop before creating any output
|
||||
files.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options. Run
|
||||
`configure --help' for more details.
|
||||
30
Makefile.am
Normal file
@@ -0,0 +1,30 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
if EXAMPLES
|
||||
EXAMPLES_DIR = examples
|
||||
else
|
||||
EXAMPLES_DIR =
|
||||
endif
|
||||
|
||||
SUBDIRS = po misc include sysdeps lib src $(EXAMPLES_DIR) doc
|
||||
|
||||
libgtopinclude_HEADERS = glibtop.h libgtopconfig.h
|
||||
libgtopincludedir = $(includedir)/libgtop-2.0
|
||||
|
||||
EXTRA_DIST = autogen.sh libgtop.spec.in copyright.txt \
|
||||
features.def libgtopconfig.h.in \
|
||||
libgtop-sysdeps.m4 README \
|
||||
libgtop-2.0.pc.in acinclude.m4 \
|
||||
libgtop.doap \
|
||||
m4/introspection.m4
|
||||
|
||||
dist-hook:
|
||||
cp libgtop.spec $(distdir)
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libgtop-2.0.pc
|
||||
|
||||
libgtop-features.def: features.def
|
||||
@LN_S@ $< $@
|
||||
|
||||
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-introspection
|
||||
998
Makefile.in
Normal file
@@ -0,0 +1,998 @@
|
||||
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
subdir = .
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
|
||||
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \
|
||||
$(top_srcdir)/m4/intlmacosx.m4 \
|
||||
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
|
||||
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
|
||||
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
|
||||
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
|
||||
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
|
||||
$(top_srcdir)/acinclude.m4 $(top_srcdir)/libgtop-sysdeps.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
|
||||
$(am__configure_deps) $(libgtopinclude_HEADERS) \
|
||||
$(am__DIST_COMMON)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES = libgtop.spec libgtop-2.0.pc libgtopconfig.h
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
|
||||
ctags-recursive dvi-recursive html-recursive info-recursive \
|
||||
install-data-recursive install-dvi-recursive \
|
||||
install-exec-recursive install-html-recursive \
|
||||
install-info-recursive install-pdf-recursive \
|
||||
install-ps-recursive install-recursive installcheck-recursive \
|
||||
installdirs-recursive pdf-recursive ps-recursive \
|
||||
tags-recursive uninstall-recursive
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||
am__install_max = 40
|
||||
am__nobase_strip_setup = \
|
||||
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||
am__nobase_strip = \
|
||||
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||
am__nobase_list = $(am__nobase_strip_setup); \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||
if (++n[$$2] == $(am__install_max)) \
|
||||
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||
END { for (dir in files) print dir, files[dir] }'
|
||||
am__base_list = \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||
am__uninstall_files_from_dir = { \
|
||||
test -z "$$files" \
|
||||
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
||||
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
||||
$(am__cd) "$$dir" && rm -f $$files; }; \
|
||||
}
|
||||
am__installdirs = "$(DESTDIR)$(pkgconfigdir)" \
|
||||
"$(DESTDIR)$(libgtopincludedir)"
|
||||
DATA = $(pkgconfig_DATA)
|
||||
HEADERS = $(libgtopinclude_HEADERS)
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
am__recursive_targets = \
|
||||
$(RECURSIVE_TARGETS) \
|
||||
$(RECURSIVE_CLEAN_TARGETS) \
|
||||
$(am__extra_recursive_targets)
|
||||
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
||||
cscope distdir dist dist-all distcheck
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
|
||||
$(LISP)config.h.in
|
||||
# Read a list of newline-separated strings from the standard input,
|
||||
# and print each of them once, without duplicates. Input order is
|
||||
# *not* preserved.
|
||||
am__uniquify_input = $(AWK) '\
|
||||
BEGIN { nonempty = 0; } \
|
||||
{ items[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in items) print i; }; } \
|
||||
'
|
||||
# Make sure the list of sources is unique. This is necessary because,
|
||||
# e.g., the same source file might be shared among _SOURCES variables
|
||||
# for different programs/libraries.
|
||||
am__define_uniq_tagged_files = \
|
||||
list='$(am__tagged_files)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | $(am__uniquify_input)`
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
CSCOPE = cscope
|
||||
DIST_SUBDIRS = po misc include sysdeps lib src examples doc
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
||||
$(srcdir)/libgtop-2.0.pc.in $(srcdir)/libgtop.spec.in \
|
||||
$(srcdir)/libgtopconfig.h.in ABOUT-NLS AUTHORS COPYING \
|
||||
ChangeLog INSTALL NEWS README TODO compile config.guess \
|
||||
config.rpath config.sub install-sh ltconfig ltmain.sh missing
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
am__remove_distdir = \
|
||||
if test -d "$(distdir)"; then \
|
||||
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -rf "$(distdir)" \
|
||||
|| { sleep 5 && rm -rf "$(distdir)"; }; \
|
||||
else :; fi
|
||||
am__post_remove_distdir = $(am__remove_distdir)
|
||||
am__relativize = \
|
||||
dir0=`pwd`; \
|
||||
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||
sed_rest='s,^[^/]*/*,,'; \
|
||||
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||
sed_butlast='s,/*[^/]*$$,,'; \
|
||||
while test -n "$$dir1"; do \
|
||||
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||
if test "$$first" != "."; then \
|
||||
if test "$$first" = ".."; then \
|
||||
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||
else \
|
||||
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||
if test "$$first2" = "$$first"; then \
|
||||
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||
else \
|
||||
dir2="../$$dir2"; \
|
||||
fi; \
|
||||
dir0="$$dir0"/"$$first"; \
|
||||
fi; \
|
||||
fi; \
|
||||
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||
done; \
|
||||
reldir="$$dir2"
|
||||
GZIP_ENV = --best
|
||||
DIST_ARCHIVES = $(distdir).tar.xz
|
||||
DIST_TARGETS = dist-xz
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
|
||||
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
ALLOCA = @ALLOCA@
|
||||
AMTAR = @AMTAR@
|
||||
AM_CPPFLAGS = @AM_CPPFLAGS@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DL_LIB = @DL_LIB@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
GLIB_LIBS = @GLIB_LIBS@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GMSGFMT_015 = @GMSGFMT_015@
|
||||
GREP = @GREP@
|
||||
GTKDOC_CHECK = @GTKDOC_CHECK@
|
||||
GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
|
||||
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
|
||||
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
|
||||
GTKDOC_MKPDF = @GTKDOC_MKPDF@
|
||||
GTKDOC_REBASE = @GTKDOC_REBASE@
|
||||
HTML_DIR = @HTML_DIR@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
|
||||
INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
|
||||
INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
|
||||
INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
|
||||
INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
|
||||
INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
|
||||
INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
|
||||
INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
|
||||
INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
|
||||
KVM_LIBS = @KVM_LIBS@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBGTOP_BINDIR = @LIBGTOP_BINDIR@
|
||||
LIBGTOP_EXTRA_LIBS = @LIBGTOP_EXTRA_LIBS@
|
||||
LIBGTOP_INCS = @LIBGTOP_INCS@
|
||||
LIBGTOP_LIBS = @LIBGTOP_LIBS@
|
||||
LIBGTOP_MAJOR_VERSION = @LIBGTOP_MAJOR_VERSION@
|
||||
LIBGTOP_MICRO_VERSION = @LIBGTOP_MICRO_VERSION@
|
||||
LIBGTOP_MINOR_VERSION = @LIBGTOP_MINOR_VERSION@
|
||||
LIBGTOP_SERVER = @LIBGTOP_SERVER@
|
||||
LIBGTOP_SERVER_VERSION = @LIBGTOP_SERVER_VERSION@
|
||||
LIBGTOP_VERSION = @LIBGTOP_VERSION@
|
||||
LIBGTOP_VERSION_CODE = @LIBGTOP_VERSION_CODE@
|
||||
LIBICONV = @LIBICONV@
|
||||
LIBINTL = @LIBINTL@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBICONV = @LTLIBICONV@
|
||||
LTLIBINTL = @LTLIBINTL@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||
LT_VERSION_INFO = @LT_VERSION_INFO@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGFMT_015 = @MSGFMT_015@
|
||||
MSGMERGE = @MSGMERGE@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PERL = @PERL@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
|
||||
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
|
||||
XMKMF = @XMKMF@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
libgtop_have_sysinfo = @libgtop_have_sysinfo@
|
||||
libgtop_need_server = @libgtop_need_server@
|
||||
libgtop_postinstall = @libgtop_postinstall@
|
||||
libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
|
||||
libgtop_top_builddir = @libgtop_top_builddir@
|
||||
libs_xauth = @libs_xauth@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
server_programs = @server_programs@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sysdeps_dir = @sysdeps_dir@
|
||||
sysdeps_suid_lib = @sysdeps_suid_lib@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
@EXAMPLES_FALSE@EXAMPLES_DIR =
|
||||
@EXAMPLES_TRUE@EXAMPLES_DIR = examples
|
||||
SUBDIRS = po misc include sysdeps lib src $(EXAMPLES_DIR) doc
|
||||
libgtopinclude_HEADERS = glibtop.h libgtopconfig.h
|
||||
libgtopincludedir = $(includedir)/libgtop-2.0
|
||||
EXTRA_DIST = autogen.sh libgtop.spec.in copyright.txt \
|
||||
features.def libgtopconfig.h.in \
|
||||
libgtop-sysdeps.m4 README \
|
||||
libgtop-2.0.pc.in acinclude.m4 \
|
||||
libgtop.doap \
|
||||
m4/introspection.m4
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libgtop-2.0.pc
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
am--refresh: Makefile
|
||||
@:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
|
||||
$(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
$(am__cd) $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
config.h: stamp-h1
|
||||
@test -f $@ || rm -f stamp-h1
|
||||
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
|
||||
|
||||
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||
@rm -f stamp-h1
|
||||
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||
$(srcdir)/config.h.in: $(am__configure_deps)
|
||||
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
||||
rm -f stamp-h1
|
||||
touch $@
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f config.h stamp-h1
|
||||
libgtop.spec: $(top_builddir)/config.status $(srcdir)/libgtop.spec.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
libgtop-2.0.pc: $(top_builddir)/config.status $(srcdir)/libgtop-2.0.pc.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
libgtopconfig.h: $(top_builddir)/config.status $(srcdir)/libgtopconfig.h.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool config.lt
|
||||
install-pkgconfigDATA: $(pkgconfig_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
|
||||
if test -n "$$list"; then \
|
||||
echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
|
||||
$(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
|
||||
fi; \
|
||||
for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
echo "$$d$$p"; \
|
||||
done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
|
||||
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
|
||||
done
|
||||
|
||||
uninstall-pkgconfigDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
|
||||
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
||||
dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
|
||||
install-libgtopincludeHEADERS: $(libgtopinclude_HEADERS)
|
||||
@$(NORMAL_INSTALL)
|
||||
@list='$(libgtopinclude_HEADERS)'; test -n "$(libgtopincludedir)" || list=; \
|
||||
if test -n "$$list"; then \
|
||||
echo " $(MKDIR_P) '$(DESTDIR)$(libgtopincludedir)'"; \
|
||||
$(MKDIR_P) "$(DESTDIR)$(libgtopincludedir)" || exit 1; \
|
||||
fi; \
|
||||
for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
echo "$$d$$p"; \
|
||||
done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libgtopincludedir)'"; \
|
||||
$(INSTALL_HEADER) $$files "$(DESTDIR)$(libgtopincludedir)" || exit $$?; \
|
||||
done
|
||||
|
||||
uninstall-libgtopincludeHEADERS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(libgtopinclude_HEADERS)'; test -n "$(libgtopincludedir)" || list=; \
|
||||
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
||||
dir='$(DESTDIR)$(libgtopincludedir)'; $(am__uninstall_files_from_dir)
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run 'make' without going through this Makefile.
|
||||
# To change the values of 'make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in 'config.status', edit 'config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run 'make');
|
||||
# (2) otherwise, pass the desired values on the 'make' command line.
|
||||
$(am__recursive_targets):
|
||||
@fail=; \
|
||||
if $(am__make_keepgoing); then \
|
||||
failcom='fail=yes'; \
|
||||
else \
|
||||
failcom='exit 1'; \
|
||||
fi; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
ID: $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||
tags: tags-recursive
|
||||
TAGS: tags
|
||||
|
||||
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
$(am__define_uniq_tagged_files); \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: ctags-recursive
|
||||
|
||||
CTAGS: ctags
|
||||
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
cscope: cscope.files
|
||||
test ! -s cscope.files \
|
||||
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
|
||||
clean-cscope:
|
||||
-rm -f cscope.files
|
||||
cscope.files: clean-cscope cscopelist
|
||||
cscopelist: cscopelist-recursive
|
||||
|
||||
cscopelist-am: $(am__tagged_files)
|
||||
list='$(am__tagged_files)'; \
|
||||
case "$(srcdir)" in \
|
||||
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||
esac; \
|
||||
for i in $$list; do \
|
||||
if test -f "$$i"; then \
|
||||
echo "$(subdir)/$$i"; \
|
||||
else \
|
||||
echo "$$sdir/$$i"; \
|
||||
fi; \
|
||||
done >> $(top_builddir)/cscope.files
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
test -d "$(distdir)" || mkdir "$(distdir)"
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
$(am__make_dryrun) \
|
||||
|| test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||
$(am__relativize); \
|
||||
new_distdir=$$reldir; \
|
||||
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||
$(am__relativize); \
|
||||
new_top_distdir=$$reldir; \
|
||||
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||
($(am__cd) $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$new_top_distdir" \
|
||||
distdir="$$new_distdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
am__skip_mode_fix=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
||||
dist-hook
|
||||
-test -n "$(am__skip_mode_fix)" \
|
||||
|| find "$(distdir)" -type d ! -perm -755 \
|
||||
-exec chmod u+rwx,go+rx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r "$(distdir)"
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-bzip2: distdir
|
||||
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-lzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
|
||||
$(am__post_remove_distdir)
|
||||
dist-xz: distdir
|
||||
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-tarZ: distdir
|
||||
@echo WARNING: "Support for distribution archives compressed with" \
|
||||
"legacy program 'compress' is deprecated." >&2
|
||||
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
||||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-shar: distdir
|
||||
@echo WARNING: "Support for shar distribution archives is" \
|
||||
"deprecated." >&2
|
||||
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
||||
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist-zip: distdir
|
||||
-rm -f $(distdir).zip
|
||||
zip -rq $(distdir).zip $(distdir)
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
dist dist-all:
|
||||
$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
|
||||
$(am__post_remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
case '$(DIST_ARCHIVES)' in \
|
||||
*.tar.gz*) \
|
||||
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
|
||||
*.tar.bz2*) \
|
||||
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||
*.tar.lz*) \
|
||||
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
|
||||
*.tar.xz*) \
|
||||
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
||||
*.tar.Z*) \
|
||||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||
*.shar.gz*) \
|
||||
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
|
||||
*.zip*) \
|
||||
unzip $(distdir).zip ;;\
|
||||
esac
|
||||
chmod -R a-w $(distdir)
|
||||
chmod u+w $(distdir)
|
||||
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
test -d $(distdir)/_build || exit 0; \
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& am__cwd=`pwd` \
|
||||
&& $(am__cd) $(distdir)/_build/sub \
|
||||
&& ../../configure \
|
||||
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
--srcdir=../.. --prefix="$$dc_install_base" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& rm -rf $(DIST_ARCHIVES) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
||||
&& cd "$$am__cwd" \
|
||||
|| exit 1
|
||||
$(am__post_remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||
distuninstallcheck:
|
||||
@test -n '$(distuninstallcheck_dir)' || { \
|
||||
echo 'ERROR: trying to run $@ with an empty' \
|
||||
'$$(distuninstallcheck_dir)' >&2; \
|
||||
exit 1; \
|
||||
}; \
|
||||
$(am__cd) '$(distuninstallcheck_dir)' || { \
|
||||
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
|
||||
exit 1; \
|
||||
}; \
|
||||
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left after uninstall:" ; \
|
||||
if test -n "$(DESTDIR)"; then \
|
||||
echo " (check DESTDIR support)"; \
|
||||
fi ; \
|
||||
$(distuninstallcheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
distcleancheck: distclean
|
||||
@if test '$(srcdir)' = . ; then \
|
||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||
$(distcleancheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile $(DATA) $(HEADERS) config.h
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
for dir in "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(libgtopincludedir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-hdr \
|
||||
distclean-libtool distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-libgtopincludeHEADERS install-pkgconfigDATA
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-libgtopincludeHEADERS uninstall-pkgconfigDATA
|
||||
|
||||
.MAKE: $(am__recursive_targets) all install-am install-strip
|
||||
|
||||
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
|
||||
am--refresh check check-am clean clean-cscope clean-generic \
|
||||
clean-libtool cscope cscopelist-am ctags ctags-am dist \
|
||||
dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
|
||||
dist-tarZ dist-xz dist-zip distcheck distclean \
|
||||
distclean-generic distclean-hdr distclean-libtool \
|
||||
distclean-tags distcleancheck distdir distuninstallcheck dvi \
|
||||
dvi-am html html-am info info-am install install-am \
|
||||
install-data install-data-am install-dvi install-dvi-am \
|
||||
install-exec install-exec-am install-html install-html-am \
|
||||
install-info install-info-am install-libgtopincludeHEADERS \
|
||||
install-man install-pdf install-pdf-am install-pkgconfigDATA \
|
||||
install-ps install-ps-am install-strip installcheck \
|
||||
installcheck-am installdirs installdirs-am maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
|
||||
uninstall-am uninstall-libgtopincludeHEADERS \
|
||||
uninstall-pkgconfigDATA
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
dist-hook:
|
||||
cp libgtop.spec $(distdir)
|
||||
|
||||
libgtop-features.def: features.def
|
||||
@LN_S@ $< $@
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
637
NEWS
Normal file
@@ -0,0 +1,637 @@
|
||||
11 September 2017: Overview of changes in 2.38.0
|
||||
================================================
|
||||
|
||||
* Updated translations
|
||||
|
||||
04 September 2017: Overview of changes in 2.37.92
|
||||
================================================
|
||||
|
||||
* Updated translations
|
||||
* Code cleanup
|
||||
|
||||
07 August 2017: Overview of changes in 2.37.90
|
||||
================================================
|
||||
|
||||
* Added reserved fields to the sysdeps struct
|
||||
* Updated translations
|
||||
* Fixed build failure in FreeBSD 11
|
||||
|
||||
22 May 2017: Overview of changes in 2.37.2
|
||||
================================================
|
||||
|
||||
* Added support for per-process io monitoring
|
||||
* Linux
|
||||
* FreeBSD
|
||||
* Updated translations
|
||||
* Added nullpointer check
|
||||
* Use unicode in translatable strings
|
||||
|
||||
20 March 2017: Overview of changes in 2.36.0
|
||||
================================================
|
||||
|
||||
* Version bumped
|
||||
|
||||
13 March 2017: Overview of changes in 2.35.92
|
||||
================================================
|
||||
|
||||
* Better output format for arrays
|
||||
|
||||
13 February 2017: Overview of changes in 2.35.90
|
||||
================================================
|
||||
|
||||
* Linux:
|
||||
- Use dynamically allocated cpu buffer
|
||||
- Do not cache getpagesize()
|
||||
- Use faster g_ascii_isspace in tokenization
|
||||
- Ignore paragraphs not describing a CPU/core
|
||||
|
||||
* Updated translations
|
||||
* Added more gettext options
|
||||
|
||||
16 January 2017: Overview of changes in 2.34.2
|
||||
================================================
|
||||
|
||||
* Linux:
|
||||
- fill last_processor member
|
||||
|
||||
* Updated translations
|
||||
* Added more gettext options
|
||||
|
||||
20 August 2016: Overview of changes in 2.34.1
|
||||
================================================
|
||||
|
||||
* FreeBSD:
|
||||
- rewrite netload to use official APIs
|
||||
- mark wireless interfaces as such
|
||||
|
||||
* All
|
||||
- rename --with-libgtop-examples to --with-examples
|
||||
- use gettext instead of intltool/glib-gettext
|
||||
- added Language headers to the translations
|
||||
|
||||
|
||||
Special thanks to Gleb Smirnoff, Antoine Brodin, Koop Mast and Ting-Wei Lan for
|
||||
the FreeBSD fixes, to Javier Jardón for the gettext migration and to Piotr Drąg
|
||||
for adding the Language headers.
|
||||
|
||||
22 March 2016: Overview of changes in 2.34.0
|
||||
================================================
|
||||
|
||||
* Stable release
|
||||
|
||||
29 February 2016: Overview of changes in 2.33.91
|
||||
|
||||
* Updated translations
|
||||
* Fix building on must-libc
|
||||
|
||||
18 January 2016: Overview of changes in 2.33.4
|
||||
|
||||
* On OpenBSD only PID 1 is special
|
||||
* Call setlocale in main
|
||||
|
||||
14 December: Overview of changes in 2.33.3
|
||||
|
||||
* Fixed borken compilation on OpenBSD
|
||||
* Updated translations.
|
||||
|
||||
21 September 2015: Overview of changes in 2.32.0
|
||||
|
||||
* Stable release
|
||||
|
||||
14 September 2015: Overview of changes in 2.31.91
|
||||
================================================
|
||||
* Darwin:
|
||||
- Fixed build.
|
||||
|
||||
* All
|
||||
- GI docs fixes
|
||||
- include fixes
|
||||
- Updated translations
|
||||
|
||||
16 August 2015: Overview of changes in 2.31.90
|
||||
=============================================
|
||||
* ABI changes:
|
||||
- ABI was inconsistent on platforms like FreeBSD which make use of
|
||||
glibtop_machine. The ABI was actually different between the
|
||||
library and the server. Fixed this by simply always defining
|
||||
glibtop_machine in glibtop struct.
|
||||
- Add Pss and Swap members in glibtop_proc_mem.
|
||||
- This is the second ABI breakage in since 2.28 (the first one was
|
||||
bumping NCPU), there were no release for 2.30.
|
||||
|
||||
* FreeBSD:
|
||||
- proclist: exclude the "idle" kernel process when GLIBTOP_EXCLUDE_IDLE.
|
||||
- Remove extraneous glibtop_init() calls.
|
||||
|
||||
* Linux:
|
||||
- proc_mem: implement Pss and Swap.
|
||||
- Remove extraneous glibtop_init() calls.
|
||||
|
||||
* All:
|
||||
- Propagate the change that machine in struct glibtop is now a
|
||||
pointer. Hope that change doesn't break build on other platforms,
|
||||
I can only test Linux and FreeBSD.
|
||||
|
||||
|
||||
5 August 2015: Overview of changes in 2.31.4
|
||||
=============================================
|
||||
* 71 commits !
|
||||
* Implement a proper --enable-debug mode.
|
||||
* FreeBSD:
|
||||
- procstate: set process name for kernel (pid=0)
|
||||
- procmap: get dev/inode for ZFS (no filename yet)
|
||||
- mem: rework memory usage to something more meaningful
|
||||
- proclist: don't report threads
|
||||
- proctime: fix CPU times
|
||||
* Linux:
|
||||
- mem: use MemAvailable when available
|
||||
- mem: match `free`, report Slab as Cached.
|
||||
- support for x.y versionsmemory to match `free`
|
||||
* Fix a lot of GI tags: it now works without crashing.
|
||||
* Server and daemon binaries are now dynamically linked against their libgtop.
|
||||
* Update a lot of examples/.
|
||||
* Clean up some very old code.
|
||||
* Updated translations.
|
||||
|
||||
Special thanks to Ting-Wei Lan for providing patches and feedback on FreeBSD.
|
||||
|
||||
22 June 2015: Overview of changes in 2.31.3
|
||||
=============================================
|
||||
* Numerous OpenBSD backend fixes.
|
||||
* Fixed FreeBSD build issues.
|
||||
* Implemented procaffinity support for NetBSD.
|
||||
* Updated translations
|
||||
|
||||
19 August 2013: Overview of changes in 2.28.5
|
||||
=============================================
|
||||
* Fix numerous bugs in the OpenBSD backend.
|
||||
* Updated translations.
|
||||
|
||||
30 August 2011: Overview of changes in 2.28.4
|
||||
=============================================
|
||||
* Fix numerous bugs in the FreeBSD backend.
|
||||
* Split off OpenBSD code in its own backend, and fixes.
|
||||
* Updated translations.
|
||||
|
||||
25 March 2011: Overview of changes in 2.28.3
|
||||
================================================
|
||||
* Fix build issue for strict linkers.
|
||||
* Add Introspection support
|
||||
* Cygwin fixes.
|
||||
* FreeBSD: Fix get_mem() on 64-bit systems.
|
||||
* Updated translations.
|
||||
|
||||
28 September 2010: Overview of changes in 2.28.2
|
||||
================================================
|
||||
* Updated translations.
|
||||
|
||||
30 March 2010: Overview of changes in 2.28.1
|
||||
============================================
|
||||
* Updated translations.
|
||||
|
||||
21 September 2009: Overview of changes in 2.28.0
|
||||
================================================
|
||||
* Updated translations.
|
||||
|
||||
25 May 2009: Overview of changes in 2.27.3
|
||||
==========================================
|
||||
* linux:
|
||||
- fixed format error.
|
||||
|
||||
3 May 2009: Overview of changes in 2.27.2
|
||||
=========================================
|
||||
* linux:
|
||||
- glibtop_get_proc_map: oops, fixed segfault.
|
||||
|
||||
3 May 2009: Overview of changes in 2.27.1
|
||||
=========================================
|
||||
* linux:
|
||||
- glibtop_get_proc_map is ~40% faster. This should be noticeable
|
||||
in system-monitor.
|
||||
* New cygwin support.
|
||||
|
||||
13 April 2009: Overview of changes in 2.26.1
|
||||
============================================
|
||||
* linux:
|
||||
- glibtop_get_mounlist(...): also hide "none" fs.
|
||||
|
||||
1 Mars 2009: Overview of changes in 2.26.0
|
||||
==========================================
|
||||
* Nothing.
|
||||
|
||||
17 February 2009: Overview of changes in 2.25.91
|
||||
================================================
|
||||
* Synced with gnome-2-24.
|
||||
|
||||
19 January 2009: Overview of changes in 2.24.4
|
||||
==============================================
|
||||
* Fixed license: libgtop is GPL-2.
|
||||
|
||||
12 January 2009: Overview of changes in 2.24.3
|
||||
==============================================
|
||||
* linux:
|
||||
- fixed potential memory leak. Vincent Untz.
|
||||
- fixed read(2) usage. Should fix the missing cpus bug in system-monitor.
|
||||
* darwin:
|
||||
- fixed build. "paul".
|
||||
|
||||
22 Septembre 2008: Overview of changes in 2.24.0
|
||||
================================================
|
||||
* Translation updates.
|
||||
|
||||
18 August 2008: Overview of changes in 2.23.90
|
||||
==============================================
|
||||
* freebsd:
|
||||
- updated port by Joe Marcus Clarke.
|
||||
|
||||
23 June 2008: Overview of changes in 2.23.4
|
||||
===========================================
|
||||
* linux:
|
||||
- Fixed and improved glibtop_get_fsusage with kernel >= 2.6.25.
|
||||
Closes #539360.
|
||||
|
||||
24 May 2008: Overview of changes in 2.23.2
|
||||
==========================================
|
||||
* glibtop_get_proc_open_files API can also lists IPv6 TCP sockets.
|
||||
* glibtop_get_proc_affinity : new API to retrieve process CPU affinity.
|
||||
|
||||
(Let's hope one day i'll find the gtk-doc documentation ...)
|
||||
|
||||
* linux:
|
||||
- fixed parsing of big /proc/stat for uptime.
|
||||
|
||||
04 April 2008: Overview of changes in 2.22.1
|
||||
============================================
|
||||
* Fixed compilation/dist for !linux.
|
||||
Closes #525953.
|
||||
|
||||
10 Mars 2008: Overview of changes in 2.22.0
|
||||
===========================================
|
||||
* linux:
|
||||
- fixed proc_kernel.
|
||||
|
||||
25 February 2008: Overview of changes in 2.21.92
|
||||
================================================
|
||||
* linux:
|
||||
- fixed smaps parsing on >= 2.6.24.x.
|
||||
|
||||
14 January 2008: Overview of changes in 2.21.5
|
||||
==============================================
|
||||
* freebsd:
|
||||
- fixed build on GNU/kfreebsd. Petr Salinger.
|
||||
- fixed procmem units. Kuang-che Wu.
|
||||
|
||||
28 October 2007: Overview of changes in 2.21.1
|
||||
==============================================
|
||||
* don't export _p/_s private symbols anymore. This is not an API/ABI breakage.
|
||||
* darwin implementation by Benjamin Reed.
|
||||
* linux:
|
||||
- splitted fsusage and mountlist implementations;
|
||||
- smarter mountlist(allfs = False);
|
||||
- fixed some compile warning on 64bit;
|
||||
* solaris:
|
||||
- fixed netload build by Henry Zhang.
|
||||
|
||||
16 September 2007: Overview of changes in 2.20.0
|
||||
================================================
|
||||
* Updated translations.
|
||||
|
||||
27 August 2007: Overview of changes in 2.19.92
|
||||
==============================================
|
||||
* Fixed stupid hardwired path in linux/sysinfo.c
|
||||
|
||||
26 August 2007: Overview of changes in 2.19.91
|
||||
==============================================
|
||||
* Translations updates.
|
||||
* linux:
|
||||
- Small internal improvement. Might fix sysinfo when having more than
|
||||
8 CPUS.
|
||||
|
||||
9 July 2007: Overview of changes in 2.19.5
|
||||
==========================================
|
||||
* linux:
|
||||
- fixed proc_map for >= 2.6.22
|
||||
* freebsd:
|
||||
- implemented procwd and procopenfiles
|
||||
Joe Marcus Clarke
|
||||
|
||||
18 June 2007: Overview of changes in 2.19.4
|
||||
===========================================
|
||||
* solaris:
|
||||
- fixed build. Damien Carbery.
|
||||
|
||||
3 June 2007: Overview of changes in 2.19.3
|
||||
==========================================
|
||||
* Small API change. get_proclist returns pid_t instead of unsigned
|
||||
for consistency.
|
||||
* linux:
|
||||
- fixed an typo bug in open_files.
|
||||
- got rid of useless glibtop_init_s calls.
|
||||
* Enable example build by defaut.
|
||||
* Dropped G_GNUC_INTERNAL attributes no longer needed.
|
||||
This will please people trying to implement G_GNUC macro with a non
|
||||
GNU Compiler.
|
||||
|
||||
13 May 2007: Overview of changes in 2.19.2
|
||||
==========================================
|
||||
* This is the first release of the 2.19.x series.
|
||||
* Got rid of inodedb (you don't even know what it is ;)
|
||||
* New unstable API glibtop_get_proc_wd to get working directories of
|
||||
a process.
|
||||
* Fixed OpenBSD build. Jasper Lievisse Adriaanse.
|
||||
|
||||
25 February 2007: Overview of changes in 2.14.8
|
||||
===============================================
|
||||
* bsd implementations have been splitted by Joe Marcus Clarke
|
||||
and Alexander Nedotsukov. (k)freeBSD now has a separate implementation.
|
||||
|
||||
February 10, 2007: Overview of changes in 2.14.7
|
||||
================================================
|
||||
* bsd:
|
||||
- massive kfreeBSD and FreeBSD updates by Roy Marples and Petr Salinger.
|
||||
* mountlist can now ignore objfs and ctfs filesystems.
|
||||
* fsusage won't return bavail > bfree anymore.
|
||||
|
||||
January 14, 2007: Overview of changes in 2.14.6
|
||||
===============================================
|
||||
* linux:
|
||||
- fixed stack overflow in glibtop_get_proc_map
|
||||
- fixed handling of long filenames in glibtop_get_proc_map and glibtop_get_proc_open_files.
|
||||
- micro-optimization
|
||||
|
||||
December 3, 2006: Overview of changes in 2.14.5
|
||||
===============================================
|
||||
* Added kfreebsd support (Petr Salinger <Petr.Salinger@seznam.cz>).
|
||||
* Added solaris glibtop_get_proc_open_files (Henry Zhang <hua.zhang@sun.com>).
|
||||
* Migrated to gtk-doc (Germán Poó-Caamaño <gpoo@ubiobio.cl>).
|
||||
* glibtop_get_mountlist can now ignore nsfd FS.
|
||||
|
||||
September 16, 2006: Overview of changes in 2.14.4
|
||||
=================================================
|
||||
* Fixed linux maps/smaps parsing on 64bit kernel.
|
||||
|
||||
September 5, 2006: Overview of changes in 2.14.3
|
||||
================================================
|
||||
* Fixed build with --as-needed.
|
||||
* Added missing G_BEGIN_DECLS/G_END_DECLS.
|
||||
|
||||
July 27, 2006: Overview of changes in 2.14.2
|
||||
============================================
|
||||
* Updated solaris support (hua.zhang@sun.com)
|
||||
* Small linux updates and improvments.
|
||||
|
||||
April 10, 2006: Overview of changes in 2.14.1
|
||||
=============================================
|
||||
* Updated translations.
|
||||
* Fixed NetBSD port (Julio M. Merino Vidal <jmmv@NetBSD.org>).
|
||||
* Fixed some warnings.
|
||||
|
||||
Mars 13, 2006: Overview of changes in 2.14.0
|
||||
============================================
|
||||
* Updated translations.
|
||||
|
||||
February 27, 2006: Overview of changes in 2.13.92
|
||||
=================================================
|
||||
* Fixed proc_state documentation.
|
||||
* Updated mountlist ignore list.
|
||||
|
||||
January 23, 2006: Overview of changes in 2.13.3
|
||||
===============================================
|
||||
* linux:
|
||||
- fixe get_procmap for linux < 2.6.14.
|
||||
|
||||
January 2, 2006: Overview of changes in 2.13.2
|
||||
==============================================
|
||||
* Fixed libtool versioning (James Henstridge)
|
||||
|
||||
December 15, 2005: Overview of changes in 2.13.1
|
||||
================================================
|
||||
* linux:
|
||||
- fixed proclist
|
||||
- implemented server->real_ncpu
|
||||
|
||||
December 13, 2005: Overview of changes in 2.13.0
|
||||
================================================
|
||||
* Requires automake-1.9 (James Henstridge)
|
||||
* Supports up to 32 CPU
|
||||
* Supports Linux smaps
|
||||
* linux: fixed SMP detection
|
||||
|
||||
This release is not ABI compatible with previous releases. Sorry.
|
||||
|
||||
November 29, 2005: Overview of changes from 2.12.0 to 2.12.1
|
||||
============================================================
|
||||
* Dropped dead files
|
||||
* linux: 1-line cleanup.
|
||||
|
||||
September 4, 2005: Overview of changes from 2.11.92 to 2.12.0
|
||||
=============================================================
|
||||
* Updated translations.
|
||||
|
||||
August 22, 2005: Overview of changes from 2.11.91 to 2.11.92
|
||||
============================================================
|
||||
* Linux:
|
||||
- fixed for 2.6 without /sys
|
||||
- glibtop_get_cpu() : Do not add irq, softirq and iowait to idle.
|
||||
|
||||
August 9, 2005: Overview of changes from 2.11.90 to 2.11.91
|
||||
===========================================================
|
||||
* All:
|
||||
- cleaned some headers.
|
||||
- removed static examples.
|
||||
* Linux:
|
||||
- fixed some issues with 2.6 without /sys
|
||||
|
||||
July 24, 2005: Overview of changes from 2.11.2 to 2.11.90
|
||||
=========================================================
|
||||
* Linux:
|
||||
- fixed glibtop_uptime .flags.
|
||||
|
||||
July &3, 2005: Overview of changes from 2.11.1 to 2.11.2
|
||||
========================================================
|
||||
* Linux:
|
||||
- little improvements for 2.6.
|
||||
|
||||
July 3, 2005: Overview of changes from 2.11.0 to 2.11.1
|
||||
=======================================================
|
||||
* Linux:
|
||||
- glibtop_get_swap : added page(in|out) for linux 2.6.
|
||||
|
||||
June 8, 2005: Overview of changes from 2.10.x to 2.11.0
|
||||
=======================================================
|
||||
* Replaced a lot of macros by functions
|
||||
* Got rid of dozens of useless files.
|
||||
* libgtop 2.11.x are and will stay API and ABI compatible with 2.10.x, i swear.
|
||||
|
||||
April 10, 2005: Overview of changes from 2.10.0 to 2.10.1
|
||||
=========================================================
|
||||
* Updated i18n.
|
||||
* Little cleanup and fixed gcc-4.0 compilation.
|
||||
* linux: fixed loadavg and uptime if locale != C.
|
||||
Updated siglist.
|
||||
* Tighter libgtop-2.0.pc.
|
||||
|
||||
Mars 7, 2005: Overview of Changes from 2.9.92 to 2.10.0
|
||||
=======================================================
|
||||
* Updated i18n.
|
||||
|
||||
February 28, 2005: Overview of Changes from 2.9.90 to 2.9.92
|
||||
============================================================
|
||||
* *BSD updated by marcus@freebsd.org (Joe Marcus Clarke).
|
||||
* Removed a lot of dead files :)
|
||||
* Don't build&install libgtop_daemon when it's never used.
|
||||
|
||||
February 6, 2004: Overview of Changes from 2.9.90 to 2.9.91
|
||||
==========================================================
|
||||
* Fixed typo in stub.
|
||||
* Updated i18n.
|
||||
|
||||
January 24, 2004: Overview of Changes from 2.9.4 to 2.9.90
|
||||
==========================================================
|
||||
* Updated Linux support.
|
||||
|
||||
January 10, 2004: Overview of Changes from 2.9.3 to 2.9.4
|
||||
=========================================================
|
||||
* New glibtop_proc_open_files nick@reloco.com.ar (Nicolás Lichtmaier).
|
||||
* Updated AIX support (Christophe Belle).
|
||||
|
||||
December 20, 2004: Overview of Changes from 2.9.0 to 2.9.3
|
||||
==========================================================
|
||||
* Removed libgtop_names.
|
||||
* Fixed Argument passing between library and server. #139809.
|
||||
* *BSD updated by marcus@freebsd.org (Joe Marcus Clarke).
|
||||
* glibtop_get_mountlist(False) now ignores 'unknown' fs.
|
||||
|
||||
|
||||
November 30, 2004: Overview of Changes from 2.8.1 to 2.9.0
|
||||
=========================================================
|
||||
* glibtop_get_netload : Fixed segfault on linux with ppp devices.
|
||||
* NEW glibtop_get_netlist : retrieves the list of all available interfaces.
|
||||
* NEW LIBGTOP_CHECK_VERSION(major, minor, micro)
|
||||
* Removed dead kernel patch and implementation.
|
||||
* Cleanups on Linux and Solaris.
|
||||
|
||||
October 11, 2004: Overview of Changes from 2.8.0 to 2.8.1
|
||||
=========================================================
|
||||
* Improved Solaris and AIX support.
|
||||
|
||||
|
||||
August 13, 2004: Overview of Changes from 2.7.92 to 2.8.0
|
||||
=========================================================
|
||||
* No changes
|
||||
|
||||
|
||||
August 30, 2004:
|
||||
===============
|
||||
* Applied some *BSD patches.
|
||||
* Removed old files.
|
||||
|
||||
|
||||
August 15, 2004:
|
||||
===============
|
||||
* Fixed compilation with C89-only compilers and old libc.
|
||||
|
||||
|
||||
August 3, 2004:
|
||||
==============
|
||||
* Some cleanups.
|
||||
* Fixed the behaviour of some linux proc_*() functions.
|
||||
* Updated the documentation.
|
||||
|
||||
|
||||
July 19, 2004: Overview of Changes from 2.6.1 to 2.7.4
|
||||
======================================================
|
||||
* Plenty of code cleanups. Uninlined a lot of functions. ~5-10KB object size
|
||||
reduction.
|
||||
* Glibify a bit more.
|
||||
* API changes:
|
||||
- glibtop_fsusage provides total read and writes since boot_time.
|
||||
- glibtop_netload provides hardware address. IPv6 enable.
|
||||
- Added glibtop_get_proc_argv.
|
||||
|
||||
Work in progress :
|
||||
* Finish glibtop_fsusage implementation for Linux.
|
||||
* Some fuctions don't conform to the documentation, e.g. proctime.
|
||||
|
||||
March 11, 2004:
|
||||
===============
|
||||
|
||||
* Released LibGTop 2.5.99 "Gross Work", dedicated to people who do push-ups
|
||||
in the loos.
|
||||
|
||||
- plenty of code cleanups
|
||||
|
||||
- removed the dependency on libgnome, only glib required now
|
||||
|
||||
- Linux 2.6 support, NetBSD support and better FreeBSD support
|
||||
|
||||
- Make the block size available for filesystem statistics
|
||||
|
||||
February 27, 2001:
|
||||
=================
|
||||
|
||||
* Released LibGTop 1.0.12 "Gerolzhofen".
|
||||
|
||||
- fix for Solaris 8 from Laszlo PETER (msg_limits, sem_limits).
|
||||
|
||||
- fix for FreeBSD 4.2 from Rolf Grossmann (FreeBSD now uses
|
||||
`_KERNEL' instead of `KERNEL'). Bug #51334.
|
||||
|
||||
- for BSDI, comment out `subnet' field in netload; this should make
|
||||
it compile, but there may be other problems. Bug #13345.
|
||||
|
||||
This release is for GNOME 1.4 Beta2.
|
||||
|
||||
February 14, 2001:
|
||||
=================
|
||||
|
||||
* Released LibGTop 1.0.11 "Jasmin":
|
||||
|
||||
[The release which was supposed to be called "Gerolzhofen".]
|
||||
|
||||
- merged in the Solaris code from LIBGTOP_1_1_2_PATCHES.
|
||||
|
||||
- minor OpenBSD fixes.
|
||||
|
||||
- again a bunch of updated translations.
|
||||
|
||||
Please test the Solaris stuff and report and bugs and
|
||||
problems as soon as possible; I'll make a new release
|
||||
for the 2nd beta of GNOME 1.4 if necessary.
|
||||
|
||||
November 20, 2000:
|
||||
=================
|
||||
|
||||
* Released LibGTop 1.0.10 "November Rain":
|
||||
|
||||
- this release contains a bunch of updated translations.
|
||||
|
||||
May 25, 2000:
|
||||
============
|
||||
|
||||
* Released LibGTop 1.0.9 "Stuttgart".
|
||||
|
||||
(LibGTop 1.0.8 "Frankfurt" was not publically released.)
|
||||
|
||||
February 15, 2000:
|
||||
=================
|
||||
|
||||
* Released LibGTop 1.0.7 "Copenhagen":
|
||||
|
||||
- this is a bug fix release for the GUADEC CD-ROM;
|
||||
it contains fixes in both the Linux and *BSD sysdeps
|
||||
directory.
|
||||
|
||||
October 18, 1999:
|
||||
================
|
||||
|
||||
* Released LibGTop 1.0.6 "October LibGTop":
|
||||
|
||||
- compilation fixes for FreeBSD.
|
||||
- updated reference manual.
|
||||
|
||||
September 29, 1999:
|
||||
==================
|
||||
|
||||
* Released LibGTop 1.0.5.
|
||||
|
||||
20
README
Normal file
@@ -0,0 +1,20 @@
|
||||
LATEST NEWS:
|
||||
===========
|
||||
|
||||
Please look also in the file 'NEWS' for latest news.
|
||||
|
||||
Martin
|
||||
|
||||
|
||||
ChangeLogs:
|
||||
==========
|
||||
|
||||
LibGTop has many ChangeLogs files. The following files are the the
|
||||
most important :
|
||||
|
||||
- ChangeLog is the main ChangeLog.
|
||||
- sysdeps/<arch>/ChangeLog is the ChangeLog for arch specific changes.
|
||||
- sysdeps/common/ChangeLog is the ChangeLog for common changes (shared
|
||||
implementation between archs).
|
||||
|
||||
Benoît
|
||||
525
acinclude.m4
Normal file
@@ -0,0 +1,525 @@
|
||||
dnl This is just copied m4s from need-declaration.m4 gnome-fileutils.m4
|
||||
dnl gnome-supprt-checks.m4 and a little from gnome-libgtop-check.m4
|
||||
dnl and finally libgtop-sysdeps.m4
|
||||
|
||||
dnl
|
||||
dnl LIBGTOP_CHECK_TYPE
|
||||
dnl
|
||||
dnl Improved version of AC_CHECK_TYPE which takes into account
|
||||
dnl that we need to #include some other header files on some
|
||||
dnl systems to get some types.
|
||||
|
||||
dnl AC_LIBGTOP_CHECK_TYPE(TYPE, DEFAULT)
|
||||
AC_DEFUN([AC_LIBGTOP_CHECK_TYPE],
|
||||
[AC_REQUIRE([AC_HEADER_STDC])dnl
|
||||
AC_MSG_CHECKING(for $1)
|
||||
AC_CACHE_VAL(ac_cv_type_$1,
|
||||
[AC_EGREP_CPP(dnl
|
||||
changequote(<<,>>)dnl
|
||||
<<(^|[^a-zA-Z_0-9])$1[^a-zA-Z_0-9]>>dnl
|
||||
changequote([,]), [#include <sys/types.h>
|
||||
#if STDC_HEADERS
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
|
||||
/* For Tru64 */
|
||||
#ifdef HAVE_SYS_BITYPES_H
|
||||
#include <sys/bitypes.h>
|
||||
#endif
|
||||
], ac_cv_type_$1=yes, ac_cv_type_$1=no)])dnl
|
||||
AC_MSG_RESULT($ac_cv_type_$1)
|
||||
if test $ac_cv_type_$1 = no; then
|
||||
AC_DEFINE($1, $2, [Define to $2 if <sys/types.h> does not define.])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl
|
||||
dnl GNOME_LIBGTOP_TYPES
|
||||
dnl
|
||||
dnl some typechecks for libgtop.
|
||||
dnl
|
||||
|
||||
AC_DEFUN([GNOME_LIBGTOP_TYPES],
|
||||
[
|
||||
AC_CHECK_HEADERS(sys/bitypes.h)
|
||||
])
|
||||
|
||||
dnl See whether we need a declaration for a function.
|
||||
dnl GCC_NEED_DECLARATION(FUNCTION [, EXTRA-HEADER-FILES])
|
||||
AC_DEFUN([GCC_NEED_DECLARATION],
|
||||
[AC_MSG_CHECKING([whether $1 must be declared])
|
||||
AC_CACHE_VAL(gcc_cv_decl_needed_$1,
|
||||
[AC_TRY_COMPILE([
|
||||
#include <stdio.h>
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#else
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
#endif
|
||||
#endif
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
$2],
|
||||
[char *(*pfn) = (char *(*)) $1],
|
||||
eval "gcc_cv_decl_needed_$1=no", eval "gcc_cv_decl_needed_$1=yes")])
|
||||
if eval "test \"`echo '$gcc_cv_decl_needed_'$1`\" = yes"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
gcc_need_declarations="$gcc_need_declarations $1"
|
||||
gcc_tr_decl=NEED_DECLARATION_`echo $1 | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
|
||||
AC_DEFINE_UNQUOTED($gcc_tr_decl, 1, [Define if $1 () must be declared.])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
])dnl
|
||||
|
||||
dnl Check multiple functions to see whether each needs a declaration.
|
||||
dnl GCC_NEED_DECLARATIONS(FUNCTION... [, EXTRA-HEADER-FILES])
|
||||
AC_DEFUN([GCC_NEED_DECLARATIONS],
|
||||
[for ac_func in $1
|
||||
do
|
||||
GCC_NEED_DECLARATION($ac_func, $2)
|
||||
done
|
||||
]
|
||||
)
|
||||
|
||||
dnl
|
||||
dnl GNOME_FILEUTILS_CHECKS
|
||||
dnl
|
||||
dnl checks that are needed for the diskusage applet.
|
||||
dnl
|
||||
|
||||
AC_DEFUN([GNOME_FILEUTILS_CHECKS],
|
||||
[
|
||||
AC_CHECK_HEADERS(fcntl.h sys/param.h sys/statfs.h sys/fstyp.h \
|
||||
mnttab.h mntent.h sys/statvfs.h sys/vfs.h sys/mount.h \
|
||||
sys/filsys.h sys/fs_types.h sys/fs/s5param.h)
|
||||
|
||||
AC_CHECK_FUNCS(bcopy endgrent endpwent fchdir ftime ftruncate \
|
||||
getcwd getmntinfo gettimeofday isascii lchown \
|
||||
listmntent memcpy mkfifo strchr strerror strrchr vprintf)
|
||||
|
||||
dnl Set some defaults when cross-compiling
|
||||
|
||||
if test x$cross_compiling = xyes ; then
|
||||
case "$host_os" in
|
||||
linux*)
|
||||
fu_cv_sys_mounted_getmntent1=yes
|
||||
fu_cv_sys_stat_statfs2_bsize=yes
|
||||
;;
|
||||
sunos*)
|
||||
fu_cv_sys_stat_statfs4=yes
|
||||
;;
|
||||
freebsd*)
|
||||
fu_cv_sys_stat_statfs2_bsize=yes
|
||||
;;
|
||||
osf*)
|
||||
fu_cv_sys_stat_statfs3_osf1=yes
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Determine how to get the list of mounted filesystems.
|
||||
list_mounted_fs=
|
||||
|
||||
# If the getmntent function is available but not in the standard library,
|
||||
# make sure LIBS contains -lsun (on Irix4) or -lseq (on PTX).
|
||||
AC_FUNC_GETMNTENT
|
||||
|
||||
# This test must precede the ones for getmntent because Unicos-9 is
|
||||
# reported to have the getmntent function, but its support is incompatible
|
||||
# with other getmntent implementations.
|
||||
|
||||
# NOTE: Normally, I wouldn't use a check for system type as I've done for
|
||||
# `CRAY' below since that goes against the whole autoconf philosophy. But
|
||||
# I think there is too great a chance that some non-Cray system has a
|
||||
# function named listmntent to risk the false positive.
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
# Cray UNICOS 9
|
||||
AC_MSG_CHECKING([for listmntent of Cray/Unicos-9])
|
||||
AC_CACHE_VAL(fu_cv_sys_mounted_cray_listmntent,
|
||||
[fu_cv_sys_mounted_cray_listmntent=no
|
||||
AC_EGREP_CPP(yes,
|
||||
[#ifdef _CRAY
|
||||
yes
|
||||
#endif
|
||||
], [test $ac_cv_func_listmntent = yes \
|
||||
&& fu_cv_sys_mounted_cray_listmntent=yes]
|
||||
)
|
||||
]
|
||||
)
|
||||
AC_MSG_RESULT($fu_cv_sys_mounted_cray_listmntent)
|
||||
if test $fu_cv_sys_mounted_cray_listmntent = yes; then
|
||||
list_mounted_fs=found
|
||||
AC_DEFINE(MOUNTED_LISTMNTENT, 1,
|
||||
[Define if there is a function named listmntent that can be used to list all mounted filesystems. [UNICOS]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test $ac_cv_func_getmntent = yes; then
|
||||
|
||||
# This system has the getmntent function.
|
||||
# Determine whether it's the one-argument variant or the two-argument one.
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
# 4.3BSD, SunOS, HP-UX, Dynix, Irix
|
||||
AC_MSG_CHECKING([for one-argument getmntent function])
|
||||
AC_CACHE_VAL(fu_cv_sys_mounted_getmntent1,
|
||||
[test $ac_cv_header_mntent_h = yes \
|
||||
&& fu_cv_sys_mounted_getmntent1=yes \
|
||||
|| fu_cv_sys_mounted_getmntent1=no])
|
||||
AC_MSG_RESULT($fu_cv_sys_mounted_getmntent1)
|
||||
if test $fu_cv_sys_mounted_getmntent1 = yes; then
|
||||
list_mounted_fs=found
|
||||
AC_DEFINE(MOUNTED_GETMNTENT1, 1,
|
||||
[Define if there is a function named getmntent for reading the list of mounted filesystems, and that function takes a single argument. [4.3BSD, SunOS, HP-UX, Dynix, Irix]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
# SVR4
|
||||
AC_MSG_CHECKING([for two-argument getmntent function])
|
||||
AC_CACHE_VAL(fu_cv_sys_mounted_getmntent2,
|
||||
[AC_EGREP_HEADER(getmntent, sys/mnttab.h,
|
||||
fu_cv_sys_mounted_getmntent2=yes,
|
||||
fu_cv_sys_mounted_getmntent2=no)])
|
||||
AC_MSG_RESULT($fu_cv_sys_mounted_getmntent2)
|
||||
if test $fu_cv_sys_mounted_getmntent2 = yes; then
|
||||
list_mounted_fs=found
|
||||
AC_DEFINE(MOUNTED_GETMNTENT2, 1,
|
||||
[Define if there is a function named getmntent for reading the list of mounted filesystems, and that function takes two arguments. [SVR4]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
AC_MSG_ERROR([could not determine how to read list of mounted filesystems])
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
# DEC Alpha running OSF/1.
|
||||
AC_MSG_CHECKING([for getfsstat function])
|
||||
AC_CACHE_VAL(fu_cv_sys_mounted_getsstat,
|
||||
[AC_TRY_LINK([
|
||||
#include <sys/types.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/fs_types.h>],
|
||||
[struct statfs *stats;
|
||||
int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT); ],
|
||||
fu_cv_sys_mounted_getsstat=yes,
|
||||
fu_cv_sys_mounted_getsstat=no)])
|
||||
AC_MSG_RESULT($fu_cv_sys_mounted_getsstat)
|
||||
if test $fu_cv_sys_mounted_getsstat = yes; then
|
||||
list_mounted_fs=found
|
||||
AC_DEFINE(MOUNTED_GETFSSTAT, 1,
|
||||
[Define if there is a function named getfsstat for reading the list of mounted filesystems. [DEC Alpha running OSF/1]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
# AIX.
|
||||
AC_MSG_CHECKING([for mntctl function and struct vmount])
|
||||
AC_CACHE_VAL(fu_cv_sys_mounted_vmount,
|
||||
[AC_TRY_CPP([#include <fshelp.h>],
|
||||
fu_cv_sys_mounted_vmount=yes,
|
||||
fu_cv_sys_mounted_vmount=no)])
|
||||
AC_MSG_RESULT($fu_cv_sys_mounted_vmount)
|
||||
if test $fu_cv_sys_mounted_vmount = yes; then
|
||||
list_mounted_fs=found
|
||||
AC_DEFINE(MOUNTED_VMOUNT, 1,
|
||||
[Define if there is a function named mntctl that can be used to read the list of mounted filesystems, and there is a system header file that declares `struct vmount.' [AIX]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
# SVR3
|
||||
AC_MSG_CHECKING([for FIXME existence of three headers])
|
||||
AC_CACHE_VAL(fu_cv_sys_mounted_fread_fstyp,
|
||||
[AC_TRY_CPP([
|
||||
#include <sys/statfs.h>
|
||||
#include <sys/fstyp.h>
|
||||
#include <mnttab.h>],
|
||||
fu_cv_sys_mounted_fread_fstyp=yes,
|
||||
fu_cv_sys_mounted_fread_fstyp=no)])
|
||||
AC_MSG_RESULT($fu_cv_sys_mounted_fread_fstyp)
|
||||
if test $fu_cv_sys_mounted_fread_fstyp = yes; then
|
||||
list_mounted_fs=found
|
||||
AC_DEFINE(MOUNTED_FREAD_FSTYP, 1,
|
||||
[Define if (like SVR2) there is no specific function for reading the list of mounted filesystems, and your system has these header files: <sys/fstyp.h> and <sys/statfs.h>. [SVR3]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
# 4.4BSD and DEC OSF/1.
|
||||
AC_MSG_CHECKING([for getmntinfo function])
|
||||
AC_CACHE_VAL(fu_cv_sys_mounted_getmntinfo,
|
||||
[
|
||||
ok=
|
||||
if test $ac_cv_func_getmntinfo = yes; then
|
||||
AC_EGREP_HEADER(f_type;, sys/mount.h,
|
||||
ok=yes)
|
||||
fi
|
||||
test -n "$ok" \
|
||||
&& fu_cv_sys_mounted_getmntinfo=yes \
|
||||
|| fu_cv_sys_mounted_getmntinfo=no
|
||||
])
|
||||
AC_MSG_RESULT($fu_cv_sys_mounted_getmntinfo)
|
||||
if test $fu_cv_sys_mounted_getmntinfo = yes; then
|
||||
list_mounted_fs=found
|
||||
AC_DEFINE(MOUNTED_GETMNTINFO, 1,
|
||||
[Define if there is a function named getmntinfo for reading the list of mounted filesystems. [4.4BSD]])
|
||||
fi
|
||||
fi
|
||||
|
||||
# FIXME: add a test for netbsd-1.1 here
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
# Ultrix
|
||||
AC_MSG_CHECKING([for getmnt function])
|
||||
AC_CACHE_VAL(fu_cv_sys_mounted_getmnt,
|
||||
[AC_TRY_CPP([
|
||||
#include <sys/fs_types.h>
|
||||
#include <sys/mount.h>],
|
||||
fu_cv_sys_mounted_getmnt=yes,
|
||||
fu_cv_sys_mounted_getmnt=no)])
|
||||
AC_MSG_RESULT($fu_cv_sys_mounted_getmnt)
|
||||
if test $fu_cv_sys_mounted_getmnt = yes; then
|
||||
list_mounted_fs=found
|
||||
AC_DEFINE(MOUNTED_GETMNT, 1,
|
||||
[Define if there is a function named getmnt for reading the list of mounted filesystems. [Ultrix]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
# SVR2
|
||||
AC_MSG_CHECKING([whether it is possible to resort to fread on /etc/mnttab])
|
||||
AC_CACHE_VAL(fu_cv_sys_mounted_fread,
|
||||
[AC_TRY_CPP([#include <mnttab.h>],
|
||||
fu_cv_sys_mounted_fread=yes,
|
||||
fu_cv_sys_mounted_fread=no)])
|
||||
AC_MSG_RESULT($fu_cv_sys_mounted_fread)
|
||||
if test $fu_cv_sys_mounted_fread = yes; then
|
||||
list_mounted_fs=found
|
||||
AC_DEFINE(MOUNTED_FREAD, 1,
|
||||
[Define if there is no specific function for reading the list of mounted filesystems. fread will be used to read /etc/mnttab. [SVR2]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$list_mounted_fs"; then
|
||||
AC_MSG_ERROR([could not determine how to read list of mounted filesystems])
|
||||
# FIXME -- no need to abort building the whole package
|
||||
# Cannot build mountlist.c or anything that needs its functions
|
||||
fi
|
||||
|
||||
AC_CHECKING(how to get filesystem space usage)
|
||||
space=no
|
||||
|
||||
# Perform only the link test since it seems there are no variants of the
|
||||
# statvfs function. This check is more than just AC_CHECK_FUNCS(statvfs)
|
||||
# because that got a false positive on SCO OSR5. Adding the declaration
|
||||
# of a `struct statvfs' causes this test to fail (as it should) on such
|
||||
# systems. That system is reported to work fine with STAT_STATFS4 which
|
||||
# is what it gets when this test fails.
|
||||
if test $space = no; then
|
||||
# SVR4
|
||||
AC_CACHE_CHECK([statvfs function (SVR4)], fu_cv_sys_stat_statvfs,
|
||||
[AC_TRY_LINK([#include <sys/types.h>
|
||||
#include <sys/statvfs.h>],
|
||||
[struct statvfs fsd; statvfs (0, &fsd);],
|
||||
fu_cv_sys_stat_statvfs=yes,
|
||||
fu_cv_sys_stat_statvfs=no)])
|
||||
if test $fu_cv_sys_stat_statvfs = yes; then
|
||||
space=yes
|
||||
AC_DEFINE(STAT_STATVFS, 1,
|
||||
[Define if there is a function named statvfs. [SVR4]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test $space = no; then
|
||||
# DEC Alpha running OSF/1
|
||||
AC_MSG_CHECKING([for 3-argument statfs function (DEC OSF/1)])
|
||||
AC_CACHE_VAL(fu_cv_sys_stat_statfs3_osf1,
|
||||
[AC_TRY_RUN([
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/mount.h>
|
||||
int main ()
|
||||
{
|
||||
struct statfs fsd;
|
||||
fsd.f_fsize = 0;
|
||||
return (statfs (".", &fsd, sizeof (struct statfs)));
|
||||
}],
|
||||
fu_cv_sys_stat_statfs3_osf1=yes,
|
||||
fu_cv_sys_stat_statfs3_osf1=no,
|
||||
fu_cv_sys_stat_statfs3_osf1=no)])
|
||||
AC_MSG_RESULT($fu_cv_sys_stat_statfs3_osf1)
|
||||
if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
|
||||
space=yes
|
||||
AC_DEFINE(STAT_STATFS3_OSF1, 1,
|
||||
[Define if statfs takes 3 args. [DEC Alpha running OSF/1]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test $space = no; then
|
||||
# AIX
|
||||
AC_MSG_CHECKING([for two-argument statfs with statfs.bsize dnl
|
||||
member (AIX, 4.3BSD)])
|
||||
AC_CACHE_VAL(fu_cv_sys_stat_statfs2_bsize,
|
||||
[AC_TRY_RUN([
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_MOUNT_H
|
||||
#include <sys/mount.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_VFS_H
|
||||
#include <sys/vfs.h>
|
||||
#endif
|
||||
int main ()
|
||||
{
|
||||
struct statfs fsd;
|
||||
fsd.f_bsize = 0;
|
||||
return (statfs (".", &fsd));
|
||||
}],
|
||||
fu_cv_sys_stat_statfs2_bsize=yes,
|
||||
fu_cv_sys_stat_statfs2_bsize=no,
|
||||
fu_cv_sys_stat_statfs2_bsize=no)])
|
||||
AC_MSG_RESULT($fu_cv_sys_stat_statfs2_bsize)
|
||||
if test $fu_cv_sys_stat_statfs2_bsize = yes; then
|
||||
space=yes
|
||||
AC_DEFINE(STAT_STATFS2_BSIZE, 1,
|
||||
[Define if statfs takes 2 args and struct statfs has a field named f_bsize. [4.3BSD, SunOS 4, HP-UX, AIX PS/2]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test $space = no; then
|
||||
# SVR3
|
||||
AC_MSG_CHECKING([for four-argument statfs (AIX-3.2.5, SVR3)])
|
||||
AC_CACHE_VAL(fu_cv_sys_stat_statfs4,
|
||||
[AC_TRY_RUN([#include <sys/types.h>
|
||||
#include <sys/statfs.h>
|
||||
int main ()
|
||||
{
|
||||
struct statfs fsd;
|
||||
return (statfs (".", &fsd, sizeof fsd, 0));
|
||||
}],
|
||||
fu_cv_sys_stat_statfs4=yes,
|
||||
fu_cv_sys_stat_statfs4=no,
|
||||
fu_cv_sys_stat_statfs4=no)])
|
||||
AC_MSG_RESULT($fu_cv_sys_stat_statfs4)
|
||||
if test $fu_cv_sys_stat_statfs4 = yes; then
|
||||
space=yes
|
||||
AC_DEFINE(STAT_STATFS4, 1,
|
||||
[Define if statfs takes 4 args. [SVR3, Dynix, Irix, Dolphin]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test $space = no; then
|
||||
# 4.4BSD and NetBSD
|
||||
AC_MSG_CHECKING([for two-argument statfs with statfs.fsize dnl
|
||||
member (4.4BSD and NetBSD)])
|
||||
AC_CACHE_VAL(fu_cv_sys_stat_statfs2_fsize,
|
||||
[AC_TRY_RUN([#include <sys/types.h>
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_MOUNT_H
|
||||
#include <sys/mount.h>
|
||||
#endif
|
||||
int main ()
|
||||
{
|
||||
struct statfs fsd;
|
||||
fsd.f_fsize = 0;
|
||||
return (statfs (".", &fsd));
|
||||
}],
|
||||
fu_cv_sys_stat_statfs2_fsize=yes,
|
||||
fu_cv_sys_stat_statfs2_fsize=no,
|
||||
fu_cv_sys_stat_statfs2_fsize=no)])
|
||||
AC_MSG_RESULT($fu_cv_sys_stat_statfs2_fsize)
|
||||
if test $fu_cv_sys_stat_statfs2_fsize = yes; then
|
||||
space=yes
|
||||
AC_DEFINE(STAT_STATFS2_FSIZE, 1,
|
||||
[Define if statfs takes 2 args and struct statfs has a field named f_fsize. [4.4BSD, NetBSD]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test $space = no; then
|
||||
# Ultrix
|
||||
AC_MSG_CHECKING([for two-argument statfs with struct fs_data (Ultrix)])
|
||||
AC_CACHE_VAL(fu_cv_sys_stat_fs_data,
|
||||
[AC_TRY_RUN([#include <sys/types.h>
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_MOUNT_H
|
||||
#include <sys/mount.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_FS_TYPES_H
|
||||
#include <sys/fs_types.h>
|
||||
#endif
|
||||
int main ()
|
||||
{
|
||||
struct fs_data fsd;
|
||||
/* Ultrix's statfs returns 1 for success,
|
||||
0 for not mounted, -1 for failure. */
|
||||
return (statfs (".", &fsd) != 1);
|
||||
}],
|
||||
fu_cv_sys_stat_fs_data=yes,
|
||||
fu_cv_sys_stat_fs_data=no,
|
||||
fu_cv_sys_stat_fs_data=no)])
|
||||
AC_MSG_RESULT($fu_cv_sys_stat_fs_data)
|
||||
if test $fu_cv_sys_stat_fs_data = yes; then
|
||||
space=yes
|
||||
AC_DEFINE(STAT_STATFS2_FS_DATA, 1,
|
||||
[Define if statfs takes 2 args and the second argument has type struct fs_data. [Ultrix]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test $space = no; then
|
||||
# SVR2
|
||||
AC_TRY_CPP([#include <sys/filsys.h>],
|
||||
AC_DEFINE(STAT_READ_FILSYS, 1,
|
||||
[Define if there is no specific function for reading filesystems usage information and you have the <sys/filsys.h> header file. [SVR2]])
|
||||
space=yes)
|
||||
fi
|
||||
|
||||
if test -n "$list_mounted_fs" && test $space != no; then
|
||||
DF_PROG="df"
|
||||
# AC_LIBOBJ(fsusage)
|
||||
# AC_LIBOBJ(mountlist)
|
||||
fi
|
||||
|
||||
# Check for SunOS statfs brokenness wrt partitions 2GB and larger.
|
||||
# If <sys/vfs.h> exists and struct statfs has a member named f_spare,
|
||||
# enable the work-around code in fsusage.c.
|
||||
AC_MSG_CHECKING([for statfs that truncates block counts])
|
||||
AC_CACHE_VAL(fu_cv_sys_truncating_statfs,
|
||||
[AC_TRY_COMPILE([
|
||||
#if !defined(sun) && !defined(__sun)
|
||||
choke -- this is a workaround for a Sun-specific problem
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <sys/vfs.h>],
|
||||
[struct statfs t; long c = *(t.f_spare);],
|
||||
fu_cv_sys_truncating_statfs=yes,
|
||||
fu_cv_sys_truncating_statfs=no,
|
||||
)])
|
||||
if test $fu_cv_sys_truncating_statfs = yes; then
|
||||
AC_DEFINE(STATFS_TRUNCATES_BLOCK_COUNTS, 1,
|
||||
[Define if the block counts reported by statfs may be truncated to 2GB and the correct values may be stored in the f_spare array. [SunOS 4.1.2, 4.1.3, and 4.1.3_U1 are reported to have this problem. SunOS 4.1.1 seems not to be affected.]])
|
||||
fi
|
||||
AC_MSG_RESULT($fu_cv_sys_truncating_statfs)
|
||||
|
||||
AC_CHECKING(for AFS)
|
||||
test -d /afs && AC_DEFINE(AFS, 1, [Define if you have the Andrew File System.])
|
||||
])
|
||||
|
||||
|
||||
m4_include([libgtop-sysdeps.m4])
|
||||
1513
aclocal.m4
vendored
Normal file
20
autogen.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
(test -f $srcdir/configure.ac \
|
||||
&& test -f $srcdir/copyright.txt \
|
||||
&& test -d $srcdir/sysdeps) || {
|
||||
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
||||
echo " top-level gnome directory"
|
||||
exit 1
|
||||
}
|
||||
|
||||
which gnome-autogen.sh || {
|
||||
echo "You need to install gnome-common from the GNOME CVS"
|
||||
exit 1
|
||||
}
|
||||
REQUIRED_AUTOMAKE_VERSION=1.9
|
||||
. gnome-autogen.sh
|
||||
347
compile
Executable file
@@ -0,0 +1,347 @@
|
||||
#! /bin/sh
|
||||
# Wrapper for compilers which do not understand '-c -o'.
|
||||
|
||||
scriptversion=2012-10-14.11; # UTC
|
||||
|
||||
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
|
||||
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||
#
|
||||
# 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
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# This file is maintained in Automake, please report
|
||||
# bugs to <bug-automake@gnu.org> or send patches to
|
||||
# <automake-patches@gnu.org>.
|
||||
|
||||
nl='
|
||||
'
|
||||
|
||||
# We need space, tab and new line, in precisely that order. Quoting is
|
||||
# there to prevent tools from complaining about whitespace usage.
|
||||
IFS=" "" $nl"
|
||||
|
||||
file_conv=
|
||||
|
||||
# func_file_conv build_file lazy
|
||||
# Convert a $build file to $host form and store it in $file
|
||||
# Currently only supports Windows hosts. If the determined conversion
|
||||
# type is listed in (the comma separated) LAZY, no conversion will
|
||||
# take place.
|
||||
func_file_conv ()
|
||||
{
|
||||
file=$1
|
||||
case $file in
|
||||
/ | /[!/]*) # absolute file, and not a UNC file
|
||||
if test -z "$file_conv"; then
|
||||
# lazily determine how to convert abs files
|
||||
case `uname -s` in
|
||||
MINGW*)
|
||||
file_conv=mingw
|
||||
;;
|
||||
CYGWIN*)
|
||||
file_conv=cygwin
|
||||
;;
|
||||
*)
|
||||
file_conv=wine
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case $file_conv/,$2, in
|
||||
*,$file_conv,*)
|
||||
;;
|
||||
mingw/*)
|
||||
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
||||
;;
|
||||
cygwin/*)
|
||||
file=`cygpath -m "$file" || echo "$file"`
|
||||
;;
|
||||
wine/*)
|
||||
file=`winepath -w "$file" || echo "$file"`
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# func_cl_dashL linkdir
|
||||
# Make cl look for libraries in LINKDIR
|
||||
func_cl_dashL ()
|
||||
{
|
||||
func_file_conv "$1"
|
||||
if test -z "$lib_path"; then
|
||||
lib_path=$file
|
||||
else
|
||||
lib_path="$lib_path;$file"
|
||||
fi
|
||||
linker_opts="$linker_opts -LIBPATH:$file"
|
||||
}
|
||||
|
||||
# func_cl_dashl library
|
||||
# Do a library search-path lookup for cl
|
||||
func_cl_dashl ()
|
||||
{
|
||||
lib=$1
|
||||
found=no
|
||||
save_IFS=$IFS
|
||||
IFS=';'
|
||||
for dir in $lib_path $LIB
|
||||
do
|
||||
IFS=$save_IFS
|
||||
if $shared && test -f "$dir/$lib.dll.lib"; then
|
||||
found=yes
|
||||
lib=$dir/$lib.dll.lib
|
||||
break
|
||||
fi
|
||||
if test -f "$dir/$lib.lib"; then
|
||||
found=yes
|
||||
lib=$dir/$lib.lib
|
||||
break
|
||||
fi
|
||||
if test -f "$dir/lib$lib.a"; then
|
||||
found=yes
|
||||
lib=$dir/lib$lib.a
|
||||
break
|
||||
fi
|
||||
done
|
||||
IFS=$save_IFS
|
||||
|
||||
if test "$found" != yes; then
|
||||
lib=$lib.lib
|
||||
fi
|
||||
}
|
||||
|
||||
# func_cl_wrapper cl arg...
|
||||
# Adjust compile command to suit cl
|
||||
func_cl_wrapper ()
|
||||
{
|
||||
# Assume a capable shell
|
||||
lib_path=
|
||||
shared=:
|
||||
linker_opts=
|
||||
for arg
|
||||
do
|
||||
if test -n "$eat"; then
|
||||
eat=
|
||||
else
|
||||
case $1 in
|
||||
-o)
|
||||
# configure might choose to run compile as 'compile cc -o foo foo.c'.
|
||||
eat=1
|
||||
case $2 in
|
||||
*.o | *.[oO][bB][jJ])
|
||||
func_file_conv "$2"
|
||||
set x "$@" -Fo"$file"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
func_file_conv "$2"
|
||||
set x "$@" -Fe"$file"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
-I)
|
||||
eat=1
|
||||
func_file_conv "$2" mingw
|
||||
set x "$@" -I"$file"
|
||||
shift
|
||||
;;
|
||||
-I*)
|
||||
func_file_conv "${1#-I}" mingw
|
||||
set x "$@" -I"$file"
|
||||
shift
|
||||
;;
|
||||
-l)
|
||||
eat=1
|
||||
func_cl_dashl "$2"
|
||||
set x "$@" "$lib"
|
||||
shift
|
||||
;;
|
||||
-l*)
|
||||
func_cl_dashl "${1#-l}"
|
||||
set x "$@" "$lib"
|
||||
shift
|
||||
;;
|
||||
-L)
|
||||
eat=1
|
||||
func_cl_dashL "$2"
|
||||
;;
|
||||
-L*)
|
||||
func_cl_dashL "${1#-L}"
|
||||
;;
|
||||
-static)
|
||||
shared=false
|
||||
;;
|
||||
-Wl,*)
|
||||
arg=${1#-Wl,}
|
||||
save_ifs="$IFS"; IFS=','
|
||||
for flag in $arg; do
|
||||
IFS="$save_ifs"
|
||||
linker_opts="$linker_opts $flag"
|
||||
done
|
||||
IFS="$save_ifs"
|
||||
;;
|
||||
-Xlinker)
|
||||
eat=1
|
||||
linker_opts="$linker_opts $2"
|
||||
;;
|
||||
-*)
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
|
||||
func_file_conv "$1"
|
||||
set x "$@" -Tp"$file"
|
||||
shift
|
||||
;;
|
||||
*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
|
||||
func_file_conv "$1" mingw
|
||||
set x "$@" "$file"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
shift
|
||||
done
|
||||
if test -n "$linker_opts"; then
|
||||
linker_opts="-link$linker_opts"
|
||||
fi
|
||||
exec "$@" $linker_opts
|
||||
exit 1
|
||||
}
|
||||
|
||||
eat=
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No command. Try '$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: compile [--help] [--version] PROGRAM [ARGS]
|
||||
|
||||
Wrapper for compilers which do not understand '-c -o'.
|
||||
Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
|
||||
arguments, and rename the output as expected.
|
||||
|
||||
If you are trying to build a whole package this is not the
|
||||
right script to run: please start by reading the file 'INSTALL'.
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "compile $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
|
||||
func_cl_wrapper "$@" # Doesn't return...
|
||||
;;
|
||||
esac
|
||||
|
||||
ofile=
|
||||
cfile=
|
||||
|
||||
for arg
|
||||
do
|
||||
if test -n "$eat"; then
|
||||
eat=
|
||||
else
|
||||
case $1 in
|
||||
-o)
|
||||
# configure might choose to run compile as 'compile cc -o foo foo.c'.
|
||||
# So we strip '-o arg' only if arg is an object.
|
||||
eat=1
|
||||
case $2 in
|
||||
*.o | *.obj)
|
||||
ofile=$2
|
||||
;;
|
||||
*)
|
||||
set x "$@" -o "$2"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*.c)
|
||||
cfile=$1
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set x "$@" "$1"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
shift
|
||||
done
|
||||
|
||||
if test -z "$ofile" || test -z "$cfile"; then
|
||||
# If no '-o' option was seen then we might have been invoked from a
|
||||
# pattern rule where we don't need one. That is ok -- this is a
|
||||
# normal compilation that the losing compiler can handle. If no
|
||||
# '.c' file was seen then we are probably linking. That is also
|
||||
# ok.
|
||||
exec "$@"
|
||||
fi
|
||||
|
||||
# Name of file we expect compiler to create.
|
||||
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
|
||||
|
||||
# Create the lock directory.
|
||||
# Note: use '[/\\:.-]' here to ensure that we don't use the same name
|
||||
# that we are using for the .o file. Also, base the name on the expected
|
||||
# object file name, since that is what matters with a parallel build.
|
||||
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
|
||||
while true; do
|
||||
if mkdir "$lockdir" >/dev/null 2>&1; then
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
# FIXME: race condition here if user kills between mkdir and trap.
|
||||
trap "rmdir '$lockdir'; exit 1" 1 2 15
|
||||
|
||||
# Run the compile.
|
||||
"$@"
|
||||
ret=$?
|
||||
|
||||
if test -f "$cofile"; then
|
||||
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
|
||||
elif test -f "${cofile}bj"; then
|
||||
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
|
||||
fi
|
||||
|
||||
rmdir "$lockdir"
|
||||
exit $ret
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
||||
1462
config.guess
vendored
Executable file
453
config.h.in
Normal file
@@ -0,0 +1,453 @@
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define if you have the Andrew File System. */
|
||||
#undef AFS
|
||||
|
||||
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
||||
systems. This function is required for `alloca.c' support on those systems.
|
||||
*/
|
||||
#undef CRAY_STACKSEG_END
|
||||
|
||||
/* Define to 1 if using `alloca.c'. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
/* Define to 1 if translation of program messages to the user's native
|
||||
language is requested. */
|
||||
#undef ENABLE_NLS
|
||||
|
||||
/* Define to the gettext package used by the library */
|
||||
#undef GETTEXT_PACKAGE
|
||||
|
||||
/* Same as LINUX_VERSION_CODE either from <linux/version.h> or from the
|
||||
running kernel (if there are no configured kernel sources). */
|
||||
#undef GLIBTOP_LINUX_VERSION_CODE
|
||||
|
||||
/* Solaris release code (eg. 20501 for Solaris 2.5.1). */
|
||||
#undef GLIBTOP_SOLARIS_RELEASE
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#undef HAVE_ALLOCA
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
#undef HAVE_ALLOCA_H
|
||||
|
||||
/* Define to 1 if you have the `bcopy' function. */
|
||||
#undef HAVE_BCOPY
|
||||
|
||||
/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
|
||||
CoreFoundation framework. */
|
||||
#undef HAVE_CFLOCALECOPYCURRENT
|
||||
|
||||
/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
|
||||
the CoreFoundation framework. */
|
||||
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
|
||||
|
||||
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
||||
*/
|
||||
#undef HAVE_DCGETTEXT
|
||||
|
||||
/* Define to 1 if you have the `dlerror' function. */
|
||||
#undef HAVE_DLERROR
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the `dlopen' function. */
|
||||
#undef HAVE_DLOPEN
|
||||
|
||||
/* Define to 1 if you have the `endgrent' function. */
|
||||
#undef HAVE_ENDGRENT
|
||||
|
||||
/* Define to 1 if you have the `endpwent' function. */
|
||||
#undef HAVE_ENDPWENT
|
||||
|
||||
/* Define to 1 if you have the `fchdir' function. */
|
||||
#undef HAVE_FCHDIR
|
||||
|
||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
#undef HAVE_FCNTL_H
|
||||
|
||||
/* Define to 1 if you have the `ftime' function. */
|
||||
#undef HAVE_FTIME
|
||||
|
||||
/* Define to 1 if you have the `ftruncate' function. */
|
||||
#undef HAVE_FTRUNCATE
|
||||
|
||||
/* Define to 1 if you have the `getcwd' function. */
|
||||
#undef HAVE_GETCWD
|
||||
|
||||
/* Define to 1 if you have the `getloadavg' function. */
|
||||
#undef HAVE_GETLOADAVG
|
||||
|
||||
/* Define to 1 if you have the `getmntent' function. */
|
||||
#undef HAVE_GETMNTENT
|
||||
|
||||
/* Define to 1 if you have the `getmntinfo' function. */
|
||||
#undef HAVE_GETMNTINFO
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#undef HAVE_GETPAGESIZE
|
||||
|
||||
/* Define if the GNU gettext() function is already present or preinstalled. */
|
||||
#undef HAVE_GETTEXT
|
||||
|
||||
/* Define to 1 if you have the `gettimeofday' function. */
|
||||
#undef HAVE_GETTIMEOFDAY
|
||||
|
||||
/* Define to 1 if you have the `getwd' function. */
|
||||
#undef HAVE_GETWD
|
||||
|
||||
/* Define if I4B is available */
|
||||
#undef HAVE_I4B
|
||||
|
||||
/* Define if I4B accounting is supported */
|
||||
#undef HAVE_I4B_ACCT
|
||||
|
||||
/* Define if you have the iconv() function and it works. */
|
||||
#undef HAVE_ICONV
|
||||
|
||||
/* defined if you have ifaddrs.h */
|
||||
#undef HAVE_IFADDRS_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the `isascii' function. */
|
||||
#undef HAVE_ISASCII
|
||||
|
||||
/* defined if you have linux/isdn.h */
|
||||
#undef HAVE_ISDN_H
|
||||
|
||||
/* Define to 1 if you have the `lchown' function. */
|
||||
#undef HAVE_LCHOWN
|
||||
|
||||
/* Define to 1 if you have the `kstat' library (-lkstat). */
|
||||
#undef HAVE_LIBKSTAT
|
||||
|
||||
/* Define to 1 if you have the `mach' library (-lmach). */
|
||||
#undef HAVE_LIBMACH
|
||||
|
||||
/* Define to 1 if you have the `nsl' library (-lnsl). */
|
||||
#undef HAVE_LIBNSL
|
||||
|
||||
/* Define to 1 if you have the `resolv' library (-lresolv). */
|
||||
#undef HAVE_LIBRESOLV
|
||||
|
||||
/* Define to 1 if you have the `socket' library (-lsocket). */
|
||||
#undef HAVE_LIBSOCKET
|
||||
|
||||
/* Define to 1 if you have the <linux/version.h> header file. */
|
||||
#undef HAVE_LINUX_VERSION_H
|
||||
|
||||
/* Define to 1 if you have the `listmntent' function. */
|
||||
#undef HAVE_LISTMNTENT
|
||||
|
||||
/* Define to 1 if you have the `memcpy' function. */
|
||||
#undef HAVE_MEMCPY
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the `mkfifo' function. */
|
||||
#undef HAVE_MKFIFO
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
#undef HAVE_MMAP
|
||||
|
||||
/* Define to 1 if you have the <mntent.h> header file. */
|
||||
#undef HAVE_MNTENT_H
|
||||
|
||||
/* Define to 1 if you have the <mnttab.h> header file. */
|
||||
#undef HAVE_MNTTAB_H
|
||||
|
||||
/* Define to 1 if you have the <net/if_var.h> header file. */
|
||||
#undef HAVE_NET_IF_VAR_H
|
||||
|
||||
/* Define to 1 if you have the <procfs.h> header file. */
|
||||
#undef HAVE_PROCFS_H
|
||||
|
||||
/* Define to 1 if you have the `putenv' function. */
|
||||
#undef HAVE_PUTENV
|
||||
|
||||
/* Define if struct sockaddr_un has a sun_len member */
|
||||
#undef HAVE_SOCKADDR_SUN_LEN
|
||||
|
||||
/* Define if BSD sockets are supported */
|
||||
#undef HAVE_SOCKETS
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the `strchr' function. */
|
||||
#undef HAVE_STRCHR
|
||||
|
||||
/* Define to 1 if you have the `strdup' function. */
|
||||
#undef HAVE_STRDUP
|
||||
|
||||
/* Define to 1 if you have the `strerror' function. */
|
||||
#undef HAVE_STRERROR
|
||||
|
||||
/* Define to 1 if you have the `strftime' function. */
|
||||
#undef HAVE_STRFTIME
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the `strrchr' function. */
|
||||
#undef HAVE_STRRCHR
|
||||
|
||||
/* Define to 1 if you have the `strtoul' function. */
|
||||
#undef HAVE_STRTOUL
|
||||
|
||||
/* Define to 1 if `st_rdev' is a member of `struct stat'. */
|
||||
#undef HAVE_STRUCT_STAT_ST_RDEV
|
||||
|
||||
/* Define to 1 if your `struct stat' has `st_rdev'. Deprecated, use
|
||||
`HAVE_STRUCT_STAT_ST_RDEV' instead. */
|
||||
#undef HAVE_ST_RDEV
|
||||
|
||||
/* Define to 1 if you have the `swapctl' function. */
|
||||
#undef HAVE_SWAPCTL
|
||||
|
||||
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
||||
#undef HAVE_SYS_BITYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/filsys.h> header file. */
|
||||
#undef HAVE_SYS_FILSYS_H
|
||||
|
||||
/* Define to 1 if you have the <sys/fstyp.h> header file. */
|
||||
#undef HAVE_SYS_FSTYP_H
|
||||
|
||||
/* Define to 1 if you have the <sys/fs/s5param.h> header file. */
|
||||
#undef HAVE_SYS_FS_S5PARAM_H
|
||||
|
||||
/* Define to 1 if you have the <sys/fs_types.h> header file. */
|
||||
#undef HAVE_SYS_FS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/mount.h> header file. */
|
||||
#undef HAVE_SYS_MOUNT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
|
||||
/* Define to 1 if you have the <sys/procfs.h> header file. */
|
||||
#undef HAVE_SYS_PROCFS_H
|
||||
|
||||
/* Define to 1 if you have the <sys/statfs.h> header file. */
|
||||
#undef HAVE_SYS_STATFS_H
|
||||
|
||||
/* Define to 1 if you have the <sys/statvfs.h> header file. */
|
||||
#undef HAVE_SYS_STATVFS_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/vfs.h> header file. */
|
||||
#undef HAVE_SYS_VFS_H
|
||||
|
||||
/* Define to 1 if you have the `uname' function. */
|
||||
#undef HAVE_UNAME
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the 'vmgetinfo' function in libperfstat */
|
||||
#undef HAVE_VMGETINFO
|
||||
|
||||
/* Define to 1 if you have the `vprintf' function. */
|
||||
#undef HAVE_VPRINTF
|
||||
|
||||
/* Define if Xauth is supported */
|
||||
#undef HAVE_XAUTH
|
||||
|
||||
/* Define to disable debugging */
|
||||
#undef LIBGTOP_ENABLE_DEBUG
|
||||
|
||||
/* Define to enable fatal warnings */
|
||||
#undef LIBGTOP_FATAL_WARNINGS
|
||||
|
||||
/* Define if libgtop server is required */
|
||||
#undef LIBGTOP_NEED_SERVER
|
||||
|
||||
/* The path to the libgtop server */
|
||||
#undef LIBGTOP_SERVER
|
||||
|
||||
/* The libgtop server version */
|
||||
#undef LIBGTOP_SERVER_VERSION
|
||||
|
||||
/* The libgtop version number */
|
||||
#undef LIBGTOP_VERSION
|
||||
|
||||
/* The libgtop version number as an integer */
|
||||
#undef LIBGTOP_VERSION_CODE
|
||||
|
||||
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
||||
#undef LT_OBJDIR
|
||||
|
||||
/* Define if there is no specific function for reading the list of mounted
|
||||
filesystems. fread will be used to read /etc/mnttab. [SVR2] */
|
||||
#undef MOUNTED_FREAD
|
||||
|
||||
/* Define if (like SVR2) there is no specific function for reading the list of
|
||||
mounted filesystems, and your system has these header files: <sys/fstyp.h>
|
||||
and <sys/statfs.h>. [SVR3] */
|
||||
#undef MOUNTED_FREAD_FSTYP
|
||||
|
||||
/* Define if there is a function named getfsstat for reading the list of
|
||||
mounted filesystems. [DEC Alpha running OSF/1] */
|
||||
#undef MOUNTED_GETFSSTAT
|
||||
|
||||
/* Define if there is a function named getmnt for reading the list of mounted
|
||||
filesystems. [Ultrix] */
|
||||
#undef MOUNTED_GETMNT
|
||||
|
||||
/* Define if there is a function named getmntent for reading the list of
|
||||
mounted filesystems, and that function takes a single argument. [4.3BSD,
|
||||
SunOS, HP-UX, Dynix, Irix] */
|
||||
#undef MOUNTED_GETMNTENT1
|
||||
|
||||
/* Define if there is a function named getmntent for reading the list of
|
||||
mounted filesystems, and that function takes two arguments. [SVR4] */
|
||||
#undef MOUNTED_GETMNTENT2
|
||||
|
||||
/* Define if there is a function named getmntinfo for reading the list of
|
||||
mounted filesystems. [4.4BSD] */
|
||||
#undef MOUNTED_GETMNTINFO
|
||||
|
||||
/* Define if there is a function named listmntent that can be used to list all
|
||||
mounted filesystems. [UNICOS] */
|
||||
#undef MOUNTED_LISTMNTENT
|
||||
|
||||
/* Define if there is a function named mntctl that can be used to read the
|
||||
list of mounted filesystems, and there is a system header file that
|
||||
declares `struct vmount.' [AIX] */
|
||||
#undef MOUNTED_VMOUNT
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#undef PACKAGE_URL
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define as the return type of signal handlers (`int' or `void'). */
|
||||
#undef RETSIGTYPE
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at runtime.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown */
|
||||
#undef STACK_DIRECTION
|
||||
|
||||
/* Define if the block counts reported by statfs may be truncated to 2GB and
|
||||
the correct values may be stored in the f_spare array. [SunOS 4.1.2, 4.1.3,
|
||||
and 4.1.3_U1 are reported to have this problem. SunOS 4.1.1 seems not to be
|
||||
affected.] */
|
||||
#undef STATFS_TRUNCATES_BLOCK_COUNTS
|
||||
|
||||
/* Define if there is no specific function for reading filesystems usage
|
||||
information and you have the <sys/filsys.h> header file. [SVR2] */
|
||||
#undef STAT_READ_FILSYS
|
||||
|
||||
/* Define if statfs takes 2 args and struct statfs has a field named f_bsize.
|
||||
[4.3BSD, SunOS 4, HP-UX, AIX PS/2] */
|
||||
#undef STAT_STATFS2_BSIZE
|
||||
|
||||
/* Define if statfs takes 2 args and struct statfs has a field named f_fsize.
|
||||
[4.4BSD, NetBSD] */
|
||||
#undef STAT_STATFS2_FSIZE
|
||||
|
||||
/* Define if statfs takes 2 args and the second argument has type struct
|
||||
fs_data. [Ultrix] */
|
||||
#undef STAT_STATFS2_FS_DATA
|
||||
|
||||
/* Define if statfs takes 3 args. [DEC Alpha running OSF/1] */
|
||||
#undef STAT_STATFS3_OSF1
|
||||
|
||||
/* Define if statfs takes 4 args. [SVR3, Dynix, Irix, Dolphin] */
|
||||
#undef STAT_STATFS4
|
||||
|
||||
/* Define if there is a function named statvfs. [SVR4] */
|
||||
#undef STAT_STATVFS
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Define to 1 if we need to define KERNEL to get 'struct msginfo' */
|
||||
#undef STRUCT_MSGINFO_NEEDS_KERNEL
|
||||
|
||||
/* Define to 1 if we need to define _KERNEL to get 'struct msginfo' */
|
||||
#undef STRUCT_MSGINFO_NEEDS__KERNEL
|
||||
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#undef TIME_WITH_SYS_TIME
|
||||
|
||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||
#undef TM_IN_SYS_TIME
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Define to 1 if the X Window System is missing or not being used. */
|
||||
#undef X_DISPLAY_MISSING
|
||||
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
/* Note that we are building libgtop rather than using it */
|
||||
#undef _IN_LIBGTOP
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
#undef const
|
||||
|
||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||
#undef gid_t
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#undef inline
|
||||
#endif
|
||||
|
||||
/* Define to `long int' if <sys/types.h> does not define. */
|
||||
#undef off_t
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
#undef pid_t
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
||||
|
||||
/* Define to `int' if <sys/types.h> does not define. */
|
||||
#undef ssize_t
|
||||
|
||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||
#undef uid_t
|
||||
684
config.rpath
Executable file
@@ -0,0 +1,684 @@
|
||||
#! /bin/sh
|
||||
# Output a system dependent set of variables, describing how to set the
|
||||
# run time search path of shared libraries in an executable.
|
||||
#
|
||||
# Copyright 1996-2014 Free Software Foundation, Inc.
|
||||
# Taken from GNU libtool, 2001
|
||||
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
#
|
||||
# The first argument passed to this file is the canonical host specification,
|
||||
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
|
||||
# or
|
||||
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
|
||||
# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
|
||||
# should be set by the caller.
|
||||
#
|
||||
# The set of defined variables is at the end of this script.
|
||||
|
||||
# Known limitations:
|
||||
# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
|
||||
# than 256 bytes, otherwise the compiler driver will dump core. The only
|
||||
# known workaround is to choose shorter directory names for the build
|
||||
# directory and/or the installation directory.
|
||||
|
||||
# All known linkers require a '.a' archive for static linking (except MSVC,
|
||||
# which needs '.lib').
|
||||
libext=a
|
||||
shrext=.so
|
||||
|
||||
host="$1"
|
||||
host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
||||
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
||||
|
||||
# Code taken from libtool.m4's _LT_CC_BASENAME.
|
||||
|
||||
for cc_temp in $CC""; do
|
||||
case $cc_temp in
|
||||
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
|
||||
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
|
||||
\-*) ;;
|
||||
*) break;;
|
||||
esac
|
||||
done
|
||||
cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
|
||||
|
||||
# Code taken from libtool.m4's _LT_COMPILER_PIC.
|
||||
|
||||
wl=
|
||||
if test "$GCC" = yes; then
|
||||
wl='-Wl,'
|
||||
else
|
||||
case "$host_os" in
|
||||
aix*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
mingw* | cygwin* | pw32* | os2* | cegcc*)
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
case $cc_basename in
|
||||
ecc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
icc* | ifort*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
lf95*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
nagfor*)
|
||||
wl='-Wl,-Wl,,'
|
||||
;;
|
||||
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
ccc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
xl* | bgxl* | bgf* | mpixl*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
como)
|
||||
wl='-lopt='
|
||||
;;
|
||||
*)
|
||||
case `$CC -V 2>&1 | sed 5q` in
|
||||
*Sun\ F* | *Sun*Fortran*)
|
||||
wl=
|
||||
;;
|
||||
*Sun\ C*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
newsos6)
|
||||
;;
|
||||
*nto* | *qnx*)
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
rdos*)
|
||||
;;
|
||||
solaris*)
|
||||
case $cc_basename in
|
||||
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
|
||||
wl='-Qoption ld '
|
||||
;;
|
||||
*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sunos4*)
|
||||
wl='-Qoption ld '
|
||||
;;
|
||||
sysv4 | sysv4.2uw2* | sysv4.3*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
;;
|
||||
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
unicos*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
uts4*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Code taken from libtool.m4's _LT_LINKER_SHLIBS.
|
||||
|
||||
hardcode_libdir_flag_spec=
|
||||
hardcode_libdir_separator=
|
||||
hardcode_direct=no
|
||||
hardcode_minus_L=no
|
||||
|
||||
case "$host_os" in
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
if test "$GCC" != yes; then
|
||||
with_gnu_ld=no
|
||||
fi
|
||||
;;
|
||||
interix*)
|
||||
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
||||
with_gnu_ld=yes
|
||||
;;
|
||||
openbsd*)
|
||||
with_gnu_ld=no
|
||||
;;
|
||||
esac
|
||||
|
||||
ld_shlibs=yes
|
||||
if test "$with_gnu_ld" = yes; then
|
||||
# Set some defaults for GNU ld with shared library support. These
|
||||
# are reset later if shared libraries are not supported. Putting them
|
||||
# here allows them to be overridden if necessary.
|
||||
# Unlike libtool, we use -rpath here, not --rpath, since the documented
|
||||
# option of GNU ld is called -rpath, not --rpath.
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
case "$host_os" in
|
||||
aix[3-9]*)
|
||||
# On AIX/PPC, the GNU linker is very broken
|
||||
if test "$host_cpu" != ia64; then
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
case "$host_cpu" in
|
||||
powerpc)
|
||||
;;
|
||||
m68k)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
beos*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
haiku*)
|
||||
;;
|
||||
interix[3-9]*)
|
||||
hardcode_direct=no
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
netbsd*)
|
||||
;;
|
||||
solaris*)
|
||||
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
|
||||
ld_shlibs=no
|
||||
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
|
||||
case `$LD -v 2>&1` in
|
||||
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test "$ld_shlibs" = no; then
|
||||
hardcode_libdir_flag_spec=
|
||||
fi
|
||||
else
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
# Note: this linker hardcodes the directories in LIBPATH if there
|
||||
# are no directories specified by -L.
|
||||
hardcode_minus_L=yes
|
||||
if test "$GCC" = yes; then
|
||||
# Neither direct hardcoding nor static linking is supported with a
|
||||
# broken collect2.
|
||||
hardcode_direct=unsupported
|
||||
fi
|
||||
;;
|
||||
aix[4-9]*)
|
||||
if test "$host_cpu" = ia64; then
|
||||
# On IA64, the linker does run time linking by default, so we don't
|
||||
# have to do anything special.
|
||||
aix_use_runtimelinking=no
|
||||
else
|
||||
aix_use_runtimelinking=no
|
||||
# Test if we are trying to use run time linking or normal
|
||||
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
|
||||
# need to do runtime linking.
|
||||
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
|
||||
for ld_flag in $LDFLAGS; do
|
||||
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
|
||||
aix_use_runtimelinking=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_separator=':'
|
||||
if test "$GCC" = yes; then
|
||||
case $host_os in aix4.[012]|aix4.[012].*)
|
||||
collect2name=`${CC} -print-prog-name=collect2`
|
||||
if test -f "$collect2name" && \
|
||||
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
||||
then
|
||||
# We have reworked collect2
|
||||
:
|
||||
else
|
||||
# We have old collect2
|
||||
hardcode_direct=unsupported
|
||||
hardcode_minus_L=yes
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_libdir_separator=
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
# Begin _LT_AC_SYS_LIBPATH_AIX.
|
||||
echo 'int main () { return 0; }' > conftest.c
|
||||
${CC} ${LDFLAGS} conftest.c -o conftest
|
||||
aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||
}'`
|
||||
if test -z "$aix_libpath"; then
|
||||
aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||
}'`
|
||||
fi
|
||||
if test -z "$aix_libpath"; then
|
||||
aix_libpath="/usr/lib:/lib"
|
||||
fi
|
||||
rm -f conftest.c conftest
|
||||
# End _LT_AC_SYS_LIBPATH_AIX.
|
||||
if test "$aix_use_runtimelinking" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
||||
else
|
||||
if test "$host_cpu" = ia64; then
|
||||
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
|
||||
else
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
case "$host_cpu" in
|
||||
powerpc)
|
||||
;;
|
||||
m68k)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
bsdi[45]*)
|
||||
;;
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec=' '
|
||||
libext=lib
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
hardcode_direct=no
|
||||
if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
dgux*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
freebsd2.[01]*)
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
hpux9*)
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
hpux10*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
fi
|
||||
;;
|
||||
hpux11*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
case $host_cpu in
|
||||
hppa*64*|ia64*)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
*)
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
netbsd*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
newsos6)
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
*nto* | *qnx*)
|
||||
;;
|
||||
openbsd*)
|
||||
if test -f /usr/libexec/ld.so; then
|
||||
hardcode_direct=yes
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
else
|
||||
case "$host_os" in
|
||||
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
os2*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
osf3*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
osf4* | osf5*)
|
||||
if test "$GCC" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
else
|
||||
# Both cc and cxx compiler support -rpath directly
|
||||
hardcode_libdir_flag_spec='-rpath $libdir'
|
||||
fi
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
solaris*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
sysv4)
|
||||
case $host_vendor in
|
||||
sni)
|
||||
hardcode_direct=yes # is this really true???
|
||||
;;
|
||||
siemens)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
motorola)
|
||||
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sysv4.3*)
|
||||
;;
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec; then
|
||||
ld_shlibs=yes
|
||||
fi
|
||||
;;
|
||||
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6*)
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
|
||||
hardcode_libdir_separator=':'
|
||||
;;
|
||||
uts4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Check dynamic linker characteristics
|
||||
# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
|
||||
# Unlike libtool.m4, here we don't care about _all_ names of the library, but
|
||||
# only about the one the linker finds when passed -lNAME. This is the last
|
||||
# element of library_names_spec in libtool.m4, or possibly two of them if the
|
||||
# linker has special search rules.
|
||||
library_names_spec= # the last element of library_names_spec in libtool.m4
|
||||
libname_spec='lib$name'
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
aix[4-9]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
amigaos*)
|
||||
case "$host_cpu" in
|
||||
powerpc*)
|
||||
library_names_spec='$libname$shrext' ;;
|
||||
m68k)
|
||||
library_names_spec='$libname.a' ;;
|
||||
esac
|
||||
;;
|
||||
beos*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
bsdi[45]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
cygwin* | mingw* | pw32* | cegcc*)
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.dll.a $libname.lib'
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
shrext=.dylib
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
dgux*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
freebsd[23].*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
gnu*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
haiku*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
case $host_cpu in
|
||||
ia64*)
|
||||
shrext=.so
|
||||
;;
|
||||
hppa*64*)
|
||||
shrext=.sl
|
||||
;;
|
||||
*)
|
||||
shrext=.sl
|
||||
;;
|
||||
esac
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
interix[3-9]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
library_names_spec='$libname$shrext'
|
||||
case "$host_os" in
|
||||
irix5* | nonstopux*)
|
||||
libsuff= shlibsuff=
|
||||
;;
|
||||
*)
|
||||
case $LD in
|
||||
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
|
||||
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
|
||||
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
|
||||
*) libsuff= shlibsuff= ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
knetbsd*-gnu)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
netbsd*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
newsos6)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
*nto* | *qnx*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
openbsd*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
os2*)
|
||||
libname_spec='$name'
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
rdos*)
|
||||
;;
|
||||
solaris*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sunos4*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
sysv4 | sysv4.3*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
tpf*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
uts4*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
esac
|
||||
|
||||
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
||||
escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
|
||||
escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
|
||||
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
|
||||
|
||||
# How to pass a linker flag through the compiler.
|
||||
wl="$escaped_wl"
|
||||
|
||||
# Static library suffix (normally "a").
|
||||
libext="$libext"
|
||||
|
||||
# Shared library suffix (normally "so").
|
||||
shlibext="$shlibext"
|
||||
|
||||
# Format of library name prefix.
|
||||
libname_spec="$escaped_libname_spec"
|
||||
|
||||
# Library names that the linker finds when passed -lNAME.
|
||||
library_names_spec="$escaped_library_names_spec"
|
||||
|
||||
# Flag to hardcode \$libdir into a binary during linking.
|
||||
# This must work even if \$libdir does not exist.
|
||||
hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
|
||||
|
||||
# Whether we need a single -rpath flag with a separated argument.
|
||||
hardcode_libdir_separator="$hardcode_libdir_separator"
|
||||
|
||||
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_direct="$hardcode_direct"
|
||||
|
||||
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_minus_L="$hardcode_minus_L"
|
||||
|
||||
EOF
|
||||
1823
config.sub
vendored
Executable file
386
configure.ac
Normal file
@@ -0,0 +1,386 @@
|
||||
dnl
|
||||
dnl Configure script for the Gnome library
|
||||
dnl
|
||||
|
||||
m4_define([libgtop_major_version], [2])
|
||||
m4_define([libgtop_minor_version], [38])
|
||||
m4_define([libgtop_micro_version], [0])
|
||||
m4_define([libgtop_version], [libgtop_major_version.libgtop_minor_version.libgtop_micro_version])
|
||||
|
||||
dnl increment if the interface has additions, changes, removals.
|
||||
m4_define([libgtop_current], [11])
|
||||
|
||||
dnl increment any time the source changes; set to
|
||||
dnl 0 if you increment CURRENT
|
||||
m4_define([libgtop_revision], [0])
|
||||
|
||||
dnl increment if any interfaces have been added; set to 0
|
||||
dnl if any interfaces have been removed. removal has
|
||||
dnl precedence over adding, so set to 0 if both happened.
|
||||
m4_define([libgtop_age], [0])
|
||||
|
||||
# Increase each time you change the client/server protocol.
|
||||
m4_define([libgtop_server_version], [5])
|
||||
|
||||
# Version code calculation
|
||||
m4_define([libgtop_version_code], [m4_eval(libgtop_major_version * 1000000 + libgtop_minor_version * 1000 + libgtop_micro_version)])
|
||||
|
||||
AC_PREREQ(2.62)
|
||||
AC_INIT([libgtop], [libgtop_version],
|
||||
[http://bugzilla.gnome.org/enter_bug.cgi?product=libgtop])
|
||||
AC_CONFIG_SRCDIR(copyright.txt)
|
||||
AC_CONFIG_HEADERS(config.h)
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
AM_INIT_AUTOMAKE([-Wno-portability tar-ustar no-dist-gzip dist-xz])
|
||||
AM_SILENT_RULES([yes])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
GOBJECT_INTROSPECTION_CHECK([0.6.7])
|
||||
|
||||
AC_SUBST(ACLOCAL_AMFLAGS, [\${ACLOCAL_FLAGS}])
|
||||
|
||||
AC_SUBST(LIBGTOP_MAJOR_VERSION, [libgtop_major_version])
|
||||
AC_SUBST(LIBGTOP_MINOR_VERSION, [libgtop_minor_version])
|
||||
AC_SUBST(LIBGTOP_MICRO_VERSION, [libgtop_micro_version])
|
||||
AC_SUBST(LIBGTOP_SERVER_VERSION, [libgtop_server_version])
|
||||
AC_SUBST(LIBGTOP_VERSION, [libgtop_version])
|
||||
AC_SUBST(LIBGTOP_VERSION_CODE, [libgtop_version_code])
|
||||
|
||||
# libtool versioning
|
||||
AC_SUBST(LT_VERSION_INFO,
|
||||
["-version-info libgtop_current:libgtop_revision:libgtop_age"])
|
||||
|
||||
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I ."
|
||||
|
||||
AC_ISC_POSIX
|
||||
AC_PROG_CC
|
||||
AC_STDC_HEADERS
|
||||
dnl AC_ARG_PROGRAM
|
||||
|
||||
dnl We need this at some places.
|
||||
libgtop_top_builddir=`pwd`
|
||||
AC_SUBST(libgtop_top_builddir)
|
||||
|
||||
dnl We don't use `AC_PROG_AWK' since it checks for mawk first which
|
||||
dnl does not work for libgtop.
|
||||
AC_CHECK_PROGS(AWK, gawk awk, )
|
||||
test -z "$AWK" && AC_MSG_ERROR([Sorry, you need a working awk interpreter.])
|
||||
|
||||
dnl Most people should have a working perl interpreter on their system
|
||||
AC_CHECK_PROGS(PERL, perl5 perl)
|
||||
test -z "$PERL" && AC_MSG_ERROR([You need to have a working perl interpreter.])
|
||||
|
||||
AC_CHECK_TOOL(CC,gcc)
|
||||
AC_CHECK_TOOL(RANLIB,ranlib)
|
||||
AC_CHECK_TOOL(AS,as)
|
||||
AC_CHECK_TOOL(AR,ar)
|
||||
|
||||
export CC CXX RANLIB LD AS AR
|
||||
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
AC_PROG_MAKE_SET
|
||||
|
||||
export cross_compiling
|
||||
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
AM_CONDITIONAL(CROSS_COMPILING, test "x$cross_compiling" = xyes)
|
||||
|
||||
GNOME_LIBGTOP_SYSDEPS
|
||||
GNOME_LIBGTOP_TYPES
|
||||
|
||||
GLIB_REQUIRED=2.6.0
|
||||
GOBJECT_REQUIRED=2.26.0
|
||||
|
||||
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GOBJECT_REQUIRED)
|
||||
AC_SUBST(GLIB_CFLAGS)
|
||||
AC_SUBST(GLIB_LIBS)
|
||||
|
||||
AC_CHECK_HEADER(ifaddrs.h, [HAVE_IFADDRS_H=yes], [HAVE_IFADDRS_H=no])
|
||||
if test x$HAVE_IFADDRS_H = xyes ; then
|
||||
AC_DEFINE(HAVE_IFADDRS_H, 1, [defined if you have ifaddrs.h])
|
||||
fi
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
AC_C_INLINE
|
||||
AC_TYPE_OFF_T
|
||||
AC_TYPE_PID_T
|
||||
AC_TYPE_SIZE_T
|
||||
AC_STRUCT_ST_RDEV
|
||||
AC_HEADER_TIME
|
||||
AC_STRUCT_TM
|
||||
AC_TYPE_UID_T
|
||||
|
||||
dnl For SunOS
|
||||
AC_CHECK_TYPE(ssize_t, int)
|
||||
AC_CHECK_HEADERS(memory.h)
|
||||
AC_CHECK_HEADERS(string.h strings.h, break)
|
||||
AC_REPLACE_FUNCS(strerror)
|
||||
|
||||
dnl dlopen() and dlsym()
|
||||
DL_LIB=
|
||||
AC_CHECK_FUNCS(dlopen,,[
|
||||
AC_CHECK_LIB(dl, dlopen, DL_LIB="-ldl", [
|
||||
AC_CHECK_LIB(dld, shl_load, DL_LIB="-ldld", [
|
||||
AC_CHECK_FUNCS(dlopen, DL_LIB="", DL_LIB="")
|
||||
])
|
||||
])
|
||||
])
|
||||
oLIBS="$LIBS"
|
||||
LIBS="$LIBS $DL_LIB"
|
||||
AC_CHECK_FUNCS(dlerror,,)
|
||||
LIBS="$oLIBS"
|
||||
AC_SUBST(DL_LIB)
|
||||
|
||||
dnl Linux
|
||||
AC_CHECK_HEADER(linux/isdn.h,[HAVE_ISDN_H=yes],[HAVE_ISDN_H=no])
|
||||
if test x$HAVE_ISDN_H = xyes ; then
|
||||
AC_DEFINE(HAVE_ISDN_H, 1, [defined if you have linux/isdn.h])
|
||||
fi
|
||||
|
||||
dnl AIX
|
||||
AC_CHECK_LIB(perfstat, vmgetinfo,
|
||||
AC_DEFINE(HAVE_VMGETINFO, 1,
|
||||
[Define to 1 if you have the 'vmgetinfo' function in libperfstat]))
|
||||
|
||||
dnl Solaris
|
||||
case "$host_os" in
|
||||
solaris*)
|
||||
AC_CHECK_LIB(kstat, kstat_open)
|
||||
AC_CHECK_FUNCS(getloadavg swapctl)
|
||||
AC_CHECK_HEADERS(procfs.h sys/procfs.h, break)
|
||||
|
||||
|
||||
dnl Some versions of Solaris require -lelf for -lkvm
|
||||
case $host_os in
|
||||
solaris[[8-9]] | solaris2.[[0-9]].*)
|
||||
AC_CHECK_LIB(kvm, kvm_open,[
|
||||
LIBS="-lkvm $LIBS"
|
||||
],[AC_MSG_CHECKING(for kvm_open in -lkvm with -lelf)
|
||||
AC_CACHE_VAL(ac_cv_lib_kvm_with_elf,
|
||||
[ac_save_LIBS="$LIBS"
|
||||
LIBS="-lkvm -lelf $LIBS"
|
||||
AC_TRY_LINK([char kvm_open();], [kvm_open()],
|
||||
ac_cv_lib_kvm_with_elf=yes, ac_cv_lib_kvm_with_elf=no)
|
||||
LIBS="$ac_save_LIBS"
|
||||
])
|
||||
if test "$ac_cv_lib_kvm_with_elf" = "yes"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
LIBS="-lkvm -lelf $LIBS"
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
])
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
dnl For DEC OSF1
|
||||
AC_CHECK_LIB(mach, vm_statistics)
|
||||
|
||||
dnl For some broken libc5 systems (Debian 1.3)
|
||||
saved_CFLAGS=$CFLAGS
|
||||
CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
||||
GCC_NEED_DECLARATION(program_invocation_name, [
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
])
|
||||
|
||||
CFLAGS=$saved_CFLAGS
|
||||
|
||||
AC_CHECK_FUNC(socket,
|
||||
[AC_CHECK_HEADER(netinet/in.h,
|
||||
[AC_CHECK_HEADER(arpa/inet.h, [
|
||||
AC_DEFINE(HAVE_SOCKETS, 1, [Define if BSD sockets are supported])
|
||||
AC_MSG_CHECKING("for sun_len member in struct sockaddr_un")
|
||||
AC_TRY_LINK([
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
],
|
||||
[static struct sockaddr_un x; x.sun_len = 1;],
|
||||
[AC_MSG_RESULT(yes); AC_DEFINE(HAVE_SOCKADDR_SUN_LEN, 1, [Define if struct sockaddr_un has a sun_len member])],
|
||||
[AC_MSG_RESULT(no)])])])])
|
||||
|
||||
dnl Checks for library functions.
|
||||
AC_FUNC_ALLOCA
|
||||
AC_FUNC_MMAP
|
||||
AC_TYPE_SIGNAL
|
||||
AC_FUNC_STRFTIME
|
||||
AC_CHECK_FUNCS(getcwd gettimeofday getwd putenv strdup strtoul uname)
|
||||
|
||||
AM_GNU_GETTEXT_VERSION([0.19.4])
|
||||
AM_GNU_GETTEXT([external])
|
||||
|
||||
GETTEXT_PACKAGE=libgtop-2.0
|
||||
AC_SUBST(GETTEXT_PACKAGE)
|
||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
|
||||
[Define to the gettext package used by the library])
|
||||
|
||||
AC_PATH_XTRA
|
||||
|
||||
dnl For Solaris
|
||||
dnl Please don't move this before AC_PATH_XTRA
|
||||
AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
|
||||
AC_CHECK_FUNC(connect,,[AC_CHECK_LIB(socket,connect)])
|
||||
AC_CHECK_FUNC(inet_aton,,[AC_CHECK_LIB(resolv,inet_aton)])
|
||||
|
||||
dnl The construct foo=`echo $w1 $w2 $w3` fails on some systems if $w1 = -e or -n
|
||||
dnl So we use the following instead.
|
||||
dnl XE_SPACE(var, words)
|
||||
define([XE_SPACE],[
|
||||
T=""
|
||||
for W in $2; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done
|
||||
$1="$T"
|
||||
])dnl
|
||||
|
||||
dnl Autodetect Xauth
|
||||
dnl -lXau is only used by gnuclient, so use a special variable for Xauth X libs
|
||||
saved_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
|
||||
test -z "$with_xauth" && { AC_CHECK_HEADER(X11/Xauth.h, ,with_xauth=no) }
|
||||
test -z "$with_xauth" && { AC_CHECK_LIB(Xau, XauGetAuthByAddr,[:],with_xauth=no, $X_LIBS) }
|
||||
test -z "$with_xauth" && with_xauth=yes
|
||||
if test "$with_xauth" = "yes"; then
|
||||
AC_DEFINE(HAVE_XAUTH, 1, [Define if Xauth is supported])
|
||||
XE_SPACE(libs_xauth, $X_LIBS -lXau)
|
||||
fi
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
AC_SUBST(libs_xauth)
|
||||
|
||||
dnl For diskusage stuff
|
||||
GNOME_FILEUTILS_CHECKS
|
||||
|
||||
dnl Debugging
|
||||
AC_ARG_ENABLE(debug,
|
||||
AS_HELP_STRING([--enable-debug],
|
||||
[Turn on debugging @<:@default=no@:>@]),
|
||||
AC_DEFINE(LIBGTOP_ENABLE_DEBUG, 1, [Define to enable debugging]),
|
||||
AC_DEFINE(LIBGTOP_ENABLE_DEBUG, 0, [Define to disable debugging]))
|
||||
AC_ARG_ENABLE(fatal-warnings,
|
||||
AS_HELP_STRING([--enable-fatal-warnings],
|
||||
[Make all warnings fatal @<:@debug=no@:>@]),
|
||||
AC_DEFINE(LIBGTOP_FATAL_WARNINGS, 1,
|
||||
[Define to enable fatal warnings]))
|
||||
|
||||
dnl These definitions are expanded in make.
|
||||
LIBGTOP_LIBS='-L$(libdir)'
|
||||
LIBGTOP_INCS='-I$(includedir)/libgtop-2.0'
|
||||
|
||||
if test x$libgtop_have_sysinfo = xyes ; then
|
||||
LIBGTOP_INCS="$LIBGTOP_INCS -DHAVE_LIBGTOP_SYSINFO"
|
||||
fi
|
||||
|
||||
LIBGTOP_INCS="$LIBGTOP_INCS $GLIB_CFLAGS"
|
||||
|
||||
libgtop_save_prefix="$prefix"
|
||||
libgtop_save_exec_prefix="$exec_prefix"
|
||||
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
||||
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
|
||||
LIBGTOP_BINDIR=`eval echo "${bindir}"`
|
||||
LIBGTOP_SERVER=`eval echo "${bindir}/libgtop_server2"`
|
||||
prefix="$libgtop_save_prefix"
|
||||
exec_prefix="$libgtop_save_exec_prefix"
|
||||
|
||||
sysdeps_dir="$libgtop_sysdeps_dir"
|
||||
AC_SUBST(sysdeps_dir)
|
||||
|
||||
if test -z "$LIBGTOP_EXTRA_LIBS" ; then
|
||||
LIBGTOP_EXTRA_LIBS="$libs_xauth"
|
||||
else
|
||||
LIBGTOP_EXTRA_LIBS="$LIBGTOP_EXTRA_LIBS $libs_xauth"
|
||||
fi
|
||||
|
||||
LIBGTOP_EXTRA_LIBS="$GLIB_LIBS $LIBGTOP_EXTRA_LIBS"
|
||||
|
||||
LIBGTOP_LIBS="$LIBGTOP_LIBS"
|
||||
|
||||
if test "$GCC" = "yes" ; then
|
||||
CFLAGS="\
|
||||
-Winline \
|
||||
-Wall \
|
||||
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
|
||||
-Wnested-externs -Wpointer-arith \
|
||||
-Wcast-align -Wsign-compare \
|
||||
$CFLAGS"
|
||||
fi
|
||||
|
||||
AM_CPPFLAGS="-I\$(top_builddir) -I\$(top_srcdir) -I\$(top_srcdir)/sysdeps/$sysdeps_dir -I\$(top_srcdir)/include $GLIB_CFLAGS $X_CFLAGS"
|
||||
|
||||
# Add various defines to the config.h file ...
|
||||
AH_VERBATIM([_GNU_SOURCE],
|
||||
[/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE
|
||||
#endif])
|
||||
AC_DEFINE([_IN_LIBGTOP], 1,
|
||||
[Note that we are building libgtop rather than using it])
|
||||
AC_DEFINE([LIBGTOP_VERSION], ["libgtop_version"],
|
||||
[The libgtop version number])
|
||||
AC_DEFINE([LIBGTOP_SERVER_VERSION], ["libgtop_server_version"],
|
||||
[The libgtop server version])
|
||||
AC_DEFINE([LIBGTOP_VERSION_CODE], [libgtop_version_code],
|
||||
[The libgtop version number as an integer])
|
||||
AC_DEFINE_UNQUOTED([LIBGTOP_SERVER], ["$LIBGTOP_SERVER"],
|
||||
[The path to the libgtop server])
|
||||
|
||||
AC_SUBST(AM_CPPFLAGS)
|
||||
|
||||
AC_SUBST(LIBGTOP_EXTRA_LIBS)
|
||||
AC_SUBST(GLIB_LIBS)
|
||||
AC_SUBST(LIBGTOP_LIBS)
|
||||
AC_SUBST(LIBGTOP_INCS)
|
||||
AC_SUBST(LIBGTOP_BINDIR)
|
||||
AC_SUBST(LIBGTOP_SERVER)
|
||||
|
||||
if test x$libgtop_need_server = xyes ; then
|
||||
sysdeps_suid_lib="\$(top_builddir)/sysdeps/\$(sysdeps_dir)/libgtop_sysdeps_suid-2.0.la"
|
||||
server_programs='libgtop_server2'
|
||||
else
|
||||
sysdeps_suid_lib=
|
||||
server_programs=
|
||||
fi
|
||||
AC_SUBST(sysdeps_suid_lib)
|
||||
AC_SUBST(server_programs)
|
||||
|
||||
GTK_DOC_CHECK(1.4)
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
libgtop.spec
|
||||
po/Makefile.in
|
||||
misc/Makefile
|
||||
include/Makefile
|
||||
include/glibtop/Makefile
|
||||
sysdeps/Makefile
|
||||
sysdeps/common/Makefile
|
||||
sysdeps/stub/Makefile
|
||||
sysdeps/stub_suid/Makefile
|
||||
sysdeps/sun4/Makefile
|
||||
sysdeps/osf1/Makefile
|
||||
sysdeps/linux/Makefile
|
||||
sysdeps/freebsd/Makefile
|
||||
sysdeps/solaris/Makefile
|
||||
sysdeps/aix/Makefile
|
||||
sysdeps/bsd/Makefile
|
||||
sysdeps/darwin/Makefile
|
||||
sysdeps/cygwin/Makefile
|
||||
sysdeps/openbsd/Makefile
|
||||
src/Makefile
|
||||
src/daemon/Makefile
|
||||
lib/Makefile
|
||||
examples/Makefile
|
||||
doc/Makefile
|
||||
doc/reference/Makefile
|
||||
doc/reference/version.xml
|
||||
libgtop-2.0.pc
|
||||
libgtopconfig.h
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
22
copyright.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
/* Copyright (C) 1998-99 Martin Baulig
|
||||
This file is part of LibGTop 2.0.
|
||||
|
||||
Contributed by Martin Baulig <martin@home-of-linux.org>, April 1998.
|
||||
Contributed by Benoît Dejean <TazForEver@dlfp.org>, 2004.
|
||||
|
||||
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.
|
||||
*/
|
||||
|
||||
791
depcomp
Executable file
@@ -0,0 +1,791 @@
|
||||
#! /bin/sh
|
||||
# depcomp - compile a program generating dependencies as side-effects
|
||||
|
||||
scriptversion=2013-05-30.07; # UTC
|
||||
|
||||
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No command. Try '$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
|
||||
|
||||
Run PROGRAMS ARGS to compile a file, generating dependencies
|
||||
as side-effects.
|
||||
|
||||
Environment variables:
|
||||
depmode Dependency tracking mode.
|
||||
source Source file read by 'PROGRAMS ARGS'.
|
||||
object Object file output by 'PROGRAMS ARGS'.
|
||||
DEPDIR directory where to store dependencies.
|
||||
depfile Dependency file to output.
|
||||
tmpdepfile Temporary file to use when outputting dependencies.
|
||||
libtool Whether libtool is used (yes/no).
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "depcomp $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
||||
# Get the directory component of the given path, and save it in the
|
||||
# global variables '$dir'. Note that this directory component will
|
||||
# be either empty or ending with a '/' character. This is deliberate.
|
||||
set_dir_from ()
|
||||
{
|
||||
case $1 in
|
||||
*/*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
|
||||
*) dir=;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Get the suffix-stripped basename of the given path, and save it the
|
||||
# global variable '$base'.
|
||||
set_base_from ()
|
||||
{
|
||||
base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
|
||||
}
|
||||
|
||||
# If no dependency file was actually created by the compiler invocation,
|
||||
# we still have to create a dummy depfile, to avoid errors with the
|
||||
# Makefile "include basename.Plo" scheme.
|
||||
make_dummy_depfile ()
|
||||
{
|
||||
echo "#dummy" > "$depfile"
|
||||
}
|
||||
|
||||
# Factor out some common post-processing of the generated depfile.
|
||||
# Requires the auxiliary global variable '$tmpdepfile' to be set.
|
||||
aix_post_process_depfile ()
|
||||
{
|
||||
# If the compiler actually managed to produce a dependency file,
|
||||
# post-process it.
|
||||
if test -f "$tmpdepfile"; then
|
||||
# Each line is of the form 'foo.o: dependency.h'.
|
||||
# Do two passes, one to just change these to
|
||||
# $object: dependency.h
|
||||
# and one to simply output
|
||||
# dependency.h:
|
||||
# which is needed to avoid the deleted-header problem.
|
||||
{ sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
|
||||
sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
|
||||
} > "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
else
|
||||
make_dummy_depfile
|
||||
fi
|
||||
}
|
||||
|
||||
# A tabulation character.
|
||||
tab=' '
|
||||
# A newline character.
|
||||
nl='
|
||||
'
|
||||
# Character ranges might be problematic outside the C locale.
|
||||
# These definitions help.
|
||||
upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||
lower=abcdefghijklmnopqrstuvwxyz
|
||||
digits=0123456789
|
||||
alpha=${upper}${lower}
|
||||
|
||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
|
||||
depfile=${depfile-`echo "$object" |
|
||||
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
|
||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||
|
||||
rm -f "$tmpdepfile"
|
||||
|
||||
# Avoid interferences from the environment.
|
||||
gccflag= dashmflag=
|
||||
|
||||
# Some modes work just like other modes, but use different flags. We
|
||||
# parameterize here, but still list the modes in the big case below,
|
||||
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||
# here, because this file can only contain one case statement.
|
||||
if test "$depmode" = hp; then
|
||||
# HP compiler uses -M and no extra arg.
|
||||
gccflag=-M
|
||||
depmode=gcc
|
||||
fi
|
||||
|
||||
if test "$depmode" = dashXmstdout; then
|
||||
# This is just like dashmstdout with a different argument.
|
||||
dashmflag=-xM
|
||||
depmode=dashmstdout
|
||||
fi
|
||||
|
||||
cygpath_u="cygpath -u -f -"
|
||||
if test "$depmode" = msvcmsys; then
|
||||
# This is just like msvisualcpp but w/o cygpath translation.
|
||||
# Just convert the backslash-escaped backslashes to single forward
|
||||
# slashes to satisfy depend.m4
|
||||
cygpath_u='sed s,\\\\,/,g'
|
||||
depmode=msvisualcpp
|
||||
fi
|
||||
|
||||
if test "$depmode" = msvc7msys; then
|
||||
# This is just like msvc7 but w/o cygpath translation.
|
||||
# Just convert the backslash-escaped backslashes to single forward
|
||||
# slashes to satisfy depend.m4
|
||||
cygpath_u='sed s,\\\\,/,g'
|
||||
depmode=msvc7
|
||||
fi
|
||||
|
||||
if test "$depmode" = xlc; then
|
||||
# IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
|
||||
gccflag=-qmakedep=gcc,-MF
|
||||
depmode=gcc
|
||||
fi
|
||||
|
||||
case "$depmode" in
|
||||
gcc3)
|
||||
## gcc 3 implements dependency tracking that does exactly what
|
||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
|
||||
## the command line argument order; so add the flags where they
|
||||
## appear in depend2.am. Note that the slowdown incurred here
|
||||
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
|
||||
*) set fnord "$@" "$arg" ;;
|
||||
esac
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
done
|
||||
"$@"
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
mv "$tmpdepfile" "$depfile"
|
||||
;;
|
||||
|
||||
gcc)
|
||||
## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
|
||||
## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
|
||||
## (see the conditional assignment to $gccflag above).
|
||||
## There are various ways to get dependency output from gcc. Here's
|
||||
## why we pick this rather obscure method:
|
||||
## - Don't want to use -MD because we'd like the dependencies to end
|
||||
## up in a subdir. Having to rename by hand is ugly.
|
||||
## (We might end up doing this anyway to support other compilers.)
|
||||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||
## -MM, not -M (despite what the docs say). Also, it might not be
|
||||
## supported by the other compilers which use the 'gcc' depmode.
|
||||
## - Using -M directly means running the compiler twice (even worse
|
||||
## than renaming).
|
||||
if test -z "$gccflag"; then
|
||||
gccflag=-MD,
|
||||
fi
|
||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
# The second -e expression handles DOS-style file names with drive
|
||||
# letters.
|
||||
sed -e 's/^[^:]*: / /' \
|
||||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||
## This next piece of magic avoids the "deleted header file" problem.
|
||||
## The problem is that when a header file which appears in a .P file
|
||||
## is deleted, the dependency causes make to die (because there is
|
||||
## typically no way to rebuild the header). We avoid this by adding
|
||||
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||
## this for us directly.
|
||||
## Some versions of gcc put a space before the ':'. On the theory
|
||||
## that the space means something, we add a space to the output as
|
||||
## well. hp depmode also adds that space, but also prefixes the VPATH
|
||||
## to the object. Take care to not repeat it in the output.
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
tr ' ' "$nl" < "$tmpdepfile" \
|
||||
| sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
|
||||
| sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
sgi)
|
||||
if test "$libtool" = yes; then
|
||||
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||
else
|
||||
"$@" -MDupdate "$tmpdepfile"
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
|
||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||
echo "$object : \\" > "$depfile"
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# clever and replace this with sed code, as IRIX sed won't handle
|
||||
# lines with more than a fixed number of characters (4096 in
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||
# the IRIX cc adds comments like '#:fec' to the end of the
|
||||
# dependency line.
|
||||
tr ' ' "$nl" < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
|
||||
| tr "$nl" ' ' >> "$depfile"
|
||||
echo >> "$depfile"
|
||||
# The second pass generates a dummy entry for each header file.
|
||||
tr ' ' "$nl" < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||
>> "$depfile"
|
||||
else
|
||||
make_dummy_depfile
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
xlc)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
aix)
|
||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||
# in a .u file. In older versions, this file always lives in the
|
||||
# current directory. Also, the AIX compiler puts '$object:' at the
|
||||
# start of each line; $object doesn't have directory information.
|
||||
# Version 6 uses the directory in both cases.
|
||||
set_dir_from "$object"
|
||||
set_base_from "$object"
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.u
|
||||
tmpdepfile2=$base.u
|
||||
tmpdepfile3=$dir.libs/$base.u
|
||||
"$@" -Wc,-M
|
||||
else
|
||||
tmpdepfile1=$dir$base.u
|
||||
tmpdepfile2=$dir$base.u
|
||||
tmpdepfile3=$dir$base.u
|
||||
"$@" -M
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
aix_post_process_depfile
|
||||
;;
|
||||
|
||||
tcc)
|
||||
# tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
|
||||
# FIXME: That version still under development at the moment of writing.
|
||||
# Make that this statement remains true also for stable, released
|
||||
# versions.
|
||||
# It will wrap lines (doesn't matter whether long or short) with a
|
||||
# trailing '\', as in:
|
||||
#
|
||||
# foo.o : \
|
||||
# foo.c \
|
||||
# foo.h \
|
||||
#
|
||||
# It will put a trailing '\' even on the last line, and will use leading
|
||||
# spaces rather than leading tabs (at least since its commit 0394caf7
|
||||
# "Emit spaces for -MD").
|
||||
"$@" -MD -MF "$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
# Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
|
||||
# We have to change lines of the first kind to '$object: \'.
|
||||
sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
|
||||
# And for each line of the second kind, we have to emit a 'dep.h:'
|
||||
# dummy dependency, to avoid the deleted-header problem.
|
||||
sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
## The order of this option in the case statement is important, since the
|
||||
## shell code in configure will try each of these formats in the order
|
||||
## listed in this file. A plain '-MD' option would be understood by many
|
||||
## compilers, so we must ensure this comes after the gcc and icc options.
|
||||
pgcc)
|
||||
# Portland's C compiler understands '-MD'.
|
||||
# Will always output deps to 'file.d' where file is the root name of the
|
||||
# source file under compilation, even if file resides in a subdirectory.
|
||||
# The object file name does not affect the name of the '.d' file.
|
||||
# pgcc 10.2 will output
|
||||
# foo.o: sub/foo.c sub/foo.h
|
||||
# and will wrap long lines using '\' :
|
||||
# foo.o: sub/foo.c ... \
|
||||
# sub/foo.h ... \
|
||||
# ...
|
||||
set_dir_from "$object"
|
||||
# Use the source, not the object, to determine the base name, since
|
||||
# that's sadly what pgcc will do too.
|
||||
set_base_from "$source"
|
||||
tmpdepfile=$base.d
|
||||
|
||||
# For projects that build the same source file twice into different object
|
||||
# files, the pgcc approach of using the *source* file root name can cause
|
||||
# problems in parallel builds. Use a locking strategy to avoid stomping on
|
||||
# the same $tmpdepfile.
|
||||
lockdir=$base.d-lock
|
||||
trap "
|
||||
echo '$0: caught signal, cleaning up...' >&2
|
||||
rmdir '$lockdir'
|
||||
exit 1
|
||||
" 1 2 13 15
|
||||
numtries=100
|
||||
i=$numtries
|
||||
while test $i -gt 0; do
|
||||
# mkdir is a portable test-and-set.
|
||||
if mkdir "$lockdir" 2>/dev/null; then
|
||||
# This process acquired the lock.
|
||||
"$@" -MD
|
||||
stat=$?
|
||||
# Release the lock.
|
||||
rmdir "$lockdir"
|
||||
break
|
||||
else
|
||||
# If the lock is being held by a different process, wait
|
||||
# until the winning process is done or we timeout.
|
||||
while test -d "$lockdir" && test $i -gt 0; do
|
||||
sleep 1
|
||||
i=`expr $i - 1`
|
||||
done
|
||||
fi
|
||||
i=`expr $i - 1`
|
||||
done
|
||||
trap - 1 2 13 15
|
||||
if test $i -le 0; then
|
||||
echo "$0: failed to acquire lock after $numtries attempts" >&2
|
||||
echo "$0: check lockdir '$lockdir'" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
# Each line is of the form `foo.o: dependent.h',
|
||||
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
|
||||
# Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
# correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
|
||||
| sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp2)
|
||||
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
|
||||
# compilers, which have integrated preprocessors. The correct option
|
||||
# to use with these is +Maked; it writes dependencies to a file named
|
||||
# 'foo.d', which lands next to the object file, wherever that
|
||||
# happens to be.
|
||||
# Much of this is similar to the tru64 case; see comments there.
|
||||
set_dir_from "$object"
|
||||
set_base_from "$object"
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir.libs/$base.d
|
||||
"$@" -Wc,+Maked
|
||||
else
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
"$@" +Maked
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
|
||||
# Add 'dependent.h:' lines.
|
||||
sed -ne '2,${
|
||||
s/^ *//
|
||||
s/ \\*$//
|
||||
s/$/:/
|
||||
p
|
||||
}' "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
make_dummy_depfile
|
||||
fi
|
||||
rm -f "$tmpdepfile" "$tmpdepfile2"
|
||||
;;
|
||||
|
||||
tru64)
|
||||
# The Tru64 compiler uses -MD to generate dependencies as a side
|
||||
# effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
|
||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||
# dependencies in 'foo.d' instead, so we check for that too.
|
||||
# Subdirectories are respected.
|
||||
set_dir_from "$object"
|
||||
set_base_from "$object"
|
||||
|
||||
if test "$libtool" = yes; then
|
||||
# Libtool generates 2 separate objects for the 2 libraries. These
|
||||
# two compilations output dependencies in $dir.libs/$base.o.d and
|
||||
# in $dir$base.o.d. We have to check for both files, because
|
||||
# one of the two compilations can be disabled. We should prefer
|
||||
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
||||
# automatically cleaned when .libs/ is deleted, while ignoring
|
||||
# the former would cause a distcleancheck panic.
|
||||
tmpdepfile1=$dir$base.o.d # libtool 1.5
|
||||
tmpdepfile2=$dir.libs/$base.o.d # Likewise.
|
||||
tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
|
||||
"$@" -Wc,-MD
|
||||
else
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
tmpdepfile3=$dir$base.d
|
||||
"$@" -MD
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
# Same post-processing that is required for AIX mode.
|
||||
aix_post_process_depfile
|
||||
;;
|
||||
|
||||
msvc7)
|
||||
if test "$libtool" = yes; then
|
||||
showIncludes=-Wc,-showIncludes
|
||||
else
|
||||
showIncludes=-showIncludes
|
||||
fi
|
||||
"$@" $showIncludes > "$tmpdepfile"
|
||||
stat=$?
|
||||
grep -v '^Note: including file: ' "$tmpdepfile"
|
||||
if test $stat -ne 0; then
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
# The first sed program below extracts the file names and escapes
|
||||
# backslashes for cygpath. The second sed program outputs the file
|
||||
# name when reading, but also accumulates all include files in the
|
||||
# hold buffer in order to output them again at the end. This only
|
||||
# works with sed implementations that can handle large buffers.
|
||||
sed < "$tmpdepfile" -n '
|
||||
/^Note: including file: *\(.*\)/ {
|
||||
s//\1/
|
||||
s/\\/\\\\/g
|
||||
p
|
||||
}' | $cygpath_u | sort -u | sed -n '
|
||||
s/ /\\ /g
|
||||
s/\(.*\)/'"$tab"'\1 \\/p
|
||||
s/.\(.*\) \\/\1:/
|
||||
H
|
||||
$ {
|
||||
s/.*/'"$tab"'/
|
||||
G
|
||||
p
|
||||
}' >> "$depfile"
|
||||
echo >> "$depfile" # make sure the fragment doesn't end with a backslash
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvc7msys)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
#nosideeffect)
|
||||
# This comment above is used by automake to tell side-effect
|
||||
# dependency tracking mechanisms from slower ones.
|
||||
|
||||
dashmstdout)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout, regardless of -o.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove '-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
test -z "$dashmflag" && dashmflag=-M
|
||||
# Require at least two characters before searching for ':'
|
||||
# in the target name. This is to cope with DOS-style filenames:
|
||||
# a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
|
||||
"$@" $dashmflag |
|
||||
sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
# Some versions of the HPUX 10.20 sed can't process this sed invocation
|
||||
# correctly. Breaking it into two sed invocations is a workaround.
|
||||
tr ' ' "$nl" < "$tmpdepfile" \
|
||||
| sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
|
||||
| sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
dashXmstdout)
|
||||
# This case only exists to satisfy depend.m4. It is never actually
|
||||
# run, as this mode is specially recognized in the preamble.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
makedepend)
|
||||
"$@" || exit $?
|
||||
# Remove any Libtool call
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
# X makedepend
|
||||
shift
|
||||
cleared=no eat=no
|
||||
for arg
|
||||
do
|
||||
case $cleared in
|
||||
no)
|
||||
set ""; shift
|
||||
cleared=yes ;;
|
||||
esac
|
||||
if test $eat = yes; then
|
||||
eat=no
|
||||
continue
|
||||
fi
|
||||
case "$arg" in
|
||||
-D*|-I*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
# Strip any option that makedepend may not understand. Remove
|
||||
# the object too, otherwise makedepend will parse it as a source file.
|
||||
-arch)
|
||||
eat=yes ;;
|
||||
-*|$object)
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
esac
|
||||
done
|
||||
obj_suffix=`echo "$object" | sed 's/^.*\././'`
|
||||
touch "$tmpdepfile"
|
||||
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||
rm -f "$depfile"
|
||||
# makedepend may prepend the VPATH from the source file name to the object.
|
||||
# No need to regex-escape $object, excess matching of '.' is harmless.
|
||||
sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
|
||||
# Some versions of the HPUX 10.20 sed can't process the last invocation
|
||||
# correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed '1,2d' "$tmpdepfile" \
|
||||
| tr ' ' "$nl" \
|
||||
| sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
|
||||
| sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||
;;
|
||||
|
||||
cpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove '-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
"$@" -E \
|
||||
| sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||
| sed '$ s: \\$::' > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
cat < "$tmpdepfile" >> "$depfile"
|
||||
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvisualcpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case "$arg" in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
||||
set fnord "$@"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
"$@" -E 2>/dev/null |
|
||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
|
||||
echo "$tab" >> "$depfile"
|
||||
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvcmsys)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
none)
|
||||
exec "$@"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown depmode $depmode" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
||||
90
doc/ChangeLog
Normal file
@@ -0,0 +1,90 @@
|
||||
2007-02-15 Benoît Dejean <benoit@placenet.org>
|
||||
|
||||
* reference/Makefile.am:
|
||||
|
||||
Fixed distcheck.
|
||||
|
||||
2006-02-21 Benoît Dejean <benoit@placenet.org>
|
||||
|
||||
* reference.texi: Fixed glibtop_get_proc_state doc.
|
||||
Patch by Emil Nowak <emil5@go2.pl>.
|
||||
|
||||
2005-01-03 Benoît Dejean <TazForEver@dlfp.org>
|
||||
|
||||
* reference.texi: Updated.
|
||||
|
||||
2004-12-04 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* reference.texi: Updated.
|
||||
|
||||
2004-08-03 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* reference.texi: Updated.
|
||||
|
||||
2004-07-07 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* reference.texi: updated.
|
||||
Added glibtop_get_proc_argv.
|
||||
Added glibtop_fsusage.block_size.
|
||||
|
||||
2004-03-05 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
* reference.texi: update for new API
|
||||
|
||||
2003-10-20 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
* reference.texi: s/u_int64_t/guint64/
|
||||
|
||||
2003-10-20 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
* Makefile.am: removed traces of guile, intllibs and libgnomesupport
|
||||
|
||||
2002-03-12 James Henstridge <james@daa.com.au>
|
||||
|
||||
* Makefile.am (MAKEINFO): using += seems to screw up the build
|
||||
with newer automakes. Set it explicitly (using @MAKEINFO@) seems
|
||||
to be compatible with both.
|
||||
|
||||
2001-11-26 Abel Cheung <maddog@linux.org.hk>
|
||||
|
||||
* libgtop.texi, Makefile.am: Renamed to libgtop2.texi
|
||||
* about.texi: Very minor update.
|
||||
|
||||
1999-10-18 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* about.texi: Added a note about LibGTop and GNOME.
|
||||
|
||||
* reference.texi (glibtop_proc_state): Fix description of the `state'
|
||||
field for LibGTop 1.0.x.
|
||||
|
||||
1999-09-29 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* Makefile.am (MAKEINFO): Add `-I @libgtop_top_builddir@/doc' here.
|
||||
|
||||
1999-05-16 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* main.texi: This is now the main file which will @include all
|
||||
chapter files so we can use `texinfo-multiple-files-update'.
|
||||
|
||||
* reference.texi: Added all missing sections with a "not yet written"
|
||||
notice.
|
||||
|
||||
1999-05-16 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* white-paper.texi: Initial version of the LibGTop White Paper.
|
||||
|
||||
* Makefile.am: Create `auto-macros.texi' from `auto-macros.texi.in'
|
||||
which will contain some `@set' commands for the LibGTop version etc.
|
||||
|
||||
* auto-macros.texi.in: New file. This is a template for
|
||||
`auto-macros.texi' which will be automatically generated.
|
||||
|
||||
1999-05-09 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* about.texi: Split the `libgtop.texi' into one file pro chapter,
|
||||
this is the "About LibGTop".
|
||||
|
||||
* reference.texi: The "LibGTop Reference Manual".
|
||||
|
||||
* libgtop.texi: Initial version of the new LibGTop Manual.
|
||||
|
||||
8
doc/Makefile.am
Normal file
@@ -0,0 +1,8 @@
|
||||
SUBDIRS = reference
|
||||
|
||||
info_TEXINFOS = libgtop2.texi
|
||||
|
||||
libgtop2_TEXINFOS = libgtop2.texi about.texi reference.texi \
|
||||
version.texi main.texi white-paper.texi
|
||||
|
||||
AM_MAKEINFOFLAGS = -I $(libgtop_top_builddir)/doc
|
||||
1034
doc/Makefile.in
Normal file
123
doc/about.texi
Normal file
@@ -0,0 +1,123 @@
|
||||
@node About, White Paper, Top, Top
|
||||
@chapter About LibGTop
|
||||
|
||||
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.
|
||||
|
||||
@menu
|
||||
* Availability:: Where to get LibGTop
|
||||
* Supported Platforms:: Supported Platforms
|
||||
* Mailing List:: Helping with LibGTop development
|
||||
* Thanks:: People who contributed to LibGTop
|
||||
@end menu
|
||||
|
||||
@node Availability, Supported Platforms, About, About
|
||||
@section Availability
|
||||
|
||||
The master source of LibGTop is the GNOME CVS tree
|
||||
(see @uref{http://www.gnome.org} for details), but you can also get the
|
||||
latest release tarballs from
|
||||
|
||||
@display
|
||||
@uref{ftp://ftp.gnome.org/pub/GNOME/sources/libgtop/}
|
||||
@end display
|
||||
|
||||
@noindent
|
||||
or any of its mirror sites.
|
||||
|
||||
The latest stable version of LibGTop is 1.0.12 which is also the one that comes
|
||||
together with GNOME 1.0. It belongs to @code{LIBGTOP_STABLE_1_0} branch in CVS.
|
||||
Actual development occurs in the @code{libgtop-GNOME-2-0-port} which is
|
||||
currently versioned 1.90.0.
|
||||
|
||||
@node Supported Platforms, Mailing List, Availability, About
|
||||
@section Supported Platforms
|
||||
|
||||
The stable branch currently supports the following platforms:
|
||||
|
||||
@itemize @bullet
|
||||
@item All versions of Linux
|
||||
|
||||
LibGTop was tested under Linux 2.0.x and 2.2.x on the ix86 and the alpha, but
|
||||
it should also work without problems on SparcLinux or Linux 2.4.x.
|
||||
|
||||
Note: I'm speaking of the Linux kernel here, not the GNU/Linux operating system.
|
||||
|
||||
@item FreeBSD, NetBSD and OpenBSD
|
||||
|
||||
LibGTop was tested under FreeBSD 2.2.6 and 3.0, NetBSD 1.3.2 and OpenBSD 2.4.
|
||||
Support for NetBSD 1.4 was added in LibGTop 1.0.2.
|
||||
|
||||
@end itemize
|
||||
|
||||
The platforms listed above are known to be stable and working. However, if
|
||||
you're using the latest development version, you can use it on the following
|
||||
platforms as well:
|
||||
|
||||
@itemize @bullet
|
||||
@item BSD/OS
|
||||
|
||||
There is a port for BSD/OS (aka BSDI) 2.x and 3.x from Timur Bakeyev which
|
||||
should also work with 4.x. This isn't tested very well, but it should be
|
||||
working.
|
||||
|
||||
@item Digital Unix
|
||||
|
||||
There is some basic support for Digital Unix (formerly DEC OSF/1) V3.2C, but
|
||||
this may still be a bit unstable. I'm currently working on this port as time
|
||||
permits so it should be fully supported soon.
|
||||
|
||||
@item Solaris
|
||||
|
||||
The Solaris port currently works on Solaris 7 and maybe also on other releases.
|
||||
Thanks a lot to Drazen Kacar and everyone who helped working on this port. They
|
||||
have really done excellent work here and I'm pretty sure that this port will be
|
||||
fully functional on most Solaris versions in near future.
|
||||
|
||||
@end itemize
|
||||
|
||||
@node Mailing List, Thanks, Supported Platforms, About
|
||||
@section Mailing List
|
||||
|
||||
There is a @email{libgtop-devel-list@@egroups.com} mailing list for people who
|
||||
want to help with the development of LibGTop.
|
||||
|
||||
It is meant as a low-traffic, but high content-list where we can discuss
|
||||
technical details such as adding new sysdeps ports etc.
|
||||
|
||||
Especially, I'd like to see people with a deeper knowledge of operating systems
|
||||
internals joining my list so we can discuss technical details of the sysdeps
|
||||
code.
|
||||
|
||||
It is *not* for users that want to know how to compile LibGTop etc.
|
||||
|
||||
You can subscribe to this mailing list and view the mailing list archives
|
||||
on the LibGTop Page at @uref{http://www.home-of-linux.org/gnome/libgtop}.
|
||||
|
||||
@node Thanks, , Mailing List, About
|
||||
@section Thanks
|
||||
|
||||
At the place I'd like to thank the following people who contributed to
|
||||
LibGTop (listed in chronological order):
|
||||
|
||||
@itemize @bullet
|
||||
@item Sebastian Wilhelmi who had the initial idea of LibGTop and helped
|
||||
me a lot in the early beginning.
|
||||
@item Josh Sled for the initial FreeBSD port.
|
||||
@item Jeremy Lea for his BSD patches.
|
||||
@item Timur Bakeyev for the BSDI port.
|
||||
@item Drazen Kacar and the other people on the LibGTop development mailing
|
||||
list for the Solaris port.
|
||||
@item Kevin Vandersloot for the effort to port to GNOME 2.0.
|
||||
@item All people sending me patches, having good ideas, ...
|
||||
@item Everyone I have forgotten in this list ...
|
||||
@end itemize
|
||||
|
||||
1950
doc/libgtop2.info
Normal file
88
doc/libgtop2.texi
Normal file
@@ -0,0 +1,88 @@
|
||||
\input texinfo @c -*-texinfo-*-
|
||||
@c %**start of header
|
||||
@setfilename libgtop2.info
|
||||
@settitle LibGTop Reference Manual
|
||||
@setchapternewpage odd
|
||||
@c %**end of header
|
||||
|
||||
@include version.texi
|
||||
|
||||
@ifinfo
|
||||
This is the LibGTop Reference Manual version @value{VERSION}
|
||||
(last modified @value{UPDATED}).
|
||||
|
||||
Copyright 1999 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to make and distribute verbatim
|
||||
copies of this manual provided the copyright notice and
|
||||
this permission notice are preserved on all copies.
|
||||
|
||||
@ignore
|
||||
Permission is granted to process this file through TeX
|
||||
and print the results, provided the printed document
|
||||
carries a copying permission notice identical to this
|
||||
one except for the removal of this paragraph (this
|
||||
paragraph not being relevant to the printed manual).
|
||||
|
||||
@end ignore
|
||||
Permission is granted to copy and distribute modified
|
||||
versions of this manual under the conditions for
|
||||
verbatim copying, provided also that the sections
|
||||
entitled ``Copying'' and ``GNU General Public License''
|
||||
are included exactly as in the original, and provided
|
||||
that the entire resulting derived work is distributed
|
||||
under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute
|
||||
translations of this manual into another language,
|
||||
under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a
|
||||
translation approved by the Free Software Foundation.
|
||||
|
||||
@format
|
||||
@dircategory Libraries:
|
||||
@direntry
|
||||
* LibGTop2: (libgtop2). Library to get system specific data
|
||||
such as cpu and memory usage, active
|
||||
processes
|
||||
@end direntry
|
||||
@end format
|
||||
|
||||
@end ifinfo
|
||||
|
||||
@titlepage
|
||||
@title LibGTop Reference Manual
|
||||
@subtitle Version @value{VERSION} - @value{UPDATED}
|
||||
@author Martin Baulig
|
||||
|
||||
@page
|
||||
@vskip 0pt plus 1filll
|
||||
Copyright @copyright{} 1999 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to make and distribute verbatim
|
||||
copies of this manual provided the copyright notice and
|
||||
this permission notice are preserved on all copies.
|
||||
|
||||
Permission is granted to copy and distribute modified
|
||||
versions of this manual under the conditions for
|
||||
verbatim copying, provided also that the sections
|
||||
entitled ``Copying'' and ``GNU General Public License''
|
||||
are included exactly as in the original, and provided
|
||||
that the entire resulting derived work is distributed
|
||||
under the terms of a permission notice identical to this
|
||||
one.
|
||||
|
||||
Permission is granted to copy and distribute
|
||||
translations of this manual into another language,
|
||||
under the above conditions for modified versions,
|
||||
except that this permission notice may be stated in a
|
||||
translation approved by the Free Software Foundation.
|
||||
@end titlepage
|
||||
|
||||
@contents
|
||||
|
||||
@include main.texi
|
||||
|
||||
@bye
|
||||
|
||||
68
doc/main.texi
Normal file
@@ -0,0 +1,68 @@
|
||||
@node Top, About, (dir), (dir)
|
||||
|
||||
@menu
|
||||
* About:: About LibGTop
|
||||
* White Paper:: LibGTop White Paper
|
||||
* Reference Manual:: LibGTop Reference Manual
|
||||
|
||||
--- The Detailed Node Listing ---
|
||||
|
||||
About LibGTop
|
||||
|
||||
* Availability:: Where to get LibGTop
|
||||
* Supported Platforms:: Supported Platforms
|
||||
* Mailing List:: Helping with LibGTop development
|
||||
* Thanks:: People who contributed to LibGTop
|
||||
|
||||
LibGTop White Paper
|
||||
|
||||
* Introduction:: Introduction
|
||||
* Overview:: Overview
|
||||
|
||||
Overview
|
||||
|
||||
* Interface Design:: Things that need to be considered
|
||||
* Server Implementation:: The LibGTop "server"
|
||||
|
||||
LibGTop Reference Manual
|
||||
|
||||
* System Dependent:: System Dependent Functions.
|
||||
* Common Functions:: Common Functions.
|
||||
* Library Functions:: Library Functions.
|
||||
|
||||
System Dependent Functions
|
||||
|
||||
* glibtop_cpu:: CPU Usage.
|
||||
* glibtop_mem:: Memory Usage.
|
||||
* glibtop_swap:: Swap Usage.
|
||||
* glibtop_uptime:: System Uptime.
|
||||
* glibtop_loadavg:: Load Average.
|
||||
* glibtop_proclist:: Process List.
|
||||
* glibtop_proc_state:: Process State.
|
||||
* glibtop_proc_uid:: Process UID and TTY Information.
|
||||
* glibtop_proc_mem:: Process Memory Information.
|
||||
* glibtop_proc_time:: Process Time Information.
|
||||
* glibtop_proc_signal:: Process Signal Information.
|
||||
* glibtop_proc_kernel:: Process Kernel Data Information.
|
||||
* glibtop_proc_segment:: Process Segment Information.
|
||||
* glibtop_proc_args:: Process Arguments.
|
||||
* glibtop_proc_map:: Process Memory Maps.
|
||||
* glibtop_netload:: Network Load.
|
||||
* glibtop_ppp:: PPP Usage.
|
||||
|
||||
Common Functions
|
||||
|
||||
* glibtop_mountlist:: Mount List.
|
||||
* glibtop_fsusage:: File System Usage.
|
||||
|
||||
Library Functions
|
||||
|
||||
* glibtop_init:: Server Initialization.
|
||||
* glibtop_sysdeps:: Server Sysdeps.
|
||||
* Library Parameters:: Library Parameters.
|
||||
@end menu
|
||||
|
||||
@include about.texi
|
||||
@include white-paper.texi
|
||||
@include reference.texi
|
||||
|
||||
224
doc/mdate-sh
Executable file
@@ -0,0 +1,224 @@
|
||||
#!/bin/sh
|
||||
# Get modification time of a file or directory and pretty-print it.
|
||||
|
||||
scriptversion=2010-08-21.06; # UTC
|
||||
|
||||
# Copyright (C) 1995-2014 Free Software Foundation, Inc.
|
||||
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# This file is maintained in Automake, please report
|
||||
# bugs to <bug-automake@gnu.org> or send patches to
|
||||
# <automake-patches@gnu.org>.
|
||||
|
||||
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
||||
emulate sh
|
||||
NULLCMD=:
|
||||
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
||||
# is contrary to our usage. Disable this feature.
|
||||
alias -g '${1+"$@"}'='"$@"'
|
||||
setopt NO_GLOB_SUBST
|
||||
fi
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No file. Try '$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: mdate-sh [--help] [--version] FILE
|
||||
|
||||
Pretty-print the modification day of FILE, in the format:
|
||||
1 January 1970
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "mdate-sh $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
||||
error ()
|
||||
{
|
||||
echo "$0: $1" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
# Prevent date giving response in another language.
|
||||
LANG=C
|
||||
export LANG
|
||||
LC_ALL=C
|
||||
export LC_ALL
|
||||
LC_TIME=C
|
||||
export LC_TIME
|
||||
|
||||
# GNU ls changes its time format in response to the TIME_STYLE
|
||||
# variable. Since we cannot assume 'unset' works, revert this
|
||||
# variable to its documented default.
|
||||
if test "${TIME_STYLE+set}" = set; then
|
||||
TIME_STYLE=posix-long-iso
|
||||
export TIME_STYLE
|
||||
fi
|
||||
|
||||
save_arg1=$1
|
||||
|
||||
# Find out how to get the extended ls output of a file or directory.
|
||||
if ls -L /dev/null 1>/dev/null 2>&1; then
|
||||
ls_command='ls -L -l -d'
|
||||
else
|
||||
ls_command='ls -l -d'
|
||||
fi
|
||||
# Avoid user/group names that might have spaces, when possible.
|
||||
if ls -n /dev/null 1>/dev/null 2>&1; then
|
||||
ls_command="$ls_command -n"
|
||||
fi
|
||||
|
||||
# A 'ls -l' line looks as follows on OS/2.
|
||||
# drwxrwx--- 0 Aug 11 2001 foo
|
||||
# This differs from Unix, which adds ownership information.
|
||||
# drwxrwx--- 2 root root 4096 Aug 11 2001 foo
|
||||
#
|
||||
# To find the date, we split the line on spaces and iterate on words
|
||||
# until we find a month. This cannot work with files whose owner is a
|
||||
# user named "Jan", or "Feb", etc. However, it's unlikely that '/'
|
||||
# will be owned by a user whose name is a month. So we first look at
|
||||
# the extended ls output of the root directory to decide how many
|
||||
# words should be skipped to get the date.
|
||||
|
||||
# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below.
|
||||
set x`$ls_command /`
|
||||
|
||||
# Find which argument is the month.
|
||||
month=
|
||||
command=
|
||||
until test $month
|
||||
do
|
||||
test $# -gt 0 || error "failed parsing '$ls_command /' output"
|
||||
shift
|
||||
# Add another shift to the command.
|
||||
command="$command shift;"
|
||||
case $1 in
|
||||
Jan) month=January; nummonth=1;;
|
||||
Feb) month=February; nummonth=2;;
|
||||
Mar) month=March; nummonth=3;;
|
||||
Apr) month=April; nummonth=4;;
|
||||
May) month=May; nummonth=5;;
|
||||
Jun) month=June; nummonth=6;;
|
||||
Jul) month=July; nummonth=7;;
|
||||
Aug) month=August; nummonth=8;;
|
||||
Sep) month=September; nummonth=9;;
|
||||
Oct) month=October; nummonth=10;;
|
||||
Nov) month=November; nummonth=11;;
|
||||
Dec) month=December; nummonth=12;;
|
||||
esac
|
||||
done
|
||||
|
||||
test -n "$month" || error "failed parsing '$ls_command /' output"
|
||||
|
||||
# Get the extended ls output of the file or directory.
|
||||
set dummy x`eval "$ls_command \"\\\$save_arg1\""`
|
||||
|
||||
# Remove all preceding arguments
|
||||
eval $command
|
||||
|
||||
# Because of the dummy argument above, month is in $2.
|
||||
#
|
||||
# On a POSIX system, we should have
|
||||
#
|
||||
# $# = 5
|
||||
# $1 = file size
|
||||
# $2 = month
|
||||
# $3 = day
|
||||
# $4 = year or time
|
||||
# $5 = filename
|
||||
#
|
||||
# On Darwin 7.7.0 and 7.6.0, we have
|
||||
#
|
||||
# $# = 4
|
||||
# $1 = day
|
||||
# $2 = month
|
||||
# $3 = year or time
|
||||
# $4 = filename
|
||||
|
||||
# Get the month.
|
||||
case $2 in
|
||||
Jan) month=January; nummonth=1;;
|
||||
Feb) month=February; nummonth=2;;
|
||||
Mar) month=March; nummonth=3;;
|
||||
Apr) month=April; nummonth=4;;
|
||||
May) month=May; nummonth=5;;
|
||||
Jun) month=June; nummonth=6;;
|
||||
Jul) month=July; nummonth=7;;
|
||||
Aug) month=August; nummonth=8;;
|
||||
Sep) month=September; nummonth=9;;
|
||||
Oct) month=October; nummonth=10;;
|
||||
Nov) month=November; nummonth=11;;
|
||||
Dec) month=December; nummonth=12;;
|
||||
esac
|
||||
|
||||
case $3 in
|
||||
???*) day=$1;;
|
||||
*) day=$3; shift;;
|
||||
esac
|
||||
|
||||
# Here we have to deal with the problem that the ls output gives either
|
||||
# the time of day or the year.
|
||||
case $3 in
|
||||
*:*) set `date`; eval year=\$$#
|
||||
case $2 in
|
||||
Jan) nummonthtod=1;;
|
||||
Feb) nummonthtod=2;;
|
||||
Mar) nummonthtod=3;;
|
||||
Apr) nummonthtod=4;;
|
||||
May) nummonthtod=5;;
|
||||
Jun) nummonthtod=6;;
|
||||
Jul) nummonthtod=7;;
|
||||
Aug) nummonthtod=8;;
|
||||
Sep) nummonthtod=9;;
|
||||
Oct) nummonthtod=10;;
|
||||
Nov) nummonthtod=11;;
|
||||
Dec) nummonthtod=12;;
|
||||
esac
|
||||
# For the first six month of the year the time notation can also
|
||||
# be used for files modified in the last year.
|
||||
if (expr $nummonth \> $nummonthtod) > /dev/null;
|
||||
then
|
||||
year=`expr $year - 1`
|
||||
fi;;
|
||||
*) year=$3;;
|
||||
esac
|
||||
|
||||
# The result.
|
||||
echo $day $month $year
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
||||
1846
doc/reference.texi
Normal file
59
doc/reference/Makefile.am
Normal file
@@ -0,0 +1,59 @@
|
||||
AUTOMAKE_OPTIONS = 1.6
|
||||
## Process this file with automake to produce Makefile.in
|
||||
# The name of the module, e.g. 'glib'.
|
||||
DOC_MODULE=libgtop
|
||||
|
||||
# The top-level SGML file. You can change this if you want to.
|
||||
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
|
||||
|
||||
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
|
||||
# SCANGOBJ_OPTIONS=
|
||||
|
||||
# Extra options to supply to gtkdoc-scan.
|
||||
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
|
||||
SCAN_OPTIONS=
|
||||
|
||||
# Extra options to supply to gtkdoc-mkdb.
|
||||
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
|
||||
MKDB_OPTIONS=--sgml-mode --output-format=xml --source-dir=$(top_srcdir)/sysdeps/common
|
||||
|
||||
# The directory containing the source code. Relative to $(srcdir).
|
||||
# gtk-doc will search all .c & .h files beneath here for inline comments
|
||||
# documenting the functions and macros.
|
||||
# e.g. DOC_SOURCE_DIR=../../../gtk
|
||||
DOC_SOURCE_DIR=$(top_srcdir)/include/glibtop
|
||||
|
||||
# Used for dependencies. The docs will be rebuilt if any of these change.
|
||||
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
|
||||
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
|
||||
HFILE_GLOB=$(top_srcdir)/include/glibtop/*.h
|
||||
CFILE_GLOB=$(top_srcdir)/sysdeps/common/*.c
|
||||
|
||||
# Header files to ignore when scanning.
|
||||
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
|
||||
IGNORE_HFILES=error.h global.h gnuserv.h init_hooks.h write.h read.h read_data.h config.h libgtopconfig.h
|
||||
|
||||
EXTRA_HFILES=$(top_srcdir)/glibtop.h
|
||||
|
||||
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
|
||||
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
|
||||
content_files=version.xml
|
||||
|
||||
# Images to copy into HTML directory.
|
||||
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
|
||||
HTML_IMAGES=
|
||||
|
||||
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
|
||||
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
|
||||
# signals and properties.
|
||||
# e.g. AM_CPPFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
|
||||
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
|
||||
AM_CPPFLAGS=
|
||||
GTKDOC_LIBS=
|
||||
|
||||
# This includes the standard gtk-doc make rules, copied by gtkdocize.
|
||||
include $(top_srcdir)/gtk-doc.make
|
||||
|
||||
# Other files to distribute
|
||||
# e.g. EXTRA_DIST += version.xml.in
|
||||
EXTRA_DIST += version.xml.in
|
||||
854
doc/reference/Makefile.in
Normal file
@@ -0,0 +1,854 @@
|
||||
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
# -*- mode: makefile -*-
|
||||
|
||||
####################################
|
||||
# Everything below here is generic #
|
||||
####################################
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
subdir = doc/reference
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
|
||||
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \
|
||||
$(top_srcdir)/m4/intlmacosx.m4 \
|
||||
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
|
||||
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
|
||||
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
|
||||
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
|
||||
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
|
||||
$(top_srcdir)/acinclude.m4 $(top_srcdir)/libgtop-sysdeps.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES = version.xml
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/version.xml.in \
|
||||
$(top_srcdir)/gtk-doc.make
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
|
||||
ALLOCA = @ALLOCA@
|
||||
AMTAR = @AMTAR@
|
||||
|
||||
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
|
||||
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
|
||||
# signals and properties.
|
||||
# e.g. AM_CPPFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
|
||||
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
|
||||
AM_CPPFLAGS =
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DL_LIB = @DL_LIB@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
GLIB_LIBS = @GLIB_LIBS@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GMSGFMT_015 = @GMSGFMT_015@
|
||||
GREP = @GREP@
|
||||
GTKDOC_CHECK = @GTKDOC_CHECK@
|
||||
GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
|
||||
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
|
||||
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
|
||||
GTKDOC_MKPDF = @GTKDOC_MKPDF@
|
||||
GTKDOC_REBASE = @GTKDOC_REBASE@
|
||||
HTML_DIR = @HTML_DIR@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
|
||||
INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
|
||||
INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
|
||||
INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
|
||||
INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
|
||||
INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
|
||||
INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
|
||||
INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
|
||||
INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
|
||||
KVM_LIBS = @KVM_LIBS@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBGTOP_BINDIR = @LIBGTOP_BINDIR@
|
||||
LIBGTOP_EXTRA_LIBS = @LIBGTOP_EXTRA_LIBS@
|
||||
LIBGTOP_INCS = @LIBGTOP_INCS@
|
||||
LIBGTOP_LIBS = @LIBGTOP_LIBS@
|
||||
LIBGTOP_MAJOR_VERSION = @LIBGTOP_MAJOR_VERSION@
|
||||
LIBGTOP_MICRO_VERSION = @LIBGTOP_MICRO_VERSION@
|
||||
LIBGTOP_MINOR_VERSION = @LIBGTOP_MINOR_VERSION@
|
||||
LIBGTOP_SERVER = @LIBGTOP_SERVER@
|
||||
LIBGTOP_SERVER_VERSION = @LIBGTOP_SERVER_VERSION@
|
||||
LIBGTOP_VERSION = @LIBGTOP_VERSION@
|
||||
LIBGTOP_VERSION_CODE = @LIBGTOP_VERSION_CODE@
|
||||
LIBICONV = @LIBICONV@
|
||||
LIBINTL = @LIBINTL@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBICONV = @LTLIBICONV@
|
||||
LTLIBINTL = @LTLIBINTL@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||
LT_VERSION_INFO = @LT_VERSION_INFO@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGFMT_015 = @MSGFMT_015@
|
||||
MSGMERGE = @MSGMERGE@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PERL = @PERL@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
|
||||
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
|
||||
XMKMF = @XMKMF@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
libgtop_have_sysinfo = @libgtop_have_sysinfo@
|
||||
libgtop_need_server = @libgtop_need_server@
|
||||
libgtop_postinstall = @libgtop_postinstall@
|
||||
libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
|
||||
libgtop_top_builddir = @libgtop_top_builddir@
|
||||
libs_xauth = @libs_xauth@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
server_programs = @server_programs@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sysdeps_dir = @sysdeps_dir@
|
||||
sysdeps_suid_lib = @sysdeps_suid_lib@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
AUTOMAKE_OPTIONS = 1.6
|
||||
# The name of the module, e.g. 'glib'.
|
||||
DOC_MODULE = libgtop
|
||||
|
||||
# The top-level SGML file. You can change this if you want to.
|
||||
DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
|
||||
|
||||
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
|
||||
# SCANGOBJ_OPTIONS=
|
||||
|
||||
# Extra options to supply to gtkdoc-scan.
|
||||
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
|
||||
SCAN_OPTIONS =
|
||||
|
||||
# Extra options to supply to gtkdoc-mkdb.
|
||||
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
|
||||
MKDB_OPTIONS = --sgml-mode --output-format=xml --source-dir=$(top_srcdir)/sysdeps/common
|
||||
|
||||
# The directory containing the source code. Relative to $(srcdir).
|
||||
# gtk-doc will search all .c & .h files beneath here for inline comments
|
||||
# documenting the functions and macros.
|
||||
# e.g. DOC_SOURCE_DIR=../../../gtk
|
||||
DOC_SOURCE_DIR = $(top_srcdir)/include/glibtop
|
||||
|
||||
# Used for dependencies. The docs will be rebuilt if any of these change.
|
||||
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
|
||||
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
|
||||
HFILE_GLOB = $(top_srcdir)/include/glibtop/*.h
|
||||
CFILE_GLOB = $(top_srcdir)/sysdeps/common/*.c
|
||||
|
||||
# Header files to ignore when scanning.
|
||||
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
|
||||
IGNORE_HFILES = error.h global.h gnuserv.h init_hooks.h write.h read.h read_data.h config.h libgtopconfig.h
|
||||
EXTRA_HFILES = $(top_srcdir)/glibtop.h
|
||||
|
||||
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
|
||||
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
|
||||
content_files = version.xml
|
||||
|
||||
# Images to copy into HTML directory.
|
||||
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
|
||||
HTML_IMAGES =
|
||||
GTKDOC_LIBS =
|
||||
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
|
||||
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
|
||||
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
|
||||
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
|
||||
|
||||
# We set GPATH here; this gives us semantics for GNU make
|
||||
# which are more like other make's VPATH, when it comes to
|
||||
# whether a source that is a target of one rule is then
|
||||
# searched for in VPATH/GPATH.
|
||||
#
|
||||
GPATH = $(srcdir)
|
||||
TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
|
||||
SETUP_FILES = \
|
||||
$(content_files) \
|
||||
$(expand_content_files) \
|
||||
$(DOC_MAIN_SGML_FILE) \
|
||||
$(DOC_MODULE)-sections.txt \
|
||||
$(DOC_MODULE)-overrides.txt
|
||||
|
||||
|
||||
# This includes the standard gtk-doc make rules, copied by gtkdocize.
|
||||
|
||||
# Other files to distribute
|
||||
# e.g. EXTRA_DIST += version.xml.in
|
||||
EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) version.xml.in
|
||||
DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \
|
||||
html-build.stamp pdf-build.stamp \
|
||||
sgml.stamp html.stamp pdf.stamp
|
||||
|
||||
SCANOBJ_FILES = \
|
||||
$(DOC_MODULE).args \
|
||||
$(DOC_MODULE).hierarchy \
|
||||
$(DOC_MODULE).interfaces \
|
||||
$(DOC_MODULE).prerequisites \
|
||||
$(DOC_MODULE).signals
|
||||
|
||||
REPORT_FILES = \
|
||||
$(DOC_MODULE)-undocumented.txt \
|
||||
$(DOC_MODULE)-undeclared.txt \
|
||||
$(DOC_MODULE)-unused.txt
|
||||
|
||||
CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) gtkdoc-check.test
|
||||
@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
|
||||
@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
|
||||
@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
|
||||
@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
|
||||
|
||||
#### setup ####
|
||||
GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_$(V))
|
||||
GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY))
|
||||
GTK_DOC_V_SETUP_0 = @echo " DOC Preparing build";
|
||||
|
||||
#### scan ####
|
||||
GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_$(V))
|
||||
GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY))
|
||||
GTK_DOC_V_SCAN_0 = @echo " DOC Scanning header files";
|
||||
GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_$(V))
|
||||
GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY))
|
||||
GTK_DOC_V_INTROSPECT_0 = @echo " DOC Introspecting gobjects";
|
||||
|
||||
#### xml ####
|
||||
GTK_DOC_V_XML = $(GTK_DOC_V_XML_$(V))
|
||||
GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY))
|
||||
GTK_DOC_V_XML_0 = @echo " DOC Building XML";
|
||||
|
||||
#### html ####
|
||||
GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_$(V))
|
||||
GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY))
|
||||
GTK_DOC_V_HTML_0 = @echo " DOC Building HTML";
|
||||
GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_$(V))
|
||||
GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY))
|
||||
GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references";
|
||||
|
||||
#### pdf ####
|
||||
GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_$(V))
|
||||
GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY))
|
||||
GTK_DOC_V_PDF_0 = @echo " DOC Building PDF";
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/reference/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu doc/reference/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
$(top_srcdir)/gtk-doc.make $(am__empty):
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
tags TAGS:
|
||||
|
||||
ctags CTAGS:
|
||||
|
||||
cscope cscopelist:
|
||||
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
||||
dist-hook
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
@ENABLE_GTK_DOC_FALSE@all-local:
|
||||
all-am: Makefile all-local
|
||||
installdirs:
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-local
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-data-local
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic \
|
||||
maintainer-clean-local
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-local
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: all all-am all-local check check-am clean clean-generic \
|
||||
clean-libtool clean-local cscopelist-am ctags-am dist-hook \
|
||||
distclean distclean-generic distclean-libtool distclean-local \
|
||||
distdir dvi dvi-am html html-am info info-am install \
|
||||
install-am install-data install-data-am install-data-local \
|
||||
install-dvi install-dvi-am install-exec install-exec-am \
|
||||
install-html install-html-am install-info install-info-am \
|
||||
install-man install-pdf install-pdf-am install-ps \
|
||||
install-ps-am install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
maintainer-clean-local mostlyclean mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
|
||||
uninstall-am uninstall-local
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
gtkdoc-check.test: Makefile
|
||||
$(AM_V_GEN)echo "#!/bin/sh -e" > $@; \
|
||||
echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \
|
||||
chmod +x $@
|
||||
|
||||
all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
|
||||
.PHONY: all-gtk-doc
|
||||
|
||||
@ENABLE_GTK_DOC_TRUE@all-local: all-gtk-doc
|
||||
|
||||
docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
|
||||
|
||||
$(REPORT_FILES): sgml-build.stamp
|
||||
|
||||
setup-build.stamp:
|
||||
-$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
|
||||
files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \
|
||||
if test "x$$files" != "x" ; then \
|
||||
for file in $$files ; do \
|
||||
destdir=`dirname $(abs_builddir)/$$file`; \
|
||||
test -d "$$destdir" || mkdir -p "$$destdir"; \
|
||||
test -f $(abs_srcdir)/$$file && \
|
||||
cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \
|
||||
done; \
|
||||
fi; \
|
||||
fi
|
||||
$(AM_V_at)touch setup-build.stamp
|
||||
|
||||
scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB)
|
||||
$(GTK_DOC_V_SCAN)_source_dir='' ; \
|
||||
for i in $(DOC_SOURCE_DIR) ; do \
|
||||
_source_dir="$${_source_dir} --source-dir=$$i" ; \
|
||||
done ; \
|
||||
gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
|
||||
$(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
|
||||
scanobj_options=""; \
|
||||
gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
|
||||
if test "$$?" = "0"; then \
|
||||
if test "x$(V)" = "x1"; then \
|
||||
scanobj_options="--verbose"; \
|
||||
fi; \
|
||||
fi; \
|
||||
CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
|
||||
gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
|
||||
else \
|
||||
for i in $(SCANOBJ_FILES) ; do \
|
||||
test -f $$i || touch $$i ; \
|
||||
done \
|
||||
fi
|
||||
$(AM_V_at)touch scan-build.stamp
|
||||
|
||||
$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
|
||||
@true
|
||||
|
||||
sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) xml/gtkdocentities.ent
|
||||
$(GTK_DOC_V_XML)_source_dir='' ; \
|
||||
for i in $(DOC_SOURCE_DIR) ; do \
|
||||
_source_dir="$${_source_dir} --source-dir=$$i" ; \
|
||||
done ; \
|
||||
gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)
|
||||
$(AM_V_at)touch sgml-build.stamp
|
||||
|
||||
sgml.stamp: sgml-build.stamp
|
||||
@true
|
||||
|
||||
xml/gtkdocentities.ent: Makefile
|
||||
$(GTK_DOC_V_XML)$(MKDIR_P) $(@D) && ( \
|
||||
echo "<!ENTITY package \"$(PACKAGE)\">"; \
|
||||
echo "<!ENTITY package_bugreport \"$(PACKAGE_BUGREPORT)\">"; \
|
||||
echo "<!ENTITY package_name \"$(PACKAGE_NAME)\">"; \
|
||||
echo "<!ENTITY package_string \"$(PACKAGE_STRING)\">"; \
|
||||
echo "<!ENTITY package_tarname \"$(PACKAGE_TARNAME)\">"; \
|
||||
echo "<!ENTITY package_url \"$(PACKAGE_URL)\">"; \
|
||||
echo "<!ENTITY package_version \"$(PACKAGE_VERSION)\">"; \
|
||||
) > $@
|
||||
|
||||
html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files)
|
||||
$(GTK_DOC_V_HTML)rm -rf html && mkdir html && \
|
||||
mkhtml_options=""; \
|
||||
gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
|
||||
if test "$$?" = "0"; then \
|
||||
if test "x$(V)" = "x1"; then \
|
||||
mkhtml_options="$$mkhtml_options --verbose"; \
|
||||
fi; \
|
||||
fi; \
|
||||
gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
|
||||
if test "$$?" = "0"; then \
|
||||
mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
|
||||
fi; \
|
||||
cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
|
||||
-@test "x$(HTML_IMAGES)" = "x" || \
|
||||
for file in $(HTML_IMAGES) ; do \
|
||||
if test -f $(abs_srcdir)/$$file ; then \
|
||||
cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
|
||||
fi; \
|
||||
if test -f $(abs_builddir)/$$file ; then \
|
||||
cp $(abs_builddir)/$$file $(abs_builddir)/html; \
|
||||
fi; \
|
||||
done;
|
||||
$(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
|
||||
$(AM_V_at)touch html-build.stamp
|
||||
|
||||
pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files)
|
||||
$(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \
|
||||
mkpdf_options=""; \
|
||||
gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
|
||||
if test "$$?" = "0"; then \
|
||||
if test "x$(V)" = "x1"; then \
|
||||
mkpdf_options="$$mkpdf_options --verbose"; \
|
||||
fi; \
|
||||
fi; \
|
||||
if test "x$(HTML_IMAGES)" != "x"; then \
|
||||
for img in $(HTML_IMAGES); do \
|
||||
part=`dirname $$img`; \
|
||||
echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
|
||||
if test $$? != 0; then \
|
||||
mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
|
||||
fi; \
|
||||
done; \
|
||||
fi; \
|
||||
gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
|
||||
$(AM_V_at)touch pdf-build.stamp
|
||||
|
||||
##############
|
||||
|
||||
clean-local:
|
||||
@rm -f *~ *.bak
|
||||
@rm -rf .libs
|
||||
@if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
|
||||
rm -f $(DOC_MODULE).types; \
|
||||
fi
|
||||
@if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-sections" ; then \
|
||||
rm -f $(DOC_MODULE)-sections.txt; \
|
||||
fi
|
||||
|
||||
distclean-local:
|
||||
@rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
|
||||
$(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
|
||||
@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
|
||||
rm -f $(SETUP_FILES) $(DOC_MODULE).types; \
|
||||
fi
|
||||
|
||||
maintainer-clean-local:
|
||||
@rm -rf xml html
|
||||
|
||||
install-data-local:
|
||||
@installfiles=`echo $(builddir)/html/*`; \
|
||||
if test "$$installfiles" = '$(builddir)/html/*'; \
|
||||
then echo 1>&2 'Nothing to install' ; \
|
||||
else \
|
||||
if test -n "$(DOC_MODULE_VERSION)"; then \
|
||||
installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
|
||||
else \
|
||||
installdir="$(DESTDIR)$(TARGET_DIR)"; \
|
||||
fi; \
|
||||
$(mkinstalldirs) $${installdir} ; \
|
||||
for i in $$installfiles; do \
|
||||
echo ' $(INSTALL_DATA) '$$i ; \
|
||||
$(INSTALL_DATA) $$i $${installdir}; \
|
||||
done; \
|
||||
if test -n "$(DOC_MODULE_VERSION)"; then \
|
||||
mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
|
||||
$${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
|
||||
fi; \
|
||||
$(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
|
||||
fi
|
||||
|
||||
uninstall-local:
|
||||
@if test -n "$(DOC_MODULE_VERSION)"; then \
|
||||
installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
|
||||
else \
|
||||
installdir="$(DESTDIR)$(TARGET_DIR)"; \
|
||||
fi; \
|
||||
rm -rf $${installdir}
|
||||
|
||||
#
|
||||
# Require gtk-doc when making dist
|
||||
#
|
||||
@HAVE_GTK_DOC_TRUE@dist-check-gtkdoc: docs
|
||||
@HAVE_GTK_DOC_FALSE@dist-check-gtkdoc:
|
||||
@HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc is needed to run 'make dist'. ***"
|
||||
@HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc was not found when 'configure' ran. ***"
|
||||
@HAVE_GTK_DOC_FALSE@ @echo "*** please install gtk-doc and rerun 'configure'. ***"
|
||||
@HAVE_GTK_DOC_FALSE@ @false
|
||||
|
||||
dist-hook: dist-check-gtkdoc all-gtk-doc dist-hook-local
|
||||
@mkdir $(distdir)/html
|
||||
@cp ./html/* $(distdir)/html
|
||||
@-cp ./$(DOC_MODULE).pdf $(distdir)/
|
||||
@-cp ./$(DOC_MODULE).types $(distdir)/
|
||||
@-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
|
||||
@cd $(distdir) && rm -f $(DISTCLEANFILES)
|
||||
@$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
|
||||
|
||||
.PHONY : dist-hook-local docs
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
BIN
doc/reference/html/home.png
Normal file
|
After Width: | Height: | Size: 256 B |
197
doc/reference/html/index.html
Normal file
@@ -0,0 +1,197 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Libgtop Reference Manual: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<meta name="description" content="LibGTop is a library to get system specific data such as CPU and Memory Usage and information about running Processes. On Systems like Solaris or Digital Unix where you need special privileges to get those data, it uses a setuid/setgid server to do so. Even if LibGTop is a part of the GNOME desktop environment (@uref{http://www.gnome.org}), the main interface of LibGTop is totally independent from any particular desktop environment, so you can also use it as a standalone library in any piece of GPLed software. This manual documents the interfaces of the libgtop library and has some short notes to help get you up to speed with using the library.">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="next" href="libgtop-white-paper.html" title="White paper">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<div class="book">
|
||||
<div class="titlepage">
|
||||
<div>
|
||||
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Libgtop Reference Manual</p></th></tr></table></div>
|
||||
<div><div class="authorgroup">
|
||||
<div class="author">
|
||||
<h3 class="author">
|
||||
<span class="firstname">Martin </span> <span class="surname">Baulig</span>
|
||||
</h3>
|
||||
<div class="affiliation"><div class="address"><p><br>
|
||||
<code class="email"><<a class="email" href="mailto:martin@home-of-linux.org">martin@home-of-linux.org</a>></code><br>
|
||||
</p></div></div>
|
||||
</div>
|
||||
<div class="author">
|
||||
<h3 class="author">
|
||||
<span class="firstname">Germán</span> <span class="surname">Poó-Caamaño</span>
|
||||
</h3>
|
||||
<div class="affiliation"><div class="address"><p><br>
|
||||
<code class="email"><<a class="email" href="mailto:gpoo@ubiobio.cl">gpoo@ubiobio.cl</a>></code><br>
|
||||
</p></div></div>
|
||||
</div>
|
||||
</div></div>
|
||||
<div><p class="releaseinfo">for libgtop <span class="phrase">2.38.0</span></p></div>
|
||||
<div><div class="legalnotice">
|
||||
<a name="id-1.1.4"></a><p>Permission is granted to copy, distribute and/or modify
|
||||
this document under the terms of the <em class="citetitle">GNU Free
|
||||
Documentation License</em>, Version 1.1 or any later
|
||||
version published by the Free Software Foundation with no
|
||||
Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
||||
Texts. You may obtain a copy of the <em class="citetitle">GNU Free
|
||||
Documentation License</em> from the Free Software
|
||||
Foundation by visiting <a class="ulink" href="http://www.fsf.org" target="_top">their Web site</a> or by writing
|
||||
to: Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110-1301, USA.</p>
|
||||
<p>Many of the names used by companies to distinguish their
|
||||
products and services are claimed as trademarks. Where those
|
||||
names appear in any GNOME documentation, and those trademarks
|
||||
are made aware to the members of the GNOME Documentation
|
||||
Project, the names have been printed in caps or initial
|
||||
caps.</p>
|
||||
</div></div>
|
||||
<div><div class="abstract">
|
||||
<p class="title"><b>Abstract</b></p>
|
||||
<p>
|
||||
LibGTop is a library to get system specific data such as CPU and
|
||||
Memory Usage and information about running Processes.</p>
|
||||
<p>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.</p>
|
||||
<p>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.</p>
|
||||
<p>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.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<hr>
|
||||
</div>
|
||||
<div class="toc"><dl class="toc">
|
||||
<dt><span class="chapter"><a href="libgtop-white-paper.html">White paper</a></span></dt>
|
||||
<dd><dl>
|
||||
<dt><span class="sect1"><a href="libgtop-white-paper.html#libgtop-white-paper-introduction">Introduction</a></span></dt>
|
||||
<dt><span class="sect1"><a href="libgtop-white-paper-overview.html">Overview</a></span></dt>
|
||||
<dd><dl>
|
||||
<dt><span class="sect2"><a href="libgtop-white-paper-overview.html#libgtop-white-paper-overview-design">Interface Design: Things that need to be considered</a></span></dt>
|
||||
<dt><span class="sect2"><a href="libgtop-white-paper-overview.html#libgtop-white-paper-overview-server">Server Implementation: The LibGTop "server"</a></span></dt>
|
||||
</dl></dd>
|
||||
</dl></dd>
|
||||
<dt><span class="chapter"><a href="libgtop-lib.html">Libgtop Library Reference</a></span></dt>
|
||||
<dd><dl>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-GlibTop.html">GlibTop</a></span><span class="refpurpose"> — Server initilization</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Close.html">Close</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Command.html">Command</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-GlibTop-Server.html">GlibTop Server</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Net-Load.html">Net Load</a></span><span class="refpurpose"> — Network Load.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-PPP.html">PPP</a></span><span class="refpurpose"> — PPP Usage.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Shared-Memory-Limits.html">Shared Memory Limits</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Uptime.html">Uptime</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Net-List.html">Net List</a></span><span class="refpurpose"> — Network Devices List.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-open.html">open</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-parameter.html">parameter</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Process-Arguments.html">Process Arguments</a></span><span class="refpurpose"> — Get process command line arguments</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procmem.html">procmem</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procopenfiles.html">procopenfiles</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procsegment.html">procsegment</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procsignal.html">procsignal</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-sysdeps.html">sysdeps</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procstate.html">procstate</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procuid.html">procuid</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Process-Time.html">Process Time</a></span><span class="refpurpose"> — Get process time information</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-signal.html">signal</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procmap.html">procmap</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-sysinfo.html">sysinfo</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-union.html">union</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-version.html">version</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Process-List.html">Process List</a></span><span class="refpurpose"> — List running processes</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-sem-limits.html">sem_limits</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-prockernel.html">prockernel</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-fsusage.html">fsusage</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-loadavg.html">loadavg</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-mem.html">mem</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-mountlist.html">mountlist</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-msg-limits.html">msg_limits</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-cpu.html">cpu</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-swap.html">swap</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
</dl></dd>
|
||||
</dl></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
BIN
doc/reference/html/left-insensitive.png
Normal file
|
After Width: | Height: | Size: 395 B |
BIN
doc/reference/html/left.png
Normal file
|
After Width: | Height: | Size: 262 B |
119
doc/reference/html/libgtop-Close.html
Normal file
@@ -0,0 +1,119 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Close: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-GlibTop.html" title="GlibTop">
|
||||
<link rel="next" href="libgtop-Command.html" title="Command">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-Close.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-GlibTop.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-Command.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-Close"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-Close.top_of_page"></a>Close</span></h2>
|
||||
<p>Close</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Close.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Close.html#glibtop-close" title="glibtop_close ()">glibtop_close</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Close.html#glibtop-close-r" title="glibtop_close_r ()">glibtop_close_r</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Close.html#glibtop-close-s" title="glibtop_close_s ()">glibtop_close_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Close.html#glibtop-close-p" title="glibtop_close_p ()">glibtop_close_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Close.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/close.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Close.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Close.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-close"></a><h3>glibtop_close ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_close (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<p>Close the connection to the server.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-close-r"></a><h3>glibtop_close_r ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_close_r (<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>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-close-s"></a><h3>glibtop_close_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_close_s (<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>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-close-p"></a><h3>glibtop_close_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_close_p (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Close.other_details"></a><h2>Types and Values</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
428
doc/reference/html/libgtop-Command.html
Normal file
@@ -0,0 +1,428 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Command: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-Close.html" title="Close">
|
||||
<link rel="next" href="libgtop-GlibTop-Server.html" title="GlibTop Server">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-Command.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-Close.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-GlibTop-Server.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-Command"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-Command.top_of_page"></a>Command</span></h2>
|
||||
<p>Command</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Command.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Command.html#glibtop-call" title="glibtop_call()">glibtop_call</a><span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Command.html#glibtop-call-l" title="glibtop_call_l ()">glibtop_call_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Command.html#glibtop-call-s" title="glibtop_call_s ()">glibtop_call_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Command.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-QUIT:CAPS" title="GLIBTOP_CMND_QUIT">GLIBTOP_CMND_QUIT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-SYSDEPS:CAPS" title="GLIBTOP_CMND_SYSDEPS">GLIBTOP_CMND_SYSDEPS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-CPU:CAPS" title="GLIBTOP_CMND_CPU">GLIBTOP_CMND_CPU</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-MEM:CAPS" title="GLIBTOP_CMND_MEM">GLIBTOP_CMND_MEM</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-SWAP:CAPS" title="GLIBTOP_CMND_SWAP">GLIBTOP_CMND_SWAP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-UPTIME:CAPS" title="GLIBTOP_CMND_UPTIME">GLIBTOP_CMND_UPTIME</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-LOADAVG:CAPS" title="GLIBTOP_CMND_LOADAVG">GLIBTOP_CMND_LOADAVG</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-SHM-LIMITS:CAPS" title="GLIBTOP_CMND_SHM_LIMITS">GLIBTOP_CMND_SHM_LIMITS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-MSG-LIMITS:CAPS" title="GLIBTOP_CMND_MSG_LIMITS">GLIBTOP_CMND_MSG_LIMITS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-SEM-LIMITS:CAPS" title="GLIBTOP_CMND_SEM_LIMITS">GLIBTOP_CMND_SEM_LIMITS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROCLIST:CAPS" title="GLIBTOP_CMND_PROCLIST">GLIBTOP_CMND_PROCLIST</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-STATE:CAPS" title="GLIBTOP_CMND_PROC_STATE">GLIBTOP_CMND_PROC_STATE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-UID:CAPS" title="GLIBTOP_CMND_PROC_UID">GLIBTOP_CMND_PROC_UID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-MEM:CAPS" title="GLIBTOP_CMND_PROC_MEM">GLIBTOP_CMND_PROC_MEM</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-TIME:CAPS" title="GLIBTOP_CMND_PROC_TIME">GLIBTOP_CMND_PROC_TIME</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-SIGNAL:CAPS" title="GLIBTOP_CMND_PROC_SIGNAL">GLIBTOP_CMND_PROC_SIGNAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-KERNEL:CAPS" title="GLIBTOP_CMND_PROC_KERNEL">GLIBTOP_CMND_PROC_KERNEL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-SEGMENT:CAPS" title="GLIBTOP_CMND_PROC_SEGMENT">GLIBTOP_CMND_PROC_SEGMENT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-ARGS:CAPS" title="GLIBTOP_CMND_PROC_ARGS">GLIBTOP_CMND_PROC_ARGS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-MAP:CAPS" title="GLIBTOP_CMND_PROC_MAP">GLIBTOP_CMND_PROC_MAP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-MOUNTLIST:CAPS" title="GLIBTOP_CMND_MOUNTLIST">GLIBTOP_CMND_MOUNTLIST</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-FSUSAGE:CAPS" title="GLIBTOP_CMND_FSUSAGE">GLIBTOP_CMND_FSUSAGE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-NETLOAD:CAPS" title="GLIBTOP_CMND_NETLOAD">GLIBTOP_CMND_NETLOAD</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PPP:CAPS" title="GLIBTOP_CMND_PPP">GLIBTOP_CMND_PPP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-NETLIST:CAPS" title="GLIBTOP_CMND_NETLIST">GLIBTOP_CMND_NETLIST</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-OPEN-FILES:CAPS" title="GLIBTOP_CMND_PROC_OPEN_FILES">GLIBTOP_CMND_PROC_OPEN_FILES</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#GLIBTOP-MAX-CMND:CAPS" title="GLIBTOP_MAX_CMND">GLIBTOP_MAX_CMND</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#glibtop-command" title="struct glibtop_command">glibtop_command</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#glibtop-response" title="struct glibtop_response">glibtop_response</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">union</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Command.html#glibtop-response-union" title="union glibtop_response_union">glibtop_response_union</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Command.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/command.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Command.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Command.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-call"></a><h3>glibtop_call()</h3>
|
||||
<pre class="programlisting">#define glibtop_call(p1, p2, p3, p4) glibtop_call_r(glibtop_global_server, p1, p2, p3, p4)
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-call-l"></a><h3>glibtop_call_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span> *
|
||||
glibtop_call_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><span class="type">unsigned </span> command</code></em>,
|
||||
<em class="parameter"><code><span class="type">size_t</span> send_size</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">void</span> *send_buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">size_t</span> recv_size</code></em>,
|
||||
<em class="parameter"><code><span class="type">void</span> *recv_buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-call-s"></a><h3>glibtop_call_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span> *
|
||||
glibtop_call_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><span class="type">unsigned </span> command</code></em>,
|
||||
<em class="parameter"><code><span class="type">size_t</span> send_size</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">void</span> *send_buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">size_t</span> recv_size</code></em>,
|
||||
<em class="parameter"><code><span class="type">void</span> *recv_buf</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Command.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-QUIT:CAPS"></a><h3>GLIBTOP_CMND_QUIT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_QUIT 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-SYSDEPS:CAPS"></a><h3>GLIBTOP_CMND_SYSDEPS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_SYSDEPS 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-CPU:CAPS"></a><h3>GLIBTOP_CMND_CPU</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_CPU 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-MEM:CAPS"></a><h3>GLIBTOP_CMND_MEM</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_MEM 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-SWAP:CAPS"></a><h3>GLIBTOP_CMND_SWAP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_SWAP 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-UPTIME:CAPS"></a><h3>GLIBTOP_CMND_UPTIME</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_UPTIME 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-LOADAVG:CAPS"></a><h3>GLIBTOP_CMND_LOADAVG</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_LOADAVG 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-SHM-LIMITS:CAPS"></a><h3>GLIBTOP_CMND_SHM_LIMITS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_SHM_LIMITS 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-MSG-LIMITS:CAPS"></a><h3>GLIBTOP_CMND_MSG_LIMITS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_MSG_LIMITS 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-SEM-LIMITS:CAPS"></a><h3>GLIBTOP_CMND_SEM_LIMITS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_SEM_LIMITS 9
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-PROCLIST:CAPS"></a><h3>GLIBTOP_CMND_PROCLIST</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_PROCLIST 10
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-PROC-STATE:CAPS"></a><h3>GLIBTOP_CMND_PROC_STATE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_PROC_STATE 11
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-PROC-UID:CAPS"></a><h3>GLIBTOP_CMND_PROC_UID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_PROC_UID 12
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-PROC-MEM:CAPS"></a><h3>GLIBTOP_CMND_PROC_MEM</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_PROC_MEM 13
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-PROC-TIME:CAPS"></a><h3>GLIBTOP_CMND_PROC_TIME</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_PROC_TIME 14
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-PROC-SIGNAL:CAPS"></a><h3>GLIBTOP_CMND_PROC_SIGNAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_PROC_SIGNAL 15
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-PROC-KERNEL:CAPS"></a><h3>GLIBTOP_CMND_PROC_KERNEL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_PROC_KERNEL 16
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-PROC-SEGMENT:CAPS"></a><h3>GLIBTOP_CMND_PROC_SEGMENT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_PROC_SEGMENT 17
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-PROC-ARGS:CAPS"></a><h3>GLIBTOP_CMND_PROC_ARGS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_PROC_ARGS 18
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-PROC-MAP:CAPS"></a><h3>GLIBTOP_CMND_PROC_MAP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_PROC_MAP 19
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-MOUNTLIST:CAPS"></a><h3>GLIBTOP_CMND_MOUNTLIST</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_MOUNTLIST 20
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-FSUSAGE:CAPS"></a><h3>GLIBTOP_CMND_FSUSAGE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_FSUSAGE 21
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-NETLOAD:CAPS"></a><h3>GLIBTOP_CMND_NETLOAD</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_NETLOAD 22
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-PPP:CAPS"></a><h3>GLIBTOP_CMND_PPP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_PPP 23
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-NETLIST:CAPS"></a><h3>GLIBTOP_CMND_NETLIST</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_NETLIST 24
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CMND-PROC-OPEN-FILES:CAPS"></a><h3>GLIBTOP_CMND_PROC_OPEN_FILES</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CMND_PROC_OPEN_FILES 25
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-CMND:CAPS"></a><h3>GLIBTOP_MAX_CMND</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_CMND 29
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-command"></a><h3>struct glibtop_command</h3>
|
||||
<pre class="programlisting">struct glibtop_command {
|
||||
guint64 command;
|
||||
guint64 size, data_size;
|
||||
char parameter [_GLIBTOP_PARAM_SIZE];
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-response"></a><h3>struct glibtop_response</h3>
|
||||
<pre class="programlisting">struct glibtop_response {
|
||||
gint64 offset;
|
||||
guint64 size, data_size;
|
||||
glibtop_response_union u;
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-response-union"></a><h3>union glibtop_response_union</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
53
doc/reference/html/libgtop-GlibTop-Server.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GlibTop Server: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-Command.html" title="Command">
|
||||
<link rel="next" href="libgtop-Net-Load.html" title="Net Load">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-GlibTop-Server.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-Command.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-Net-Load.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-GlibTop-Server"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-GlibTop-Server.top_of_page"></a>GlibTop Server</span></h2>
|
||||
<p>GlibTop Server</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-GlibTop-Server.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/glibtop-server.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-GlibTop-Server.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-GlibTop-Server.functions_details"></a><h2>Functions</h2>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-GlibTop-Server.other_details"></a><h2>Types and Values</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
213
doc/reference/html/libgtop-GlibTop.html
Normal file
@@ -0,0 +1,213 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GlibTop: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="next" href="libgtop-Close.html" title="Close">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-GlibTop.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-lib.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-Close.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-GlibTop"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-GlibTop.top_of_page"></a>GlibTop</span></h2>
|
||||
<p>GlibTop — Server initilization</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-GlibTop.stability-level"></a><h2>Stability Level</h2>
|
||||
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-GlibTop.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-GlibTop.html#LIBGTOP-CHECK-VERSION:CAPS" title="LIBGTOP_CHECK_VERSION()">LIBGTOP_CHECK_VERSION</a><span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="returnvalue">glibtop</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-GlibTop.html#glibtop-init" title="glibtop_init ()">glibtop_init</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="returnvalue">glibtop</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-GlibTop.html#glibtop-init-r" title="glibtop_init_r ()">glibtop_init_r</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="returnvalue">glibtop</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-GlibTop.html#glibtop-init-s" title="glibtop_init_s ()">glibtop_init_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-GlibTop.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-GlibTop.html#GLIBTOP-MOUNTENTRY-LEN:CAPS" title="GLIBTOP_MOUNTENTRY_LEN">GLIBTOP_MOUNTENTRY_LEN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop">glibtop</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="variable_type">extern glibtop *</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-GlibTop.html#glibtop-global-server" title="glibtop_global_server">glibtop_global_server</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="variable_type">extern const unsigned long </td>
|
||||
<td class="function_name"><a class="link" href="libgtop-GlibTop.html#glibtop-server-features" title="glibtop_server_features">glibtop_server_features</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-GlibTop.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-GlibTop.description"></a><h2>Description</h2>
|
||||
<p>You do not need to worry about the <a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> * server structure if
|
||||
you don't need - the library exports a <a class="link" href="libgtop-GlibTop.html#glibtop-global-server" title="glibtop_global_server"><span class="type">glibtop_global_server</span></a>
|
||||
which you can use everywhere a <a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> * is expected.</p>
|
||||
<p>Most of the library and all of the sysdeps function also have an alias
|
||||
(which is the function name without the <span style="color: red"><suffix>_l</suffix></span>, </p>
|
||||
<span style="color: red"><suffix>_s</suffix></span> or <span style="color: red"><suffix>_r</suffix></span> suffix) which don't
|
||||
<p>take a <a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> * as argument but uses the <a class="link" href="libgtop-GlibTop.html#glibtop-global-server" title="glibtop_global_server"><span class="type">glibtop_global_server</span></a>
|
||||
instead.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-GlibTop.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="LIBGTOP-CHECK-VERSION:CAPS"></a><h3>LIBGTOP_CHECK_VERSION()</h3>
|
||||
<pre class="programlisting">#define LIBGTOP_CHECK_VERSION(major, minor, micro)</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-init"></a><h3>glibtop_init ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="returnvalue">glibtop</span></a> *
|
||||
glibtop_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<p>Server initialization.</p>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-init.returns"></a><h4>Returns</h4>
|
||||
<p> A <a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> reference.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-init-r"></a><h3>glibtop_init_r ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="returnvalue">glibtop</span></a> *
|
||||
glibtop_init_r (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> **server_ptr</code></em>,
|
||||
<em class="parameter"><code><span class="type">unsigned long </span> features</code></em>,
|
||||
<em class="parameter"><code><span class="type">unsigned </span> flags</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-init-s"></a><h3>glibtop_init_s ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="returnvalue">glibtop</span></a> *
|
||||
glibtop_init_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> **server_ptr</code></em>,
|
||||
<em class="parameter"><code><span class="type">unsigned long </span> features</code></em>,
|
||||
<em class="parameter"><code><span class="type">unsigned </span> flags</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-GlibTop.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MOUNTENTRY-LEN:CAPS"></a><h3>GLIBTOP_MOUNTENTRY_LEN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MOUNTENTRY_LEN 79
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop"></a><h3>struct glibtop</h3>
|
||||
<pre class="programlisting">struct glibtop {
|
||||
unsigned flags;
|
||||
unsigned method; /* Server Method */
|
||||
unsigned error_method; /* Error Method */
|
||||
int input [2]; /* Pipe client <- server */
|
||||
int output [2]; /* Pipe client -> server */
|
||||
int socket; /* Accepted connection of a socket */
|
||||
int ncpu; /* Number of CPUs, zero if single-processor */
|
||||
int real_ncpu; /* Real number of CPUs. Only ncpu are monitored */
|
||||
unsigned long os_version_code; /* Version code of the operating system */
|
||||
const char *name; /* Program name for error messages */
|
||||
const char *server_command; /* Command used to invoke server */
|
||||
const char *server_host; /* Host the server should run on */
|
||||
const char *server_user; /* Name of the user on the target host */
|
||||
const char *server_rsh; /* Command used to connect to the target host */
|
||||
unsigned long features; /* Server is required for this features */
|
||||
unsigned long server_port; /* Port on which daemon is listening */
|
||||
glibtop_sysdeps sysdeps; /* Detailed feature list */
|
||||
glibtop_sysdeps required; /* Required feature list */
|
||||
pid_t pid; /* PID of the server */
|
||||
|
||||
uid_t uid;
|
||||
uid_t euid;
|
||||
gid_t gid;
|
||||
gid_t egid;
|
||||
|
||||
glibtop_machine *machine; /* Machine dependent data */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-global-server"></a><h3>glibtop_global_server</h3>
|
||||
<pre class="programlisting">extern glibtop *glibtop_global_server;
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-server-features"></a><h3>glibtop_server_features</h3>
|
||||
<pre class="programlisting">extern const unsigned long glibtop_server_features;
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
310
doc/reference/html/libgtop-Net-List.html
Normal file
@@ -0,0 +1,310 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Net List: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-Uptime.html" title="Uptime">
|
||||
<link rel="next" href="libgtop-open.html" title="open">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-Net-List.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-Uptime.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-open.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-Net-List"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-Net-List.top_of_page"></a>Net List</span></h2>
|
||||
<p>Net List — Network Devices List.</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-List.stability-level"></a><h2>Stability Level</h2>
|
||||
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-List.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">char</span> **
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Net-List.html#glibtop-get-netlist" title="glibtop_get_netlist ()">glibtop_get_netlist</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">char</span> **
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Net-List.html#glibtop-get-netlist-l" title="glibtop_get_netlist_l ()">glibtop_get_netlist_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">char</span> **
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Net-List.html#glibtop-get-netlist-p" title="glibtop_get_netlist_p ()">glibtop_get_netlist_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">char</span> **
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Net-List.html#glibtop-get-netlist-s" title="glibtop_get_netlist_s ()">glibtop_get_netlist_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-List.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-List.html#GLIBTOP-NETLIST-NUMBER:CAPS" title="GLIBTOP_NETLIST_NUMBER">GLIBTOP_NETLIST_NUMBER</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-List.html#GLIBTOP-MAX-NETLIST:CAPS" title="GLIBTOP_MAX_NETLIST">GLIBTOP_MAX_NETLIST</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-List.html#glibtop-netlist" title="struct glibtop_netlist">glibtop_netlist</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-List.html#glibtop-get-netlist-r" title="glibtop_get_netlist_r">glibtop_get_netlist_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-List.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/netlist.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-List.description"></a><h2>Description</h2>
|
||||
<p>The application class handles ...</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-List.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-netlist"></a><h3>glibtop_get_netlist ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">char</span> **
|
||||
glibtop_get_netlist (<em class="parameter"><code><a class="link" href="libgtop-Net-List.html#glibtop-netlist" title="struct glibtop_netlist"><span class="type">glibtop_netlist</span></a> *buf</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-netlist.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-Net-List.html#glibtop-netlist" title="struct glibtop_netlist"><span class="type">glibtop_netlist</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-netlist.returns"></a><h4>Returns</h4>
|
||||
<p> an array of network
|
||||
interface names. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> zero-terminated=1][<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-netlist-l"></a><h3>glibtop_get_netlist_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">char</span> **
|
||||
glibtop_get_netlist_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-Net-List.html#glibtop-netlist" title="struct glibtop_netlist"><span class="type">glibtop_netlist</span></a> *buf</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-netlist-l.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>server</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> server</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-Net-List.html#glibtop-netlist" title="struct glibtop_netlist"><span class="type">glibtop_netlist</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-netlist-l.returns"></a><h4>Returns</h4>
|
||||
<p> an array of network
|
||||
interface names. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> zero-terminated=1][<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-netlist-p"></a><h3>glibtop_get_netlist_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">char</span> **
|
||||
glibtop_get_netlist_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-Net-List.html#glibtop-netlist" title="struct glibtop_netlist"><span class="type">glibtop_netlist</span></a> *buf</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-netlist-p.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>server</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> server</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-Net-List.html#glibtop-netlist" title="struct glibtop_netlist"><span class="type">glibtop_netlist</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-netlist-p.returns"></a><h4>Returns</h4>
|
||||
<p> an array of network
|
||||
interface names. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> zero-terminated=1][<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-netlist-s"></a><h3>glibtop_get_netlist_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">char</span> **
|
||||
glibtop_get_netlist_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-Net-List.html#glibtop-netlist" title="struct glibtop_netlist"><span class="type">glibtop_netlist</span></a> *buf</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-netlist-s.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>server</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> server</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-Net-List.html#glibtop-netlist" title="struct glibtop_netlist"><span class="type">glibtop_netlist</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-netlist-s.returns"></a><h4>Returns</h4>
|
||||
<p> an array of network
|
||||
interface names. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> zero-terminated=1][<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-List.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLIST-NUMBER:CAPS"></a><h3>GLIBTOP_NETLIST_NUMBER</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLIST_NUMBER 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-NETLIST:CAPS"></a><h3>GLIBTOP_MAX_NETLIST</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_NETLIST 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-netlist"></a><h3>struct glibtop_netlist</h3>
|
||||
<pre class="programlisting">struct glibtop_netlist {
|
||||
guint64 flags;
|
||||
guint32 number;
|
||||
};
|
||||
</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-netlist.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="struct_members_name">
|
||||
<col class="struct_members_description">
|
||||
<col width="200px" class="struct_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-netlist.flags"></a>flags</code></em>;</p></td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="glibtop-netlist.number"></a>number</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Number of entries in the returned list.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-netlist-r"></a><h3>glibtop_get_netlist_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_netlist_r glibtop_get_netlist_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-List.see-also"></a><h2>See Also</h2>
|
||||
<p><span class="type">libgtop-netload</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
405
doc/reference/html/libgtop-Net-Load.html
Normal file
@@ -0,0 +1,405 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Net Load: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-GlibTop-Server.html" title="GlibTop Server">
|
||||
<link rel="next" href="libgtop-PPP.html" title="PPP">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-Net-Load.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-GlibTop-Server.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-PPP.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-Net-Load"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-Net-Load.top_of_page"></a>Net Load</span></h2>
|
||||
<p>Net Load — Network Load.</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-Load.stability-level"></a><h2>Stability Level</h2>
|
||||
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-Load.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Net-Load.html#glibtop-get-netload" title="glibtop_get_netload ()">glibtop_get_netload</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Net-Load.html#glibtop-get-netload-l" title="glibtop_get_netload_l ()">glibtop_get_netload_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Net-Load.html#glibtop-get-netload-p" title="glibtop_get_netload_p ()">glibtop_get_netload_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Net-Load.html#glibtop-get-netload-s" title="glibtop_get_netload_s ()">glibtop_get_netload_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-Load.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-IF-FLAGS:CAPS" title="GLIBTOP_NETLOAD_IF_FLAGS">GLIBTOP_NETLOAD_IF_FLAGS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-MTU:CAPS" title="GLIBTOP_NETLOAD_MTU">GLIBTOP_NETLOAD_MTU</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-SUBNET:CAPS" title="GLIBTOP_NETLOAD_SUBNET">GLIBTOP_NETLOAD_SUBNET</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-ADDRESS:CAPS" title="GLIBTOP_NETLOAD_ADDRESS">GLIBTOP_NETLOAD_ADDRESS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-PACKETS-IN:CAPS" title="GLIBTOP_NETLOAD_PACKETS_IN">GLIBTOP_NETLOAD_PACKETS_IN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-PACKETS-OUT:CAPS" title="GLIBTOP_NETLOAD_PACKETS_OUT">GLIBTOP_NETLOAD_PACKETS_OUT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-PACKETS-TOTAL:CAPS" title="GLIBTOP_NETLOAD_PACKETS_TOTAL">GLIBTOP_NETLOAD_PACKETS_TOTAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-BYTES-IN:CAPS" title="GLIBTOP_NETLOAD_BYTES_IN">GLIBTOP_NETLOAD_BYTES_IN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-BYTES-OUT:CAPS" title="GLIBTOP_NETLOAD_BYTES_OUT">GLIBTOP_NETLOAD_BYTES_OUT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-BYTES-TOTAL:CAPS" title="GLIBTOP_NETLOAD_BYTES_TOTAL">GLIBTOP_NETLOAD_BYTES_TOTAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-ERRORS-IN:CAPS" title="GLIBTOP_NETLOAD_ERRORS_IN">GLIBTOP_NETLOAD_ERRORS_IN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-ERRORS-OUT:CAPS" title="GLIBTOP_NETLOAD_ERRORS_OUT">GLIBTOP_NETLOAD_ERRORS_OUT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-ERRORS-TOTAL:CAPS" title="GLIBTOP_NETLOAD_ERRORS_TOTAL">GLIBTOP_NETLOAD_ERRORS_TOTAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-COLLISIONS:CAPS" title="GLIBTOP_NETLOAD_COLLISIONS">GLIBTOP_NETLOAD_COLLISIONS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-ADDRESS6:CAPS" title="GLIBTOP_NETLOAD_ADDRESS6">GLIBTOP_NETLOAD_ADDRESS6</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-PREFIX6:CAPS" title="GLIBTOP_NETLOAD_PREFIX6">GLIBTOP_NETLOAD_PREFIX6</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-SCOPE6:CAPS" title="GLIBTOP_NETLOAD_SCOPE6">GLIBTOP_NETLOAD_SCOPE6</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-NETLOAD-HWADDRESS:CAPS" title="GLIBTOP_NETLOAD_HWADDRESS">GLIBTOP_NETLOAD_HWADDRESS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#GLIBTOP-MAX-NETLOAD:CAPS" title="GLIBTOP_MAX_NETLOAD">GLIBTOP_MAX_NETLOAD</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#glibtop-netload" title="struct glibtop_netload">glibtop_netload</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Net-Load.html#glibtop-get-netload-r" title="glibtop_get_netload_r">glibtop_get_netload_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-Load.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/netload.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-Load.description"></a><h2>Description</h2>
|
||||
<p>The application class handles ...</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-Load.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-netload"></a><h3>glibtop_get_netload ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_netload (<em class="parameter"><code><a class="link" href="libgtop-Net-Load.html#glibtop-netload" title="struct glibtop_netload"><span class="type">glibtop_netload</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">char</span> *interface</code></em>);</pre>
|
||||
<p>Recolects network statistics for <em class="parameter"><code>interface</code></em>
|
||||
|
||||
(which is the same than in <span class="application">ifconfig</span>).
|
||||
The values are returned into <em class="parameter"><code>buf</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-netload.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>The variable where the results will be assigned.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>interface</p></td>
|
||||
<td class="parameter_description"><p>The name of the network interface.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-netload-l"></a><h3>glibtop_get_netload_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_netload_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-Net-Load.html#glibtop-netload" title="struct glibtop_netload"><span class="type">glibtop_netload</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">char</span> *interface</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-netload-p"></a><h3>glibtop_get_netload_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_netload_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-Net-Load.html#glibtop-netload" title="struct glibtop_netload"><span class="type">glibtop_netload</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">char</span> *interface</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-netload-s"></a><h3>glibtop_get_netload_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_netload_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-Net-Load.html#glibtop-netload" title="struct glibtop_netload"><span class="type">glibtop_netload</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">char</span> *interface</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-Load.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-IF-FLAGS:CAPS"></a><h3>GLIBTOP_NETLOAD_IF_FLAGS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_IF_FLAGS 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-MTU:CAPS"></a><h3>GLIBTOP_NETLOAD_MTU</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_MTU 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-SUBNET:CAPS"></a><h3>GLIBTOP_NETLOAD_SUBNET</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_SUBNET 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-ADDRESS:CAPS"></a><h3>GLIBTOP_NETLOAD_ADDRESS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_ADDRESS 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-PACKETS-IN:CAPS"></a><h3>GLIBTOP_NETLOAD_PACKETS_IN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_PACKETS_IN 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-PACKETS-OUT:CAPS"></a><h3>GLIBTOP_NETLOAD_PACKETS_OUT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_PACKETS_OUT 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-PACKETS-TOTAL:CAPS"></a><h3>GLIBTOP_NETLOAD_PACKETS_TOTAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_PACKETS_TOTAL 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-BYTES-IN:CAPS"></a><h3>GLIBTOP_NETLOAD_BYTES_IN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_BYTES_IN 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-BYTES-OUT:CAPS"></a><h3>GLIBTOP_NETLOAD_BYTES_OUT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_BYTES_OUT 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-BYTES-TOTAL:CAPS"></a><h3>GLIBTOP_NETLOAD_BYTES_TOTAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_BYTES_TOTAL 9
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-ERRORS-IN:CAPS"></a><h3>GLIBTOP_NETLOAD_ERRORS_IN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_ERRORS_IN 10
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-ERRORS-OUT:CAPS"></a><h3>GLIBTOP_NETLOAD_ERRORS_OUT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_ERRORS_OUT 11
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-ERRORS-TOTAL:CAPS"></a><h3>GLIBTOP_NETLOAD_ERRORS_TOTAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_ERRORS_TOTAL 12
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-COLLISIONS:CAPS"></a><h3>GLIBTOP_NETLOAD_COLLISIONS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_COLLISIONS 13
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-ADDRESS6:CAPS"></a><h3>GLIBTOP_NETLOAD_ADDRESS6</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_ADDRESS6 14
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-PREFIX6:CAPS"></a><h3>GLIBTOP_NETLOAD_PREFIX6</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_PREFIX6 15
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-SCOPE6:CAPS"></a><h3>GLIBTOP_NETLOAD_SCOPE6</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_SCOPE6 16
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NETLOAD-HWADDRESS:CAPS"></a><h3>GLIBTOP_NETLOAD_HWADDRESS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NETLOAD_HWADDRESS 17
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-NETLOAD:CAPS"></a><h3>GLIBTOP_MAX_NETLOAD</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_NETLOAD 18
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-netload"></a><h3>struct glibtop_netload</h3>
|
||||
<pre class="programlisting">struct glibtop_netload {
|
||||
guint64 flags;
|
||||
guint64 if_flags; /* GLIBTOP_NETLOAD_IF_FLAGS */
|
||||
|
||||
guint32 mtu; /* GLIBTOP_NETLOAD_MTU */
|
||||
guint32 subnet; /* GLIBTOP_NETLOAD_SUBNET */
|
||||
guint32 address; /* GLIBTOP_NETLOAD_ADDRESS */
|
||||
|
||||
guint64 packets_in; /* GLIBTOP_NETLOAD_PACKETS_IN */
|
||||
guint64 packets_out; /* GLIBTOP_NETLOAD_PACKETS_OUT */
|
||||
guint64 packets_total; /* GLIBTOP_NETLOAD_PACKETS_TOTAL*/
|
||||
guint64 bytes_in; /* GLIBTOP_NETLOAD_BYTES_IN */
|
||||
guint64 bytes_out; /* GLIBTOP_NETLOAD_BYTES_OUT */
|
||||
guint64 bytes_total; /* GLIBTOP_NETLOAD_BYTES_TOTAL */
|
||||
guint64 errors_in; /* GLIBTOP_NETLOAD_ERRORS_IN */
|
||||
guint64 errors_out; /* GLIBTOP_NETLOAD_ERRORS_OUT */
|
||||
guint64 errors_total; /* GLIBTOP_NETLOAD_ERRORS_TOTAL */
|
||||
guint64 collisions; /* GLIBTOP_NETLOAD_COLLISIONS */
|
||||
|
||||
guint8 address6[16]; /* GLIBTOP_NETLOAD_ADDRESS6 */
|
||||
guint8 prefix6[16]; /* GLIBTOP_NETLOAD_PREXIF6 */
|
||||
guint8 scope6; /* GLIBTOP_NETLOAD_SCOPE6 */
|
||||
|
||||
guint8 hwaddress[8]; /* GLIBTOP_NETLOAD_HWADDRESS */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-netload-r"></a><h3>glibtop_get_netload_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_netload_r glibtop_get_netload_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Net-Load.see-also"></a><h2>See Also</h2>
|
||||
<p><span class="type">libtop-netlist</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
227
doc/reference/html/libgtop-PPP.html
Normal file
@@ -0,0 +1,227 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>PPP: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-Net-Load.html" title="Net Load">
|
||||
<link rel="next" href="libgtop-Shared-Memory-Limits.html" title="Shared Memory Limits">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-PPP.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-Net-Load.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-Shared-Memory-Limits.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-PPP"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-PPP.top_of_page"></a>PPP</span></h2>
|
||||
<p>PPP — PPP Usage.</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-PPP.stability-level"></a><h2>Stability Level</h2>
|
||||
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-PPP.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-PPP.html#glibtop-get-ppp" title="glibtop_get_ppp ()">glibtop_get_ppp</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-PPP.html#glibtop-get-ppp-l" title="glibtop_get_ppp_l ()">glibtop_get_ppp_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-PPP.html#glibtop-get-ppp-p" title="glibtop_get_ppp_p ()">glibtop_get_ppp_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-PPP.html#glibtop-get-ppp-s" title="glibtop_get_ppp_s ()">glibtop_get_ppp_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-PPP.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-PPP.html#GLIBTOP-PPP-STATE:CAPS" title="GLIBTOP_PPP_STATE">GLIBTOP_PPP_STATE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-PPP.html#GLIBTOP-PPP-BYTES-IN:CAPS" title="GLIBTOP_PPP_BYTES_IN">GLIBTOP_PPP_BYTES_IN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-PPP.html#GLIBTOP-PPP-BYTES-OUT:CAPS" title="GLIBTOP_PPP_BYTES_OUT">GLIBTOP_PPP_BYTES_OUT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-PPP.html#GLIBTOP-MAX-PPP:CAPS" title="GLIBTOP_MAX_PPP">GLIBTOP_MAX_PPP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-PPP.html#glibtop-ppp" title="struct glibtop_ppp">glibtop_ppp</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-PPP.html#glibtop-get-ppp-r" title="glibtop_get_ppp_r">glibtop_get_ppp_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-PPP.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/ppp.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-PPP.description"></a><h2>Description</h2>
|
||||
<p>Management of a PPP device.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-PPP.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-ppp"></a><h3>glibtop_get_ppp ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_ppp (<em class="parameter"><code><a class="link" href="libgtop-PPP.html#glibtop-ppp" title="struct glibtop_ppp"><span class="type">glibtop_ppp</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">unsigned short </span> device</code></em>);</pre>
|
||||
<p>Get the PPP usage.</p>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-ppp.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>A location to return the PPP usage
|
||||
<em class="parameter"><code>short</code></em>
|
||||
device: The device to ask information</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-ppp-l"></a><h3>glibtop_get_ppp_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_ppp_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-PPP.html#glibtop-ppp" title="struct glibtop_ppp"><span class="type">glibtop_ppp</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">unsigned short </span> device</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-ppp-p"></a><h3>glibtop_get_ppp_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_ppp_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-PPP.html#glibtop-ppp" title="struct glibtop_ppp"><span class="type">glibtop_ppp</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">unsigned short </span> device</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-ppp-s"></a><h3>glibtop_get_ppp_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_ppp_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-PPP.html#glibtop-ppp" title="struct glibtop_ppp"><span class="type">glibtop_ppp</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">unsigned short </span> device</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-PPP.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PPP-STATE:CAPS"></a><h3>GLIBTOP_PPP_STATE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PPP_STATE 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PPP-BYTES-IN:CAPS"></a><h3>GLIBTOP_PPP_BYTES_IN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PPP_BYTES_IN 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PPP-BYTES-OUT:CAPS"></a><h3>GLIBTOP_PPP_BYTES_OUT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PPP_BYTES_OUT 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-PPP:CAPS"></a><h3>GLIBTOP_MAX_PPP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_PPP 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-ppp"></a><h3>struct glibtop_ppp</h3>
|
||||
<pre class="programlisting">struct glibtop_ppp {
|
||||
guint64 flags;
|
||||
guint64 state; /* GLIBTOP_PPP_STATE */
|
||||
guint64 bytes_in; /* GLIBTOP_PPP_BYTES_IN */
|
||||
guint64 bytes_out; /* GLIBTOP_PPP_BYTES_OUT */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-ppp-r"></a><h3>glibtop_get_ppp_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_ppp_r glibtop_get_ppp_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-PPP.see-also"></a><h2>See Also</h2>
|
||||
<p><span class="type">libgtop-netload</span>, <span class="type">libgtop-netlist</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
196
doc/reference/html/libgtop-Process-Arguments.html
Normal file
@@ -0,0 +1,196 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Process Arguments: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-parameter.html" title="parameter">
|
||||
<link rel="next" href="libgtop-procmem.html" title="procmem">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-Process-Arguments.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-parameter.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-procmem.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-Process-Arguments"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-Process-Arguments.top_of_page"></a>Process Arguments</span></h2>
|
||||
<p>Process Arguments — Get process command line arguments</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Arguments.stability-level"></a><h2>Stability Level</h2>
|
||||
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Arguments.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">char</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Process-Arguments.html#glibtop-get-proc-args" title="glibtop_get_proc_args ()">glibtop_get_proc_args</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">char</span> **
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Process-Arguments.html#glibtop-get-proc-argv" title="glibtop_get_proc_argv ()">glibtop_get_proc_argv</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Arguments.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-Arguments.html#glibtop-proc-args" title="struct glibtop_proc_args">glibtop_proc_args</a></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Arguments.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/procargs.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Arguments.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Arguments.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-args"></a><h3>glibtop_get_proc_args ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">char</span> *
|
||||
glibtop_get_proc_args (<em class="parameter"><code><a class="link" href="libgtop-Process-Arguments.html#glibtop-proc-args" title="struct glibtop_proc_args"><span class="type">glibtop_proc_args</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>,
|
||||
<em class="parameter"><code><span class="type">unsigned </span> max_len</code></em>);</pre>
|
||||
<p>Get process command line arguments.</p>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-args.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>Struct with <em class="parameter"><code>size</code></em>
|
||||
of returned string.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pid</p></td>
|
||||
<td class="parameter_description"><p>Process id</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>max_len</p></td>
|
||||
<td class="parameter_description"><p>Maximum length of string to return (use zero to get all arguments).</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-args.returns"></a><h4>Returns</h4>
|
||||
<p> <em class="parameter"><code>pid</code></em>
|
||||
's command line arguments separated by null bytes; the length of
|
||||
this string is returned in the <em class="parameter"><code>buf</code></em>
|
||||
size field. You are required to free
|
||||
the string when done.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-argv"></a><h3>glibtop_get_proc_argv ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">char</span> **
|
||||
glibtop_get_proc_argv (<em class="parameter"><code><a class="link" href="libgtop-Process-Arguments.html#glibtop-proc-args" title="struct glibtop_proc_args"><span class="type">glibtop_proc_args</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>,
|
||||
<em class="parameter"><code><span class="type">unsigned </span> max_len</code></em>);</pre>
|
||||
<p>Get process command line arguments.</p>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-argv.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>Struct with <em class="parameter"><code>size</code></em>
|
||||
of combined returned arguments.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pid</p></td>
|
||||
<td class="parameter_description"><p>Process id</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>max_len</p></td>
|
||||
<td class="parameter_description"><p>Maximum length of all arguments combined (use zero to get all arguments).</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-argv.returns"></a><h4>Returns</h4>
|
||||
<p> A NULL-terminated array of strings with all arguments of process pid
|
||||
(up to <em class="parameter"><code>max_len</code></em>
|
||||
characters). Remember to <code class="function">g_strfreev</code>
|
||||
the returned array to avoid a memory leak.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Arguments.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-proc-args"></a><h3>struct glibtop_proc_args</h3>
|
||||
<pre class="programlisting">struct glibtop_proc_args {
|
||||
guint64 flags;
|
||||
guint64 size; /* GLIBTOP_PROC_ARGS_SIZE */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Arguments.see-also"></a><h2>See Also</h2>
|
||||
<p><a class="link" href="libgtop-Process-List.html" title="Process List"><span class="type">libgtop-Process-List</span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
302
doc/reference/html/libgtop-Process-List.html
Normal file
@@ -0,0 +1,302 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Process List: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-version.html" title="version">
|
||||
<link rel="next" href="libgtop-sem-limits.html" title="sem_limits">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-Process-List.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-version.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-sem-limits.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-Process-List"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-Process-List.top_of_page"></a>Process List</span></h2>
|
||||
<p>Process List — List running processes</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-List.stability-level"></a><h2>Stability Level</h2>
|
||||
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-List.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">pid_t</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Process-List.html#glibtop-get-proclist" title="glibtop_get_proclist ()">glibtop_get_proclist</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-List.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-List.html#GLIBTOP-KERN-PROC-ALL:CAPS" title="GLIBTOP_KERN_PROC_ALL">GLIBTOP_KERN_PROC_ALL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-List.html#GLIBTOP-KERN-PROC-PID:CAPS" title="GLIBTOP_KERN_PROC_PID">GLIBTOP_KERN_PROC_PID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-List.html#GLIBTOP-KERN-PROC-PGRP:CAPS" title="GLIBTOP_KERN_PROC_PGRP">GLIBTOP_KERN_PROC_PGRP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-List.html#GLIBTOP-KERN-PROC-SESSION:CAPS" title="GLIBTOP_KERN_PROC_SESSION">GLIBTOP_KERN_PROC_SESSION</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-List.html#GLIBTOP-KERN-PROC-TTY:CAPS" title="GLIBTOP_KERN_PROC_TTY">GLIBTOP_KERN_PROC_TTY</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-List.html#GLIBTOP-KERN-PROC-UID:CAPS" title="GLIBTOP_KERN_PROC_UID">GLIBTOP_KERN_PROC_UID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-List.html#GLIBTOP-KERN-PROC-RUID:CAPS" title="GLIBTOP_KERN_PROC_RUID">GLIBTOP_KERN_PROC_RUID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-List.html#GLIBTOP-KERN-PROC-MASK:CAPS" title="GLIBTOP_KERN_PROC_MASK">GLIBTOP_KERN_PROC_MASK</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-List.html#GLIBTOP-EXCLUDE-IDLE:CAPS" title="GLIBTOP_EXCLUDE_IDLE">GLIBTOP_EXCLUDE_IDLE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-List.html#GLIBTOP-EXCLUDE-SYSTEM:CAPS" title="GLIBTOP_EXCLUDE_SYSTEM">GLIBTOP_EXCLUDE_SYSTEM</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-List.html#GLIBTOP-EXCLUDE-NOTTY:CAPS" title="GLIBTOP_EXCLUDE_NOTTY">GLIBTOP_EXCLUDE_NOTTY</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-List.html#glibtop-proclist" title="struct glibtop_proclist">glibtop_proclist</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-List.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/proclist.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-List.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-List.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proclist"></a><h3>glibtop_get_proclist ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">pid_t</span> *
|
||||
glibtop_get_proclist (<em class="parameter"><code><a class="link" href="libgtop-Process-List.html#glibtop-proclist" title="struct glibtop_proclist"><span class="type">glibtop_proclist</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint64"><span class="type">gint64</span></a> which</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint64"><span class="type">gint64</span></a> arg</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proclist.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>Extra return information, see <a class="link" href="libgtop-Process-List.html#glibtop-proclist" title="struct glibtop_proclist"><span class="type">glibtop_proclist</span></a>.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>which</p></td>
|
||||
<td class="parameter_description"><p>Criteria for processes in returned list. See the <span class="type">GLIBTOP_KERN_PROC_*</span> and <span class="type">GLIBTOP_EXCLUDE_*</span> constants.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>arg</p></td>
|
||||
<td class="parameter_description"><p>Extra arguments applied to <em class="parameter"><code>which</code></em>
|
||||
. Only <span class="type">GLIBTOP_KERN_PROC_*</span> constants take arguments, see each constant definition for particular <em class="parameter"><code>arg</code></em>
|
||||
description.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proclist.returns"></a><h4>Returns</h4>
|
||||
<p> A list of running processes or <span class="type">NULL</span> on error. The
|
||||
returned list is allocated using <code class="function">g_malloc</code> and must be
|
||||
freed using <code class="function">g_free</code> to avoid a memory leak.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-List.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-KERN-PROC-ALL:CAPS"></a><h3>GLIBTOP_KERN_PROC_ALL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_KERN_PROC_ALL 0
|
||||
</pre>
|
||||
<p>Return information about all processes</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-KERN-PROC-PID:CAPS"></a><h3>GLIBTOP_KERN_PROC_PID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_KERN_PROC_PID 1
|
||||
</pre>
|
||||
<p>Return all processes with the pid which is passed in <em class="parameter"><code>arg</code></em>
|
||||
. You can use this to find out whether some process still exists.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-KERN-PROC-PGRP:CAPS"></a><h3>GLIBTOP_KERN_PROC_PGRP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_KERN_PROC_PGRP 2
|
||||
</pre>
|
||||
<p>Return all processes in the process group passed in <em class="parameter"><code>arg</code></em>
|
||||
.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-KERN-PROC-SESSION:CAPS"></a><h3>GLIBTOP_KERN_PROC_SESSION</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_KERN_PROC_SESSION 3
|
||||
</pre>
|
||||
<p>Return all processes in the session passed in <em class="parameter"><code>arg</code></em>
|
||||
.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-KERN-PROC-TTY:CAPS"></a><h3>GLIBTOP_KERN_PROC_TTY</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_KERN_PROC_TTY 4
|
||||
</pre>
|
||||
<p>Return all processes which have the controlling tty passed in <em class="parameter"><code>arg</code></em>
|
||||
|
||||
(which is interpreted as the device number).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-KERN-PROC-UID:CAPS"></a><h3>GLIBTOP_KERN_PROC_UID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_KERN_PROC_UID 5
|
||||
</pre>
|
||||
<p>Return all processes with the effective uid passed in <em class="parameter"><code>arg</code></em>
|
||||
.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-KERN-PROC-RUID:CAPS"></a><h3>GLIBTOP_KERN_PROC_RUID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_KERN_PROC_RUID 6
|
||||
</pre>
|
||||
<p>Return all processes with the real uid passed in <em class="parameter"><code>arg</code></em>
|
||||
.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-KERN-PROC-MASK:CAPS"></a><h3>GLIBTOP_KERN_PROC_MASK</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_KERN_PROC_MASK 15
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-EXCLUDE-IDLE:CAPS"></a><h3>GLIBTOP_EXCLUDE_IDLE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_EXCLUDE_IDLE 0x1000
|
||||
</pre>
|
||||
<p>Exclude idle processes.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-EXCLUDE-SYSTEM:CAPS"></a><h3>GLIBTOP_EXCLUDE_SYSTEM</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_EXCLUDE_SYSTEM 0x2000
|
||||
</pre>
|
||||
<p>Exclude system (on most UNIXes root's) processes.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-EXCLUDE-NOTTY:CAPS"></a><h3>GLIBTOP_EXCLUDE_NOTTY</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_EXCLUDE_NOTTY 0x4000
|
||||
</pre>
|
||||
<p>Exclude processes without a controlling terminal.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-proclist"></a><h3>struct glibtop_proclist</h3>
|
||||
<pre class="programlisting">struct glibtop_proclist {
|
||||
guint64 flags;
|
||||
guint64 number; /* GLIBTOP_PROCLIST_NUMBER */
|
||||
guint64 total; /* GLIBTOP_PROCLIST_TOTAL */
|
||||
guint64 size; /* GLIBTOP_PROCLIST_SIZE */
|
||||
};
|
||||
</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-proclist.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="struct_members_name">
|
||||
<col class="struct_members_description">
|
||||
<col width="200px" class="struct_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proclist.flags"></a>flags</code></em>;</p></td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proclist.number"></a>number</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Number of entries in the returned list.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proclist.total"></a>total</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Total size of the returned list (this equals <em class="parameter"><code>number</code></em>
|
||||
* <em class="parameter"><code>size</code></em>
|
||||
).</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proclist.size"></a>size</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Size of a single entry in the returned list
|
||||
(this equals <span class="type">sizeof(unsigned)</span>).</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
214
doc/reference/html/libgtop-Process-Time.html
Normal file
@@ -0,0 +1,214 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Process Time: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-procuid.html" title="procuid">
|
||||
<link rel="next" href="libgtop-signal.html" title="signal">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-Process-Time.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-procuid.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-signal.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-Process-Time"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-Process-Time.top_of_page"></a>Process Time</span></h2>
|
||||
<p>Process Time — Get process time information</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Time.stability-level"></a><h2>Stability Level</h2>
|
||||
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Time.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Process-Time.html#glibtop-get-proc-time" title="glibtop_get_proc_time ()">glibtop_get_proc_time</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Time.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Process-Time.html#glibtop-proc-time" title="struct glibtop_proc_time">glibtop_proc_time</a></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Time.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/proctime.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Time.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Time.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-time"></a><h3>glibtop_get_proc_time ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_time (<em class="parameter"><code><a class="link" href="libgtop-Process-Time.html#glibtop-proc-time" title="struct glibtop_proc_time"><span class="type">glibtop_proc_time</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
<p>Get process time information.</p>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-time.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>Returned process time information - see <a class="link" href="libgtop-Process-Time.html#glibtop-proc-time" title="struct glibtop_proc_time"><span class="type">glibtop_proc_time</span></a>.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pid</p></td>
|
||||
<td class="parameter_description"><p>Process id</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Process-Time.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-proc-time"></a><h3>struct glibtop_proc_time</h3>
|
||||
<pre class="programlisting">struct glibtop_proc_time {
|
||||
guint64 start_time;
|
||||
guint64 rtime;
|
||||
guint64 utime;
|
||||
guint64 stime;
|
||||
guint64 cutime;
|
||||
guint64 cstime;
|
||||
guint64 timeout;
|
||||
guint64 it_real_value;
|
||||
guint64 frequency;
|
||||
guint64 xcpu_utime [GLIBTOP_NCPU];
|
||||
guint64 xcpu_stime [GLIBTOP_NCPU];
|
||||
};
|
||||
</pre>
|
||||
<p>Process time data filled by <a class="link" href="libgtop-Process-Time.html#glibtop-get-proc-time" title="glibtop_get_proc_time ()"><code class="function">glibtop_get_proc_time()</code></a>.</p>
|
||||
<p>Under Linux the <em class="parameter"><code>start_time</code></em>
|
||||
value may be wrong due to the information
|
||||
available from the kernel.</p>
|
||||
<p>The Linux kernel defines <span class="type">INITIAL_JIFFIES</span> which implies a time
|
||||
shift. Because <span class="type">INITIAL_JIFFIES</span> is not user-space defined,
|
||||
we cannot use it to compute an accurate <em class="parameter"><code>start_time</code></em>
|
||||
. On Linux 2.6,</p>
|
||||
<span class="type">INITIAL_JIFFIES</span> is 300 so <em class="parameter"><code>start_time</code></em> is
|
||||
<p>always 3s different from the real start time of the given process. You
|
||||
may also get shift results if your system clock is not synchronised
|
||||
with your hardware clock. See <span class="command"><strong>man hwclock</strong></span>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-proc-time.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="struct_members_name">
|
||||
<col class="struct_members_description">
|
||||
<col width="200px" class="struct_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.start-time"></a>start_time</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Start time of process in seconds since the epoch.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.rtime"></a>rtime</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Real time accumulated by process (should be <em class="parameter"><code>utime</code></em>
|
||||
+ <em class="parameter"><code>stime</code></em>
|
||||
).</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.utime"></a>utime</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>User-mode CPU time accumulated by process.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.stime"></a>stime</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Kernel-mode CPU time accumulated by process.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.cutime"></a>cutime</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Cumulative utime of process and reaped children.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.cstime"></a>cstime</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Cumulative stime of process and reaped children.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-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_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.it-real-value"></a>it_real_value</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The time (in jiffies) before the next <span class="type">SIGALRM</span>
|
||||
is sent to the process due to an interval timer.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.frequency"></a>frequency</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Tick frequency.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.xcpu-utime"></a>xcpu_utime</code></em>[GLIBTOP_NCPU];</p></td>
|
||||
<td class="struct_member_description"><p>SMP user-mode CPU time accumulated by process.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-proc-time.xcpu-stime"></a>xcpu_stime</code></em>[GLIBTOP_NCPU];</p></td>
|
||||
<td class="struct_member_description"><p>SMP kernel-mode CPU time accumulated by process </p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
299
doc/reference/html/libgtop-Shared-Memory-Limits.html
Normal file
@@ -0,0 +1,299 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Shared Memory Limits: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-PPP.html" title="PPP">
|
||||
<link rel="next" href="libgtop-Uptime.html" title="Uptime">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-Shared-Memory-Limits.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-PPP.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-Uptime.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-Shared-Memory-Limits"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-Shared-Memory-Limits.top_of_page"></a>Shared Memory Limits</span></h2>
|
||||
<p>Shared Memory Limits</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Shared-Memory-Limits.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-get-shm-limits" title="glibtop_get_shm_limits ()">glibtop_get_shm_limits</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-get-shm-limits-l" title="glibtop_get_shm_limits_l ()">glibtop_get_shm_limits_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-get-shm-limits-p" title="glibtop_get_shm_limits_p ()">glibtop_get_shm_limits_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-get-shm-limits-s" title="glibtop_get_shm_limits_s ()">glibtop_get_shm_limits_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Shared-Memory-Limits.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Shared-Memory-Limits.html#GLIBTOP-IPC-SHMMAX:CAPS" title="GLIBTOP_IPC_SHMMAX">GLIBTOP_IPC_SHMMAX</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Shared-Memory-Limits.html#GLIBTOP-IPC-SHMMIN:CAPS" title="GLIBTOP_IPC_SHMMIN">GLIBTOP_IPC_SHMMIN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Shared-Memory-Limits.html#GLIBTOP-IPC-SHMMNI:CAPS" title="GLIBTOP_IPC_SHMMNI">GLIBTOP_IPC_SHMMNI</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Shared-Memory-Limits.html#GLIBTOP-IPC-SHMSEG:CAPS" title="GLIBTOP_IPC_SHMSEG">GLIBTOP_IPC_SHMSEG</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Shared-Memory-Limits.html#GLIBTOP-IPC-SHMALL:CAPS" title="GLIBTOP_IPC_SHMALL">GLIBTOP_IPC_SHMALL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Shared-Memory-Limits.html#GLIBTOP-MAX-SHM-LIMITS:CAPS" title="GLIBTOP_MAX_SHM_LIMITS">GLIBTOP_MAX_SHM_LIMITS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-shm-limits" title="struct glibtop_shm_limits">glibtop_shm_limits</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-get-shm-limits-r" title="glibtop_get_shm_limits_r">glibtop_get_shm_limits_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Shared-Memory-Limits.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/shm_limits.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Shared-Memory-Limits.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Shared-Memory-Limits.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-shm-limits"></a><h3>glibtop_get_shm_limits ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_shm_limits (<em class="parameter"><code><a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-shm-limits" title="struct glibtop_shm_limits"><span class="type">glibtop_shm_limits</span></a> *buf</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-shm-limits.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-shm-limits" title="struct glibtop_shm_limits"><span class="type">glibtop_shm_limits</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-shm-limits-l"></a><h3>glibtop_get_shm_limits_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_shm_limits_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-shm-limits" title="struct glibtop_shm_limits"><span class="type">glibtop_shm_limits</span></a> *buf</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-shm-limits-l.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>server</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> server</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-shm-limits" title="struct glibtop_shm_limits"><span class="type">glibtop_shm_limits</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-shm-limits-p"></a><h3>glibtop_get_shm_limits_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_shm_limits_p (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *Param1</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-shm-limits" title="struct glibtop_shm_limits"><span class="type">glibtop_shm_limits</span></a> *buf</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-shm-limits-p.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>server</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> server</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-shm-limits" title="struct glibtop_shm_limits"><span class="type">glibtop_shm_limits</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-shm-limits-s"></a><h3>glibtop_get_shm_limits_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_shm_limits_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-shm-limits" title="struct glibtop_shm_limits"><span class="type">glibtop_shm_limits</span></a> *buf</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-shm-limits-s.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>server</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> server</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="libgtop-Shared-Memory-Limits.html#glibtop-shm-limits" title="struct glibtop_shm_limits"><span class="type">glibtop_shm_limits</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Shared-Memory-Limits.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SHMMAX:CAPS"></a><h3>GLIBTOP_IPC_SHMMAX</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SHMMAX 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SHMMIN:CAPS"></a><h3>GLIBTOP_IPC_SHMMIN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SHMMIN 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SHMMNI:CAPS"></a><h3>GLIBTOP_IPC_SHMMNI</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SHMMNI 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SHMSEG:CAPS"></a><h3>GLIBTOP_IPC_SHMSEG</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SHMSEG 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SHMALL:CAPS"></a><h3>GLIBTOP_IPC_SHMALL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SHMALL 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-SHM-LIMITS:CAPS"></a><h3>GLIBTOP_MAX_SHM_LIMITS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_SHM_LIMITS 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-shm-limits"></a><h3>struct glibtop_shm_limits</h3>
|
||||
<pre class="programlisting">struct glibtop_shm_limits {
|
||||
guint64 flags;
|
||||
guint64 shmmax; /* GLIBTOP_IPC_SHMMAX */
|
||||
guint64 shmmin; /* GLIBTOP_IPC_SHMMIN */
|
||||
guint64 shmmni; /* GLIBTOP_IPC_SHMMNI */
|
||||
guint64 shmseg; /* GLIBTOP_IPC_SHMSEG */
|
||||
guint64 shmall; /* GLIBTOP_IPC_SHMALL */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-shm-limits-r"></a><h3>glibtop_get_shm_limits_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_shm_limits_r glibtop_get_shm_limits_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
216
doc/reference/html/libgtop-Uptime.html
Normal file
@@ -0,0 +1,216 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uptime: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-Shared-Memory-Limits.html" title="Shared Memory Limits">
|
||||
<link rel="next" href="libgtop-Net-List.html" title="Net List">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-Uptime.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-Shared-Memory-Limits.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-Net-List.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-Uptime"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-Uptime.top_of_page"></a>Uptime</span></h2>
|
||||
<p>Uptime</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Uptime.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Uptime.html#glibtop-get-uptime" title="glibtop_get_uptime ()">glibtop_get_uptime</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Uptime.html#glibtop-get-uptime-l" title="glibtop_get_uptime_l ()">glibtop_get_uptime_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Uptime.html#glibtop-get-uptime-p" title="glibtop_get_uptime_p ()">glibtop_get_uptime_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-Uptime.html#glibtop-get-uptime-s" title="glibtop_get_uptime_s ()">glibtop_get_uptime_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Uptime.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Uptime.html#GLIBTOP-UPTIME-UPTIME:CAPS" title="GLIBTOP_UPTIME_UPTIME">GLIBTOP_UPTIME_UPTIME</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Uptime.html#GLIBTOP-UPTIME-IDLETIME:CAPS" title="GLIBTOP_UPTIME_IDLETIME">GLIBTOP_UPTIME_IDLETIME</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Uptime.html#GLIBTOP-UPTIME-BOOT-TIME:CAPS" title="GLIBTOP_UPTIME_BOOT_TIME">GLIBTOP_UPTIME_BOOT_TIME</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Uptime.html#GLIBTOP-MAX-UPTIME:CAPS" title="GLIBTOP_MAX_UPTIME">GLIBTOP_MAX_UPTIME</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Uptime.html#glibtop-uptime" title="struct glibtop_uptime">glibtop_uptime</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-Uptime.html#glibtop-get-uptime-r" title="glibtop_get_uptime_r">glibtop_get_uptime_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Uptime.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/uptime.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Uptime.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Uptime.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-uptime"></a><h3>glibtop_get_uptime ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_uptime (<em class="parameter"><code><a class="link" href="libgtop-Uptime.html#glibtop-uptime" title="struct glibtop_uptime"><span class="type">glibtop_uptime</span></a> *buf</code></em>);</pre>
|
||||
<p>When porting LibGTop to a new system, you only need to implement
|
||||
<span class="type">uptime</span> and <span class="type">idletime</span> if there's a faster or better way to obtain them
|
||||
as using function(glibtop_cpu) for it. Look at
|
||||
<code class="filename">sysdeps/freebsd/uptime.c</code> for an
|
||||
example on how to obtain them using function(glibtop_cpu).</p>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-uptime.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>A location to return the system uptime</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-uptime-l"></a><h3>glibtop_get_uptime_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_uptime_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-Uptime.html#glibtop-uptime" title="struct glibtop_uptime"><span class="type">glibtop_uptime</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-uptime-p"></a><h3>glibtop_get_uptime_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_uptime_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-Uptime.html#glibtop-uptime" title="struct glibtop_uptime"><span class="type">glibtop_uptime</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-uptime-s"></a><h3>glibtop_get_uptime_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_uptime_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-Uptime.html#glibtop-uptime" title="struct glibtop_uptime"><span class="type">glibtop_uptime</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-Uptime.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-UPTIME-UPTIME:CAPS"></a><h3>GLIBTOP_UPTIME_UPTIME</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_UPTIME_UPTIME 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-UPTIME-IDLETIME:CAPS"></a><h3>GLIBTOP_UPTIME_IDLETIME</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_UPTIME_IDLETIME 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-UPTIME-BOOT-TIME:CAPS"></a><h3>GLIBTOP_UPTIME_BOOT_TIME</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_UPTIME_BOOT_TIME 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-UPTIME:CAPS"></a><h3>GLIBTOP_MAX_UPTIME</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_UPTIME 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-uptime"></a><h3>struct glibtop_uptime</h3>
|
||||
<pre class="programlisting">struct glibtop_uptime {
|
||||
guint64 flags;
|
||||
double uptime; /* GLIBTOP_UPTIME_UPTIME */
|
||||
double idletime; /* GLIBTOP_UPTIME_IDLETIME */
|
||||
guint64 boot_time;
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-uptime-r"></a><h3>glibtop_get_uptime_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_uptime_r glibtop_get_uptime_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
391
doc/reference/html/libgtop-cpu.html
Normal file
@@ -0,0 +1,391 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>cpu: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-msg-limits.html" title="msg_limits">
|
||||
<link rel="next" href="libgtop-swap.html" title="swap">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-cpu.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-msg-limits.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-swap.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-cpu"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-cpu.top_of_page"></a>cpu</span></h2>
|
||||
<p>cpu</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-cpu.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-cpu.html#glibtop-get-cpu" title="glibtop_get_cpu ()">glibtop_get_cpu</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-cpu.html#glibtop-get-cpu-l" title="glibtop_get_cpu_l ()">glibtop_get_cpu_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-cpu.html#glibtop-get-cpu-p" title="glibtop_get_cpu_p ()">glibtop_get_cpu_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-cpu.html#glibtop-get-cpu-s" title="glibtop_get_cpu_s ()">glibtop_get_cpu_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-cpu.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-CPU-TOTAL:CAPS" title="GLIBTOP_CPU_TOTAL">GLIBTOP_CPU_TOTAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-CPU-USER:CAPS" title="GLIBTOP_CPU_USER">GLIBTOP_CPU_USER</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-CPU-NICE:CAPS" title="GLIBTOP_CPU_NICE">GLIBTOP_CPU_NICE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-CPU-SYS:CAPS" title="GLIBTOP_CPU_SYS">GLIBTOP_CPU_SYS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-CPU-IDLE:CAPS" title="GLIBTOP_CPU_IDLE">GLIBTOP_CPU_IDLE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-CPU-FREQUENCY:CAPS" title="GLIBTOP_CPU_FREQUENCY">GLIBTOP_CPU_FREQUENCY</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-XCPU-TOTAL:CAPS" title="GLIBTOP_XCPU_TOTAL">GLIBTOP_XCPU_TOTAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-XCPU-USER:CAPS" title="GLIBTOP_XCPU_USER">GLIBTOP_XCPU_USER</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-XCPU-NICE:CAPS" title="GLIBTOP_XCPU_NICE">GLIBTOP_XCPU_NICE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-XCPU-SYS:CAPS" title="GLIBTOP_XCPU_SYS">GLIBTOP_XCPU_SYS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-XCPU-IDLE:CAPS" title="GLIBTOP_XCPU_IDLE">GLIBTOP_XCPU_IDLE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-XCPU-FLAGS:CAPS" title="GLIBTOP_XCPU_FLAGS">GLIBTOP_XCPU_FLAGS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-CPU-IOWAIT:CAPS" title="GLIBTOP_CPU_IOWAIT">GLIBTOP_CPU_IOWAIT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-CPU-IRQ:CAPS" title="GLIBTOP_CPU_IRQ">GLIBTOP_CPU_IRQ</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-CPU-SOFTIRQ:CAPS" title="GLIBTOP_CPU_SOFTIRQ">GLIBTOP_CPU_SOFTIRQ</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-XCPU-IOWAIT:CAPS" title="GLIBTOP_XCPU_IOWAIT">GLIBTOP_XCPU_IOWAIT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-XCPU-IRQ:CAPS" title="GLIBTOP_XCPU_IRQ">GLIBTOP_XCPU_IRQ</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-XCPU-SOFTIRQ:CAPS" title="GLIBTOP_XCPU_SOFTIRQ">GLIBTOP_XCPU_SOFTIRQ</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-MAX-CPU:CAPS" title="GLIBTOP_MAX_CPU">GLIBTOP_MAX_CPU</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#GLIBTOP-NCPU:CAPS" title="GLIBTOP_NCPU">GLIBTOP_NCPU</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#glibtop-cpu" title="struct glibtop_cpu">glibtop_cpu</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-cpu.html#glibtop-get-cpu-r" title="glibtop_get_cpu_r">glibtop_get_cpu_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-cpu.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/cpu.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-cpu.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-cpu.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-cpu"></a><h3>glibtop_get_cpu ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_cpu (<em class="parameter"><code><a class="link" href="libgtop-cpu.html#glibtop-cpu" title="struct glibtop_cpu"><span class="type">glibtop_cpu</span></a> *buf</code></em>);</pre>
|
||||
<p>Get the CPU usage.</p>
|
||||
<p>All CPU units are measured in <span class="type">jiffies</span> which are normally
|
||||
1/100th of a second (in which case <span class="type">frequency</span> equals 100),
|
||||
but can also be in any other unit. To get seconds, divide them by </p>
|
||||
<span class="type">frequency</span>.
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-cpu.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>A location to return the CPU usage.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-cpu-l"></a><h3>glibtop_get_cpu_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_cpu_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-cpu.html#glibtop-cpu" title="struct glibtop_cpu"><span class="type">glibtop_cpu</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-cpu-p"></a><h3>glibtop_get_cpu_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_cpu_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-cpu.html#glibtop-cpu" title="struct glibtop_cpu"><span class="type">glibtop_cpu</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-cpu-s"></a><h3>glibtop_get_cpu_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_cpu_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-cpu.html#glibtop-cpu" title="struct glibtop_cpu"><span class="type">glibtop_cpu</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-cpu.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CPU-TOTAL:CAPS"></a><h3>GLIBTOP_CPU_TOTAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CPU_TOTAL 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CPU-USER:CAPS"></a><h3>GLIBTOP_CPU_USER</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CPU_USER 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CPU-NICE:CAPS"></a><h3>GLIBTOP_CPU_NICE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CPU_NICE 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CPU-SYS:CAPS"></a><h3>GLIBTOP_CPU_SYS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CPU_SYS 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CPU-IDLE:CAPS"></a><h3>GLIBTOP_CPU_IDLE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CPU_IDLE 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CPU-FREQUENCY:CAPS"></a><h3>GLIBTOP_CPU_FREQUENCY</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CPU_FREQUENCY 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-XCPU-TOTAL:CAPS"></a><h3>GLIBTOP_XCPU_TOTAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_XCPU_TOTAL 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-XCPU-USER:CAPS"></a><h3>GLIBTOP_XCPU_USER</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_XCPU_USER 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-XCPU-NICE:CAPS"></a><h3>GLIBTOP_XCPU_NICE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_XCPU_NICE 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-XCPU-SYS:CAPS"></a><h3>GLIBTOP_XCPU_SYS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_XCPU_SYS 9
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-XCPU-IDLE:CAPS"></a><h3>GLIBTOP_XCPU_IDLE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_XCPU_IDLE 10
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-XCPU-FLAGS:CAPS"></a><h3>GLIBTOP_XCPU_FLAGS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_XCPU_FLAGS 11
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CPU-IOWAIT:CAPS"></a><h3>GLIBTOP_CPU_IOWAIT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CPU_IOWAIT 12
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CPU-IRQ:CAPS"></a><h3>GLIBTOP_CPU_IRQ</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CPU_IRQ 13
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-CPU-SOFTIRQ:CAPS"></a><h3>GLIBTOP_CPU_SOFTIRQ</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_CPU_SOFTIRQ 14
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-XCPU-IOWAIT:CAPS"></a><h3>GLIBTOP_XCPU_IOWAIT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_XCPU_IOWAIT 15
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-XCPU-IRQ:CAPS"></a><h3>GLIBTOP_XCPU_IRQ</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_XCPU_IRQ 16
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-XCPU-SOFTIRQ:CAPS"></a><h3>GLIBTOP_XCPU_SOFTIRQ</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_XCPU_SOFTIRQ 17
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-CPU:CAPS"></a><h3>GLIBTOP_MAX_CPU</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_CPU 18
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-NCPU:CAPS"></a><h3>GLIBTOP_NCPU</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_NCPU 1024
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-cpu"></a><h3>struct glibtop_cpu</h3>
|
||||
<pre class="programlisting">struct glibtop_cpu {
|
||||
guint64 flags;
|
||||
guint64 total; /* GLIBTOP_CPU_TOTAL */
|
||||
guint64 user; /* GLIBTOP_CPU_USER */
|
||||
guint64 nice; /* GLIBTOP_CPU_NICE */
|
||||
guint64 sys; /* GLIBTOP_CPU_SYS */
|
||||
guint64 idle; /* GLIBTOP_CPU_IDLE */
|
||||
guint64 iowait; /* GLIBTOP_CPU_IOWAIT */
|
||||
guint64 irq; /* GLIBTOP_CPU_IRQ */
|
||||
guint64 softirq; /* GLIBTOP_CPU_SOFTIRQ */
|
||||
guint64 frequency; /* GLIBTOP_CPU_FREQUENCY */
|
||||
guint64 xcpu_total [GLIBTOP_NCPU]; /* GLIBTOP_XCPU_TOTAL */
|
||||
guint64 xcpu_user [GLIBTOP_NCPU]; /* GLIBTOP_XCPU_USER */
|
||||
guint64 xcpu_nice [GLIBTOP_NCPU]; /* GLIBTOP_XCPU_NICE */
|
||||
guint64 xcpu_sys [GLIBTOP_NCPU]; /* GLIBTOP_XCPU_SYS */
|
||||
guint64 xcpu_idle [GLIBTOP_NCPU]; /* GLIBTOP_XCPU_IDLE */
|
||||
guint64 xcpu_iowait [GLIBTOP_NCPU]; /* GLIBTOP_XCPU_IOWAIT */
|
||||
guint64 xcpu_irq [GLIBTOP_NCPU]; /* GLIBTOP_XCPU_IRQ */
|
||||
guint64 xcpu_softirq [GLIBTOP_NCPU]; /* GLIBTOP_XCPU_SOFTIRQ */
|
||||
guint64 xcpu_flags; /* GLIBTOP_XCPU_IDLE */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-cpu-r"></a><h3>glibtop_get_cpu_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_cpu_r glibtop_get_cpu_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
262
doc/reference/html/libgtop-fsusage.html
Normal file
@@ -0,0 +1,262 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>fsusage: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-prockernel.html" title="prockernel">
|
||||
<link rel="next" href="libgtop-loadavg.html" title="loadavg">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-fsusage.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-prockernel.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-loadavg.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-fsusage"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-fsusage.top_of_page"></a>fsusage</span></h2>
|
||||
<p>fsusage</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-fsusage.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-fsusage.html#glibtop-get-fsusage" title="glibtop_get_fsusage ()">glibtop_get_fsusage</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-fsusage.html#glibtop-get-fsusage-l" title="glibtop_get_fsusage_l ()">glibtop_get_fsusage_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-fsusage.html#glibtop-get-fsusage-s" title="glibtop_get_fsusage_s ()">glibtop_get_fsusage_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-fsusage.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-fsusage.html#GLIBTOP-FSUSAGE-BLOCKS:CAPS" title="GLIBTOP_FSUSAGE_BLOCKS">GLIBTOP_FSUSAGE_BLOCKS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-fsusage.html#GLIBTOP-FSUSAGE-BFREE:CAPS" title="GLIBTOP_FSUSAGE_BFREE">GLIBTOP_FSUSAGE_BFREE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-fsusage.html#GLIBTOP-FSUSAGE-BAVAIL:CAPS" title="GLIBTOP_FSUSAGE_BAVAIL">GLIBTOP_FSUSAGE_BAVAIL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-fsusage.html#GLIBTOP-FSUSAGE-FILES:CAPS" title="GLIBTOP_FSUSAGE_FILES">GLIBTOP_FSUSAGE_FILES</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-fsusage.html#GLIBTOP-FSUSAGE-FFREE:CAPS" title="GLIBTOP_FSUSAGE_FFREE">GLIBTOP_FSUSAGE_FFREE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-fsusage.html#GLIBTOP-FSUSAGE-BLOCK-SIZE:CAPS" title="GLIBTOP_FSUSAGE_BLOCK_SIZE">GLIBTOP_FSUSAGE_BLOCK_SIZE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-fsusage.html#GLIBTOP-FSUSAGE-READ:CAPS" title="GLIBTOP_FSUSAGE_READ">GLIBTOP_FSUSAGE_READ</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-fsusage.html#GLIBTOP-FSUSAGE-WRITE:CAPS" title="GLIBTOP_FSUSAGE_WRITE">GLIBTOP_FSUSAGE_WRITE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-fsusage.html#GLIBTOP-MAX-FSUSAGE:CAPS" title="GLIBTOP_MAX_FSUSAGE">GLIBTOP_MAX_FSUSAGE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-fsusage.html#glibtop-fsusage" title="struct glibtop_fsusage">glibtop_fsusage</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-fsusage.html#glibtop-get-fsusage-r" title="glibtop_get_fsusage_r">glibtop_get_fsusage_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-fsusage.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/fsusage.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-fsusage.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-fsusage.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-fsusage"></a><h3>glibtop_get_fsusage ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_fsusage (<em class="parameter"><code><a class="link" href="libgtop-fsusage.html#glibtop-fsusage" title="struct glibtop_fsusage"><span class="type">glibtop_fsusage</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">char</span> *mount_dir</code></em>);</pre>
|
||||
<p>Get the file system usage for an specific <em class="parameter"><code>mount_dir</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-fsusage.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>A location to return the file system usage.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>mount_dir</p></td>
|
||||
<td class="parameter_description"><p>mount dir where to get the information of usage.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-fsusage-l"></a><h3>glibtop_get_fsusage_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_fsusage_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-fsusage.html#glibtop-fsusage" title="struct glibtop_fsusage"><span class="type">glibtop_fsusage</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">char</span> *mount_dir</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-fsusage-s"></a><h3>glibtop_get_fsusage_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_fsusage_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-fsusage.html#glibtop-fsusage" title="struct glibtop_fsusage"><span class="type">glibtop_fsusage</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">char</span> *mount_dir</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-fsusage.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FSUSAGE-BLOCKS:CAPS"></a><h3>GLIBTOP_FSUSAGE_BLOCKS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FSUSAGE_BLOCKS 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FSUSAGE-BFREE:CAPS"></a><h3>GLIBTOP_FSUSAGE_BFREE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FSUSAGE_BFREE 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FSUSAGE-BAVAIL:CAPS"></a><h3>GLIBTOP_FSUSAGE_BAVAIL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FSUSAGE_BAVAIL 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FSUSAGE-FILES:CAPS"></a><h3>GLIBTOP_FSUSAGE_FILES</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FSUSAGE_FILES 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FSUSAGE-FFREE:CAPS"></a><h3>GLIBTOP_FSUSAGE_FFREE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FSUSAGE_FFREE 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FSUSAGE-BLOCK-SIZE:CAPS"></a><h3>GLIBTOP_FSUSAGE_BLOCK_SIZE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FSUSAGE_BLOCK_SIZE 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FSUSAGE-READ:CAPS"></a><h3>GLIBTOP_FSUSAGE_READ</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FSUSAGE_READ 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FSUSAGE-WRITE:CAPS"></a><h3>GLIBTOP_FSUSAGE_WRITE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FSUSAGE_WRITE 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-FSUSAGE:CAPS"></a><h3>GLIBTOP_MAX_FSUSAGE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_FSUSAGE 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-fsusage"></a><h3>struct glibtop_fsusage</h3>
|
||||
<pre class="programlisting">struct glibtop_fsusage {
|
||||
guint64 flags;
|
||||
guint64 blocks; /* Total number of blocks. */
|
||||
guint64 bfree; /* Free blocks available to superuser. */
|
||||
guint64 bavail; /* Free blocks available to non-superuser. */
|
||||
guint64 files; /* Total file nodes. */
|
||||
guint64 ffree; /* Free file nodes. */
|
||||
guint32 block_size; /* Size of a block in bytes. */
|
||||
guint64 read, write; /* Total blocks read and written */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-fsusage-r"></a><h3>glibtop_get_fsusage_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_fsusage_r glibtop_get_fsusage_s
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
138
doc/reference/html/libgtop-lib.html
Normal file
@@ -0,0 +1,138 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Libgtop Library Reference: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" 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="next" href="libgtop-GlibTop.html" title="GlibTop">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts"></td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
|
||||
<td><a accesskey="p" href="libgtop-white-paper-overview.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-GlibTop.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="chapter">
|
||||
<div class="titlepage"><div><div><h1 class="title">
|
||||
<a name="libgtop-lib"></a>Libgtop Library Reference</h1></div></div></div>
|
||||
<div class="toc"><dl class="toc">
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-GlibTop.html">GlibTop</a></span><span class="refpurpose"> — Server initilization</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Close.html">Close</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Command.html">Command</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-GlibTop-Server.html">GlibTop Server</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Net-Load.html">Net Load</a></span><span class="refpurpose"> — Network Load.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-PPP.html">PPP</a></span><span class="refpurpose"> — PPP Usage.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Shared-Memory-Limits.html">Shared Memory Limits</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Uptime.html">Uptime</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Net-List.html">Net List</a></span><span class="refpurpose"> — Network Devices List.</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-open.html">open</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-parameter.html">parameter</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Process-Arguments.html">Process Arguments</a></span><span class="refpurpose"> — Get process command line arguments</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procmem.html">procmem</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procopenfiles.html">procopenfiles</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procsegment.html">procsegment</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procsignal.html">procsignal</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-sysdeps.html">sysdeps</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procstate.html">procstate</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procuid.html">procuid</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Process-Time.html">Process Time</a></span><span class="refpurpose"> — Get process time information</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-signal.html">signal</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-procmap.html">procmap</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-sysinfo.html">sysinfo</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-union.html">union</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-version.html">version</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-Process-List.html">Process List</a></span><span class="refpurpose"> — List running processes</span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-sem-limits.html">sem_limits</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-prockernel.html">prockernel</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-fsusage.html">fsusage</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-loadavg.html">loadavg</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-mem.html">mem</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-mountlist.html">mountlist</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-msg-limits.html">msg_limits</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-cpu.html">cpu</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
<dt>
|
||||
<span class="refentrytitle"><a href="libgtop-swap.html">swap</a></span><span class="refpurpose"></span>
|
||||
</dt>
|
||||
</dl></div>
|
||||
<p>This section contains the API reference for libgtop. All
|
||||
the public interfaces are documented here.</p>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
207
doc/reference/html/libgtop-loadavg.html
Normal file
@@ -0,0 +1,207 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>loadavg: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-fsusage.html" title="fsusage">
|
||||
<link rel="next" href="libgtop-mem.html" title="mem">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-loadavg.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-fsusage.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-mem.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-loadavg"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-loadavg.top_of_page"></a>loadavg</span></h2>
|
||||
<p>loadavg</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-loadavg.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-loadavg.html#glibtop-get-loadavg" title="glibtop_get_loadavg ()">glibtop_get_loadavg</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-loadavg.html#glibtop-get-loadavg-l" title="glibtop_get_loadavg_l ()">glibtop_get_loadavg_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-loadavg.html#glibtop-get-loadavg-p" title="glibtop_get_loadavg_p ()">glibtop_get_loadavg_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-loadavg.html#glibtop-get-loadavg-s" title="glibtop_get_loadavg_s ()">glibtop_get_loadavg_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-loadavg.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-loadavg.html#GLIBTOP-LOADAVG-LOADAVG:CAPS" title="GLIBTOP_LOADAVG_LOADAVG">GLIBTOP_LOADAVG_LOADAVG</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-loadavg.html#GLIBTOP-LOADAVG-NR-RUNNING:CAPS" title="GLIBTOP_LOADAVG_NR_RUNNING">GLIBTOP_LOADAVG_NR_RUNNING</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-loadavg.html#GLIBTOP-LOADAVG-NR-TASKS:CAPS" title="GLIBTOP_LOADAVG_NR_TASKS">GLIBTOP_LOADAVG_NR_TASKS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-loadavg.html#GLIBTOP-LOADAVG-LAST-PID:CAPS" title="GLIBTOP_LOADAVG_LAST_PID">GLIBTOP_LOADAVG_LAST_PID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-loadavg.html#GLIBTOP-MAX-LOADAVG:CAPS" title="GLIBTOP_MAX_LOADAVG">GLIBTOP_MAX_LOADAVG</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-loadavg.html#glibtop-loadavg" title="struct glibtop_loadavg">glibtop_loadavg</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-loadavg.html#glibtop-get-loadavg-r" title="glibtop_get_loadavg_r">glibtop_get_loadavg_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-loadavg.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/loadavg.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-loadavg.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-loadavg.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-loadavg"></a><h3>glibtop_get_loadavg ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_loadavg (<em class="parameter"><code><a class="link" href="libgtop-loadavg.html#glibtop-loadavg" title="struct glibtop_loadavg"><span class="type">glibtop_loadavg</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-loadavg-l"></a><h3>glibtop_get_loadavg_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_loadavg_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-loadavg.html#glibtop-loadavg" title="struct glibtop_loadavg"><span class="type">glibtop_loadavg</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-loadavg-p"></a><h3>glibtop_get_loadavg_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_loadavg_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-loadavg.html#glibtop-loadavg" title="struct glibtop_loadavg"><span class="type">glibtop_loadavg</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-loadavg-s"></a><h3>glibtop_get_loadavg_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_loadavg_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-loadavg.html#glibtop-loadavg" title="struct glibtop_loadavg"><span class="type">glibtop_loadavg</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-loadavg.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-LOADAVG-LOADAVG:CAPS"></a><h3>GLIBTOP_LOADAVG_LOADAVG</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_LOADAVG_LOADAVG 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-LOADAVG-NR-RUNNING:CAPS"></a><h3>GLIBTOP_LOADAVG_NR_RUNNING</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_LOADAVG_NR_RUNNING 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-LOADAVG-NR-TASKS:CAPS"></a><h3>GLIBTOP_LOADAVG_NR_TASKS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_LOADAVG_NR_TASKS 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-LOADAVG-LAST-PID:CAPS"></a><h3>GLIBTOP_LOADAVG_LAST_PID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_LOADAVG_LAST_PID 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-LOADAVG:CAPS"></a><h3>GLIBTOP_MAX_LOADAVG</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_LOADAVG 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-loadavg"></a><h3>struct glibtop_loadavg</h3>
|
||||
<pre class="programlisting">struct glibtop_loadavg {
|
||||
guint64 flags;
|
||||
double loadavg [3]; /* GLIBTOP_LOADAVG_LOADAVG */
|
||||
guint64 nr_running; /* GLIBTOP_LOADAVG_NR_RUNNING */
|
||||
guint64 nr_tasks; /* GLIBTOP_LOADAVG_NR_TASKS */
|
||||
guint64 last_pid; /* GLIBTOP_LOADAVG_LAST_PID */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-loadavg-r"></a><h3>glibtop_get_loadavg_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_loadavg_r glibtop_get_loadavg_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
268
doc/reference/html/libgtop-mem.html
Normal file
@@ -0,0 +1,268 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>mem: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-loadavg.html" title="loadavg">
|
||||
<link rel="next" href="libgtop-mountlist.html" title="mountlist">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-mem.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-loadavg.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-mountlist.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-mem"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-mem.top_of_page"></a>mem</span></h2>
|
||||
<p>mem</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-mem.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-mem.html#glibtop-get-mem" title="glibtop_get_mem ()">glibtop_get_mem</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-mem.html#glibtop-get-mem-l" title="glibtop_get_mem_l ()">glibtop_get_mem_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-mem.html#glibtop-get-mem-p" title="glibtop_get_mem_p ()">glibtop_get_mem_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-mem.html#glibtop-get-mem-s" title="glibtop_get_mem_s ()">glibtop_get_mem_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-mem.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mem.html#GLIBTOP-MEM-TOTAL:CAPS" title="GLIBTOP_MEM_TOTAL">GLIBTOP_MEM_TOTAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mem.html#GLIBTOP-MEM-USED:CAPS" title="GLIBTOP_MEM_USED">GLIBTOP_MEM_USED</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mem.html#GLIBTOP-MEM-FREE:CAPS" title="GLIBTOP_MEM_FREE">GLIBTOP_MEM_FREE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mem.html#GLIBTOP-MEM-SHARED:CAPS" title="GLIBTOP_MEM_SHARED">GLIBTOP_MEM_SHARED</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mem.html#GLIBTOP-MEM-BUFFER:CAPS" title="GLIBTOP_MEM_BUFFER">GLIBTOP_MEM_BUFFER</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mem.html#GLIBTOP-MEM-CACHED:CAPS" title="GLIBTOP_MEM_CACHED">GLIBTOP_MEM_CACHED</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mem.html#GLIBTOP-MEM-USER:CAPS" title="GLIBTOP_MEM_USER">GLIBTOP_MEM_USER</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mem.html#GLIBTOP-MEM-LOCKED:CAPS" title="GLIBTOP_MEM_LOCKED">GLIBTOP_MEM_LOCKED</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mem.html#GLIBTOP-MAX-MEM:CAPS" title="GLIBTOP_MAX_MEM">GLIBTOP_MAX_MEM</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mem.html#glibtop-mem" title="struct glibtop_mem">glibtop_mem</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mem.html#glibtop-get-mem-r" title="glibtop_get_mem_r">glibtop_get_mem_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-mem.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/mem.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-mem.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-mem.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-mem"></a><h3>glibtop_get_mem ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_mem (<em class="parameter"><code><a class="link" href="libgtop-mem.html#glibtop-mem" title="struct glibtop_mem"><span class="type">glibtop_mem</span></a> *buf</code></em>);</pre>
|
||||
<p>Get the memory usage. Unless explicitly stated otherwise, all memory
|
||||
units are in bytes.</p>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-mem.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>Buffer where the output will be given.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-mem-l"></a><h3>glibtop_get_mem_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_mem_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-mem.html#glibtop-mem" title="struct glibtop_mem"><span class="type">glibtop_mem</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-mem-p"></a><h3>glibtop_get_mem_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_mem_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-mem.html#glibtop-mem" title="struct glibtop_mem"><span class="type">glibtop_mem</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-mem-s"></a><h3>glibtop_get_mem_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_mem_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-mem.html#glibtop-mem" title="struct glibtop_mem"><span class="type">glibtop_mem</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-mem.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MEM-TOTAL:CAPS"></a><h3>GLIBTOP_MEM_TOTAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MEM_TOTAL 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MEM-USED:CAPS"></a><h3>GLIBTOP_MEM_USED</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MEM_USED 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MEM-FREE:CAPS"></a><h3>GLIBTOP_MEM_FREE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MEM_FREE 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MEM-SHARED:CAPS"></a><h3>GLIBTOP_MEM_SHARED</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MEM_SHARED 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MEM-BUFFER:CAPS"></a><h3>GLIBTOP_MEM_BUFFER</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MEM_BUFFER 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MEM-CACHED:CAPS"></a><h3>GLIBTOP_MEM_CACHED</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MEM_CACHED 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MEM-USER:CAPS"></a><h3>GLIBTOP_MEM_USER</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MEM_USER 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MEM-LOCKED:CAPS"></a><h3>GLIBTOP_MEM_LOCKED</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MEM_LOCKED 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-MEM:CAPS"></a><h3>GLIBTOP_MAX_MEM</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_MEM 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-mem"></a><h3>struct glibtop_mem</h3>
|
||||
<pre class="programlisting">struct glibtop_mem {
|
||||
guint64 flags;
|
||||
guint64 total; /* GLIBTOP_MEM_TOTAL */
|
||||
guint64 used; /* GLIBTOP_MEM_USED */
|
||||
guint64 free; /* GLIBTOP_MEM_FREE */
|
||||
guint64 shared; /* GLIBTOP_MEM_SHARED */
|
||||
guint64 buffer; /* GLIBTOP_MEM_BUFFER */
|
||||
guint64 cached; /* GLIBTOP_MEM_CACHED */
|
||||
guint64 user; /* GLIBTOP_MEM_USER */
|
||||
guint64 locked; /* GLIBTOP_MEM_LOCKED */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-mem-r"></a><h3>glibtop_get_mem_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_mem_r glibtop_get_mem_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
264
doc/reference/html/libgtop-mountlist.html
Normal file
@@ -0,0 +1,264 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>mountlist: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-mem.html" title="mem">
|
||||
<link rel="next" href="libgtop-msg-limits.html" title="msg_limits">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-mountlist.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-mem.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-msg-limits.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-mountlist"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-mountlist.top_of_page"></a>mountlist</span></h2>
|
||||
<p>mountlist</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-mountlist.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-mountlist.html#glibtop-mountentry" title="struct glibtop_mountentry"><span class="returnvalue">glibtop_mountentry</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-mountlist.html#glibtop-get-mountlist" title="glibtop_get_mountlist ()">glibtop_get_mountlist</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-mountlist.html#glibtop-mountentry" title="struct glibtop_mountentry"><span class="returnvalue">glibtop_mountentry</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-mountlist.html#glibtop-get-mountlist-l" title="glibtop_get_mountlist_l ()">glibtop_get_mountlist_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-mountlist.html#glibtop-mountentry" title="struct glibtop_mountentry"><span class="returnvalue">glibtop_mountentry</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-mountlist.html#glibtop-get-mountlist-s" title="glibtop_get_mountlist_s ()">glibtop_get_mountlist_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-mountlist.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mountlist.html#GLIBTOP-MOUNTLIST-NUMBER:CAPS" title="GLIBTOP_MOUNTLIST_NUMBER">GLIBTOP_MOUNTLIST_NUMBER</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mountlist.html#GLIBTOP-MOUNTLIST-TOTAL:CAPS" title="GLIBTOP_MOUNTLIST_TOTAL">GLIBTOP_MOUNTLIST_TOTAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mountlist.html#GLIBTOP-MOUNTLIST-SIZE:CAPS" title="GLIBTOP_MOUNTLIST_SIZE">GLIBTOP_MOUNTLIST_SIZE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mountlist.html#GLIBTOP-MAX-MOUNTLIST:CAPS" title="GLIBTOP_MAX_MOUNTLIST">GLIBTOP_MAX_MOUNTLIST</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mountlist.html#glibtop-mountentry" title="struct glibtop_mountentry">glibtop_mountentry</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mountlist.html#glibtop-mountlist" title="struct glibtop_mountlist">glibtop_mountlist</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-mountlist.html#glibtop-get-mountlist-r" title="glibtop_get_mountlist_r">glibtop_get_mountlist_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-mountlist.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/mountlist.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-mountlist.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-mountlist.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-mountlist"></a><h3>glibtop_get_mountlist ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-mountlist.html#glibtop-mountentry" title="struct glibtop_mountentry"><span class="returnvalue">glibtop_mountentry</span></a> *
|
||||
glibtop_get_mountlist (<em class="parameter"><code><a class="link" href="libgtop-mountlist.html#glibtop-mountlist" title="struct glibtop_mountlist"><span class="type">glibtop_mountlist</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">int</span> all_fs</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-mountlist.returns"></a><h4>Returns</h4>
|
||||
<p>. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-mountlist-l"></a><h3>glibtop_get_mountlist_l ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-mountlist.html#glibtop-mountentry" title="struct glibtop_mountentry"><span class="returnvalue">glibtop_mountentry</span></a> *
|
||||
glibtop_get_mountlist_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-mountlist.html#glibtop-mountlist" title="struct glibtop_mountlist"><span class="type">glibtop_mountlist</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">int</span> all_fs</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-mountlist-l.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-mountlist-l.returns"></a><h4>Returns</h4>
|
||||
<p>. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-mountlist-s"></a><h3>glibtop_get_mountlist_s ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-mountlist.html#glibtop-mountentry" title="struct glibtop_mountentry"><span class="returnvalue">glibtop_mountentry</span></a> *
|
||||
glibtop_get_mountlist_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-mountlist.html#glibtop-mountlist" title="struct glibtop_mountlist"><span class="type">glibtop_mountlist</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">int</span> all_fs</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-mountlist-s.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-mountlist-s.returns"></a><h4>Returns</h4>
|
||||
<p>. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-mountlist.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MOUNTLIST-NUMBER:CAPS"></a><h3>GLIBTOP_MOUNTLIST_NUMBER</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MOUNTLIST_NUMBER 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MOUNTLIST-TOTAL:CAPS"></a><h3>GLIBTOP_MOUNTLIST_TOTAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MOUNTLIST_TOTAL 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MOUNTLIST-SIZE:CAPS"></a><h3>GLIBTOP_MOUNTLIST_SIZE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MOUNTLIST_SIZE 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-MOUNTLIST:CAPS"></a><h3>GLIBTOP_MAX_MOUNTLIST</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_MOUNTLIST 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-mountentry"></a><h3>struct glibtop_mountentry</h3>
|
||||
<pre class="programlisting">struct glibtop_mountentry {
|
||||
guint64 dev;
|
||||
char devname [GLIBTOP_MOUNTENTRY_LEN+1];
|
||||
char mountdir [GLIBTOP_MOUNTENTRY_LEN+1];
|
||||
char type [GLIBTOP_MOUNTENTRY_LEN+1];
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-mountlist"></a><h3>struct glibtop_mountlist</h3>
|
||||
<pre class="programlisting">struct glibtop_mountlist {
|
||||
guint64 flags;
|
||||
guint64 number; /* GLIBTOP_MOUNTLIST_NUMBER */
|
||||
guint64 total; /* GLIBTOP_MOUNTLIST_TOTAL */
|
||||
guint64 size; /* GLIBTOP_MOUNTLIST_SIZE */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-mountlist-r"></a><h3>glibtop_get_mountlist_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_mountlist_r glibtop_get_mountlist_s
|
||||
</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-mountlist-r.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-mountlist-r.returns"></a><h4>Returns</h4>
|
||||
<p>. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
240
doc/reference/html/libgtop-msg-limits.html
Normal file
@@ -0,0 +1,240 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>msg_limits: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-mountlist.html" title="mountlist">
|
||||
<link rel="next" href="libgtop-cpu.html" title="cpu">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-msg-limits.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-mountlist.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-cpu.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-msg-limits"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-msg-limits.top_of_page"></a>msg_limits</span></h2>
|
||||
<p>msg_limits</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-msg-limits.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-msg-limits.html#glibtop-get-msg-limits" title="glibtop_get_msg_limits ()">glibtop_get_msg_limits</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-msg-limits.html#glibtop-get-msg-limits-l" title="glibtop_get_msg_limits_l ()">glibtop_get_msg_limits_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-msg-limits.html#glibtop-get-msg-limits-p" title="glibtop_get_msg_limits_p ()">glibtop_get_msg_limits_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-msg-limits.html#glibtop-get-msg-limits-s" title="glibtop_get_msg_limits_s ()">glibtop_get_msg_limits_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-msg-limits.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-msg-limits.html#GLIBTOP-IPC-MSGPOOL:CAPS" title="GLIBTOP_IPC_MSGPOOL">GLIBTOP_IPC_MSGPOOL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-msg-limits.html#GLIBTOP-IPC-MSGMAP:CAPS" title="GLIBTOP_IPC_MSGMAP">GLIBTOP_IPC_MSGMAP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-msg-limits.html#GLIBTOP-IPC-MSGMAX:CAPS" title="GLIBTOP_IPC_MSGMAX">GLIBTOP_IPC_MSGMAX</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-msg-limits.html#GLIBTOP-IPC-MSGMNB:CAPS" title="GLIBTOP_IPC_MSGMNB">GLIBTOP_IPC_MSGMNB</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-msg-limits.html#GLIBTOP-IPC-MSGMNI:CAPS" title="GLIBTOP_IPC_MSGMNI">GLIBTOP_IPC_MSGMNI</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-msg-limits.html#GLIBTOP-IPC-MSGSSZ:CAPS" title="GLIBTOP_IPC_MSGSSZ">GLIBTOP_IPC_MSGSSZ</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-msg-limits.html#GLIBTOP-IPC-MSGTQL:CAPS" title="GLIBTOP_IPC_MSGTQL">GLIBTOP_IPC_MSGTQL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-msg-limits.html#GLIBTOP-MAX-MSG-LIMITS:CAPS" title="GLIBTOP_MAX_MSG_LIMITS">GLIBTOP_MAX_MSG_LIMITS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-msg-limits.html#glibtop-msg-limits" title="struct glibtop_msg_limits">glibtop_msg_limits</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-msg-limits.html#glibtop-get-msg-limits-r" title="glibtop_get_msg_limits_r">glibtop_get_msg_limits_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-msg-limits.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/msg_limits.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-msg-limits.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-msg-limits.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-msg-limits"></a><h3>glibtop_get_msg_limits ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_msg_limits (<em class="parameter"><code><a class="link" href="libgtop-msg-limits.html#glibtop-msg-limits" title="struct glibtop_msg_limits"><span class="type">glibtop_msg_limits</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-msg-limits-l"></a><h3>glibtop_get_msg_limits_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_msg_limits_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-msg-limits.html#glibtop-msg-limits" title="struct glibtop_msg_limits"><span class="type">glibtop_msg_limits</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-msg-limits-p"></a><h3>glibtop_get_msg_limits_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_msg_limits_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-msg-limits.html#glibtop-msg-limits" title="struct glibtop_msg_limits"><span class="type">glibtop_msg_limits</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-msg-limits-s"></a><h3>glibtop_get_msg_limits_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_msg_limits_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-msg-limits.html#glibtop-msg-limits" title="struct glibtop_msg_limits"><span class="type">glibtop_msg_limits</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-msg-limits.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-MSGPOOL:CAPS"></a><h3>GLIBTOP_IPC_MSGPOOL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_MSGPOOL 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-MSGMAP:CAPS"></a><h3>GLIBTOP_IPC_MSGMAP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_MSGMAP 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-MSGMAX:CAPS"></a><h3>GLIBTOP_IPC_MSGMAX</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_MSGMAX 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-MSGMNB:CAPS"></a><h3>GLIBTOP_IPC_MSGMNB</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_MSGMNB 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-MSGMNI:CAPS"></a><h3>GLIBTOP_IPC_MSGMNI</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_MSGMNI 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-MSGSSZ:CAPS"></a><h3>GLIBTOP_IPC_MSGSSZ</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_MSGSSZ 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-MSGTQL:CAPS"></a><h3>GLIBTOP_IPC_MSGTQL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_MSGTQL 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-MSG-LIMITS:CAPS"></a><h3>GLIBTOP_MAX_MSG_LIMITS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_MSG_LIMITS 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-msg-limits"></a><h3>struct glibtop_msg_limits</h3>
|
||||
<pre class="programlisting">struct glibtop_msg_limits {
|
||||
guint64 flags;
|
||||
guint64 msgpool; /* GLIBTOP_IPC_MSGPOOL */
|
||||
guint64 msgmap; /* GLIBTOP_IPC_MSGMAP */
|
||||
guint64 msgmax; /* GLIBTOP_IPC_MSGMAX */
|
||||
guint64 msgmnb; /* GLIBTOP_IPC_MSGMNB */
|
||||
guint64 msgmni; /* GLIBTOP_IPC_MSGMNI */
|
||||
guint64 msgssz; /* GLIBTOP_IPC_MSGSSZ */
|
||||
guint64 msgtql; /* GLIBTOP_IPC_MSGTQL */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-msg-limits-r"></a><h3>glibtop_get_msg_limits_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_msg_limits_r glibtop_get_msg_limits_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
269
doc/reference/html/libgtop-open.html
Normal file
@@ -0,0 +1,269 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>open: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-Net-List.html" title="Net List">
|
||||
<link rel="next" href="libgtop-parameter.html" title="parameter">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-open.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-Net-List.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-parameter.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-open"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-open.top_of_page"></a>open</span></h2>
|
||||
<p>open</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-open.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-open.html#glibtop-open-l" title="glibtop_open_l ()">glibtop_open_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-open.html#glibtop-init-p" title="glibtop_init_p ()">glibtop_init_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-open.html#glibtop-open-p" title="glibtop_open_p ()">glibtop_open_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-open.html#glibtop-open-s" title="glibtop_open_s ()">glibtop_open_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-open.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-INIT-NO-OPEN:CAPS" title="GLIBTOP_INIT_NO_OPEN">GLIBTOP_INIT_NO_OPEN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-INIT-NO-INIT:CAPS" title="GLIBTOP_INIT_NO_INIT">GLIBTOP_INIT_NO_INIT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-FEATURES-NO-SERVER:CAPS" title="GLIBTOP_FEATURES_NO_SERVER">GLIBTOP_FEATURES_NO_SERVER</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-FEATURES-EXCEPT:CAPS" title="GLIBTOP_FEATURES_EXCEPT">GLIBTOP_FEATURES_EXCEPT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-METHOD-DIRECT:CAPS" title="GLIBTOP_METHOD_DIRECT">GLIBTOP_METHOD_DIRECT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-METHOD-PIPE:CAPS" title="GLIBTOP_METHOD_PIPE">GLIBTOP_METHOD_PIPE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-METHOD-INET:CAPS" title="GLIBTOP_METHOD_INET">GLIBTOP_METHOD_INET</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-METHOD-UNIX:CAPS" title="GLIBTOP_METHOD_UNIX">GLIBTOP_METHOD_UNIX</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-ERROR-METHOD-IGNORE:CAPS" title="GLIBTOP_ERROR_METHOD_IGNORE">GLIBTOP_ERROR_METHOD_IGNORE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-ERROR-METHOD-WARN-ONCE:CAPS" title="GLIBTOP_ERROR_METHOD_WARN_ONCE">GLIBTOP_ERROR_METHOD_WARN_ONCE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-ERROR-METHOD-WARN:CAPS" title="GLIBTOP_ERROR_METHOD_WARN">GLIBTOP_ERROR_METHOD_WARN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-ERROR-METHOD-ABORT:CAPS" title="GLIBTOP_ERROR_METHOD_ABORT">GLIBTOP_ERROR_METHOD_ABORT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-open.html#GLIBTOP-ERROR-METHOD-DEFAULT:CAPS" title="GLIBTOP_ERROR_METHOD_DEFAULT">GLIBTOP_ERROR_METHOD_DEFAULT</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-open.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/open.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-open.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-open.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-open-l"></a><h3>glibtop_open_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_open_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">char</span> *program_name</code></em>,
|
||||
<em class="parameter"><code>const unsigned long <span class="type">features</span> Param3</code></em>,
|
||||
<em class="parameter"><code>const unsigned <span class="type">flags</span> Param4</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-init-p"></a><h3>glibtop_init_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_init_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>,
|
||||
<em class="parameter"><code>const unsigned long <span class="type">features</span> Param2</code></em>,
|
||||
<em class="parameter"><code>const unsigned <span class="type">flags</span> Param3</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-open-p"></a><h3>glibtop_open_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_open_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>,
|
||||
<em class="parameter"><code>const <span class="type">char</span> *program_name</code></em>,
|
||||
<em class="parameter"><code>const unsigned long <span class="type">features</span> Param3</code></em>,
|
||||
<em class="parameter"><code>const unsigned <span class="type">flags</span> Param4</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-open-s"></a><h3>glibtop_open_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_open_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">char</span> *program_name</code></em>,
|
||||
<em class="parameter"><code>const unsigned long <span class="type">features</span> Param3</code></em>,
|
||||
<em class="parameter"><code>const unsigned <span class="type">flags</span> Param4</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-open.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-INIT-NO-OPEN:CAPS"></a><h3>GLIBTOP_INIT_NO_OPEN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_INIT_NO_OPEN 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-INIT-NO-INIT:CAPS"></a><h3>GLIBTOP_INIT_NO_INIT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_INIT_NO_INIT 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FEATURES-NO-SERVER:CAPS"></a><h3>GLIBTOP_FEATURES_NO_SERVER</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FEATURES_NO_SERVER 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FEATURES-EXCEPT:CAPS"></a><h3>GLIBTOP_FEATURES_EXCEPT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FEATURES_EXCEPT 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-METHOD-DIRECT:CAPS"></a><h3>GLIBTOP_METHOD_DIRECT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_METHOD_DIRECT 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-METHOD-PIPE:CAPS"></a><h3>GLIBTOP_METHOD_PIPE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_METHOD_PIPE 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-METHOD-INET:CAPS"></a><h3>GLIBTOP_METHOD_INET</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_METHOD_INET 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-METHOD-UNIX:CAPS"></a><h3>GLIBTOP_METHOD_UNIX</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_METHOD_UNIX 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-ERROR-METHOD-IGNORE:CAPS"></a><h3>GLIBTOP_ERROR_METHOD_IGNORE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_ERROR_METHOD_IGNORE 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-ERROR-METHOD-WARN-ONCE:CAPS"></a><h3>GLIBTOP_ERROR_METHOD_WARN_ONCE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_ERROR_METHOD_WARN_ONCE 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-ERROR-METHOD-WARN:CAPS"></a><h3>GLIBTOP_ERROR_METHOD_WARN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_ERROR_METHOD_WARN 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-ERROR-METHOD-ABORT:CAPS"></a><h3>GLIBTOP_ERROR_METHOD_ABORT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_ERROR_METHOD_ABORT 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-ERROR-METHOD-DEFAULT:CAPS"></a><h3>GLIBTOP_ERROR_METHOD_DEFAULT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_ERROR_METHOD_DEFAULT GLIBTOP_ERROR_METHOD_WARN_ONCE
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
200
doc/reference/html/libgtop-parameter.html
Normal file
@@ -0,0 +1,200 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>parameter: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-open.html" title="open">
|
||||
<link rel="next" href="libgtop-Process-Arguments.html" title="Process Arguments">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-parameter.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-open.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-Process-Arguments.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-parameter"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-parameter.top_of_page"></a>parameter</span></h2>
|
||||
<p>parameter</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-parameter.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-parameter.html#glibtop-get-parameter" title="glibtop_get_parameter()">glibtop_get_parameter</a><span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-parameter.html#glibtop-set-parameter" title="glibtop_set_parameter()">glibtop_set_parameter</a><span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">size_t</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-parameter.html#glibtop-get-parameter-l" title="glibtop_get_parameter_l ()">glibtop_get_parameter_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-parameter.html#glibtop-set-parameter-l" title="glibtop_set_parameter_l ()">glibtop_set_parameter_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-parameter.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-parameter.html#GLIBTOP-PARAM-METHOD:CAPS" title="GLIBTOP_PARAM_METHOD">GLIBTOP_PARAM_METHOD</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-parameter.html#GLIBTOP-PARAM-FEATURES:CAPS" title="GLIBTOP_PARAM_FEATURES">GLIBTOP_PARAM_FEATURES</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-parameter.html#GLIBTOP-PARAM-COMMAND:CAPS" title="GLIBTOP_PARAM_COMMAND">GLIBTOP_PARAM_COMMAND</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-parameter.html#GLIBTOP-PARAM-HOST:CAPS" title="GLIBTOP_PARAM_HOST">GLIBTOP_PARAM_HOST</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-parameter.html#GLIBTOP-PARAM-PORT:CAPS" title="GLIBTOP_PARAM_PORT">GLIBTOP_PARAM_PORT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-parameter.html#GLIBTOP-PARAM-ERROR-METHOD:CAPS" title="GLIBTOP_PARAM_ERROR_METHOD">GLIBTOP_PARAM_ERROR_METHOD</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-parameter.html#GLIBTOP-PARAM-REQUIRED:CAPS" title="GLIBTOP_PARAM_REQUIRED">GLIBTOP_PARAM_REQUIRED</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-parameter.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/parameter.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-parameter.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-parameter.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-parameter"></a><h3>glibtop_get_parameter()</h3>
|
||||
<pre class="programlisting">#define glibtop_get_parameter(p1,p2,p3) glibtop_get_parameter_l(glibtop_global_server,p1,p2,p3)
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-set-parameter"></a><h3>glibtop_set_parameter()</h3>
|
||||
<pre class="programlisting">#define glibtop_set_parameter(p1,p2,p3) glibtop_set_parameter_l(glibtop_global_server,p1,p2,p3)
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-parameter-l"></a><h3>glibtop_get_parameter_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">size_t</span>
|
||||
glibtop_get_parameter_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code>const unsigned <span class="type">parameter</span> Param2</code></em>,
|
||||
<em class="parameter"><code><span class="type">void</span> *data_ptr</code></em>,
|
||||
<em class="parameter"><code><span class="type">size_t</span> data_size</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-set-parameter-l"></a><h3>glibtop_set_parameter_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_set_parameter_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code>const unsigned <span class="type">parameter</span> Param2</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">void</span> *data_ptr</code></em>,
|
||||
<em class="parameter"><code><span class="type">size_t</span> data_size</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-parameter.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PARAM-METHOD:CAPS"></a><h3>GLIBTOP_PARAM_METHOD</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PARAM_METHOD 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PARAM-FEATURES:CAPS"></a><h3>GLIBTOP_PARAM_FEATURES</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PARAM_FEATURES 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PARAM-COMMAND:CAPS"></a><h3>GLIBTOP_PARAM_COMMAND</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PARAM_COMMAND 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PARAM-HOST:CAPS"></a><h3>GLIBTOP_PARAM_HOST</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PARAM_HOST 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PARAM-PORT:CAPS"></a><h3>GLIBTOP_PARAM_PORT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PARAM_PORT 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PARAM-ERROR-METHOD:CAPS"></a><h3>GLIBTOP_PARAM_ERROR_METHOD</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PARAM_ERROR_METHOD 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PARAM-REQUIRED:CAPS"></a><h3>GLIBTOP_PARAM_REQUIRED</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PARAM_REQUIRED 7
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
271
doc/reference/html/libgtop-prockernel.html
Normal file
@@ -0,0 +1,271 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>prockernel: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-sem-limits.html" title="sem_limits">
|
||||
<link rel="next" href="libgtop-fsusage.html" title="fsusage">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-prockernel.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-sem-limits.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-fsusage.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-prockernel"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-prockernel.top_of_page"></a>prockernel</span></h2>
|
||||
<p>prockernel</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-prockernel.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-prockernel.html#glibtop-get-proc-kernel" title="glibtop_get_proc_kernel ()">glibtop_get_proc_kernel</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-prockernel.html#glibtop-get-proc-kernel-l" title="glibtop_get_proc_kernel_l ()">glibtop_get_proc_kernel_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-prockernel.html#glibtop-get-proc-kernel-p" title="glibtop_get_proc_kernel_p ()">glibtop_get_proc_kernel_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-prockernel.html#glibtop-get-proc-kernel-s" title="glibtop_get_proc_kernel_s ()">glibtop_get_proc_kernel_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-prockernel.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-K-FLAGS:CAPS" title="GLIBTOP_PROC_KERNEL_K_FLAGS">GLIBTOP_PROC_KERNEL_K_FLAGS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-MIN-FLT:CAPS" title="GLIBTOP_PROC_KERNEL_MIN_FLT">GLIBTOP_PROC_KERNEL_MIN_FLT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-MAJ-FLT:CAPS" title="GLIBTOP_PROC_KERNEL_MAJ_FLT">GLIBTOP_PROC_KERNEL_MAJ_FLT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-CMIN-FLT:CAPS" title="GLIBTOP_PROC_KERNEL_CMIN_FLT">GLIBTOP_PROC_KERNEL_CMIN_FLT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-CMAJ-FLT:CAPS" title="GLIBTOP_PROC_KERNEL_CMAJ_FLT">GLIBTOP_PROC_KERNEL_CMAJ_FLT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-KSTK-ESP:CAPS" title="GLIBTOP_PROC_KERNEL_KSTK_ESP">GLIBTOP_PROC_KERNEL_KSTK_ESP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-KSTK-EIP:CAPS" title="GLIBTOP_PROC_KERNEL_KSTK_EIP">GLIBTOP_PROC_KERNEL_KSTK_EIP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-NWCHAN:CAPS" title="GLIBTOP_PROC_KERNEL_NWCHAN">GLIBTOP_PROC_KERNEL_NWCHAN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-WCHAN:CAPS" title="GLIBTOP_PROC_KERNEL_WCHAN">GLIBTOP_PROC_KERNEL_WCHAN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-prockernel.html#GLIBTOP-MAX-PROC-KERNEL:CAPS" title="GLIBTOP_MAX_PROC_KERNEL">GLIBTOP_MAX_PROC_KERNEL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-prockernel.html#glibtop-proc-kernel" title="struct glibtop_proc_kernel">glibtop_proc_kernel</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-prockernel.html#glibtop-get-proc-kernel-r" title="glibtop_get_proc_kernel_r">glibtop_get_proc_kernel_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-prockernel.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/prockernel.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-prockernel.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-prockernel.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-kernel"></a><h3>glibtop_get_proc_kernel ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_kernel (<em class="parameter"><code><a class="link" href="libgtop-prockernel.html#glibtop-proc-kernel" title="struct glibtop_proc_kernel"><span class="type">glibtop_proc_kernel</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-kernel-l"></a><h3>glibtop_get_proc_kernel_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_kernel_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-prockernel.html#glibtop-proc-kernel" title="struct glibtop_proc_kernel"><span class="type">glibtop_proc_kernel</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-kernel-p"></a><h3>glibtop_get_proc_kernel_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_kernel_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-prockernel.html#glibtop-proc-kernel" title="struct glibtop_proc_kernel"><span class="type">glibtop_proc_kernel</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-kernel-s"></a><h3>glibtop_get_proc_kernel_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_kernel_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-prockernel.html#glibtop-proc-kernel" title="struct glibtop_proc_kernel"><span class="type">glibtop_proc_kernel</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-prockernel.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-KERNEL-K-FLAGS:CAPS"></a><h3>GLIBTOP_PROC_KERNEL_K_FLAGS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_KERNEL_K_FLAGS 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-KERNEL-MIN-FLT:CAPS"></a><h3>GLIBTOP_PROC_KERNEL_MIN_FLT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_KERNEL_MIN_FLT 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-KERNEL-MAJ-FLT:CAPS"></a><h3>GLIBTOP_PROC_KERNEL_MAJ_FLT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_KERNEL_MAJ_FLT 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-KERNEL-CMIN-FLT:CAPS"></a><h3>GLIBTOP_PROC_KERNEL_CMIN_FLT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_KERNEL_CMIN_FLT 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-KERNEL-CMAJ-FLT:CAPS"></a><h3>GLIBTOP_PROC_KERNEL_CMAJ_FLT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_KERNEL_CMAJ_FLT 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-KERNEL-KSTK-ESP:CAPS"></a><h3>GLIBTOP_PROC_KERNEL_KSTK_ESP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_KERNEL_KSTK_ESP 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-KERNEL-KSTK-EIP:CAPS"></a><h3>GLIBTOP_PROC_KERNEL_KSTK_EIP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_KERNEL_KSTK_EIP 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-KERNEL-NWCHAN:CAPS"></a><h3>GLIBTOP_PROC_KERNEL_NWCHAN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_KERNEL_NWCHAN 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-KERNEL-WCHAN:CAPS"></a><h3>GLIBTOP_PROC_KERNEL_WCHAN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_KERNEL_WCHAN 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-PROC-KERNEL:CAPS"></a><h3>GLIBTOP_MAX_PROC_KERNEL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_PROC_KERNEL 9
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-proc-kernel"></a><h3>struct glibtop_proc_kernel</h3>
|
||||
<pre class="programlisting">struct glibtop_proc_kernel {
|
||||
guint64 flags;
|
||||
guint64 k_flags; /* kernel flags for the process */
|
||||
guint64 min_flt; /* number of minor page faults since
|
||||
* process start */
|
||||
guint64 maj_flt; /* number of major page faults since
|
||||
* process start */
|
||||
guint64 cmin_flt; /* cumulative min_flt of process and
|
||||
* child processes */
|
||||
guint64 cmaj_flt; /* cumulative maj_flt of process and
|
||||
* child processes */
|
||||
guint64 kstk_esp; /* kernel stack pointer */
|
||||
guint64 kstk_eip; /* kernel stack pointer */
|
||||
guint64 nwchan; /* address of kernel wait channel
|
||||
* proc is sleeping in */
|
||||
char wchan [40];
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-kernel-r"></a><h3>glibtop_get_proc_kernel_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_proc_kernel_r glibtop_get_proc_kernel_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
492
doc/reference/html/libgtop-procmap.html
Normal file
@@ -0,0 +1,492 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>procmap: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-signal.html" title="signal">
|
||||
<link rel="next" href="libgtop-sysinfo.html" title="sysinfo">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-procmap.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-signal.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-sysinfo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-procmap"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-procmap.top_of_page"></a>procmap</span></h2>
|
||||
<p>procmap</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procmap.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-procmap.html#glibtop-map-entry" title="struct glibtop_map_entry"><span class="returnvalue">glibtop_map_entry</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procmap.html#glibtop-get-proc-map" title="glibtop_get_proc_map ()">glibtop_get_proc_map</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-procmap.html#glibtop-map-entry" title="struct glibtop_map_entry"><span class="returnvalue">glibtop_map_entry</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procmap.html#glibtop-get-proc-map-l" title="glibtop_get_proc_map_l ()">glibtop_get_proc_map_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-procmap.html#glibtop-map-entry" title="struct glibtop_map_entry"><span class="returnvalue">glibtop_map_entry</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procmap.html#glibtop-get-proc-map-p" title="glibtop_get_proc_map_p ()">glibtop_get_proc_map_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-procmap.html#glibtop-map-entry" title="struct glibtop_map_entry"><span class="returnvalue">glibtop_map_entry</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procmap.html#glibtop-get-proc-map-s" title="glibtop_get_proc_map_s ()">glibtop_get_proc_map_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procmap.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-PROC-MAP-NUMBER:CAPS" title="GLIBTOP_PROC_MAP_NUMBER">GLIBTOP_PROC_MAP_NUMBER</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-PROC-MAP-TOTAL:CAPS" title="GLIBTOP_PROC_MAP_TOTAL">GLIBTOP_PROC_MAP_TOTAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-PROC-MAP-SIZE:CAPS" title="GLIBTOP_PROC_MAP_SIZE">GLIBTOP_PROC_MAP_SIZE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAX-PROC-MAP:CAPS" title="GLIBTOP_MAX_PROC_MAP">GLIBTOP_MAX_PROC_MAP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-START:CAPS" title="GLIBTOP_MAP_ENTRY_START">GLIBTOP_MAP_ENTRY_START</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-END:CAPS" title="GLIBTOP_MAP_ENTRY_END">GLIBTOP_MAP_ENTRY_END</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-OFFSET:CAPS" title="GLIBTOP_MAP_ENTRY_OFFSET">GLIBTOP_MAP_ENTRY_OFFSET</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-PERM:CAPS" title="GLIBTOP_MAP_ENTRY_PERM">GLIBTOP_MAP_ENTRY_PERM</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-INODE:CAPS" title="GLIBTOP_MAP_ENTRY_INODE">GLIBTOP_MAP_ENTRY_INODE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-DEVICE:CAPS" title="GLIBTOP_MAP_ENTRY_DEVICE">GLIBTOP_MAP_ENTRY_DEVICE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-FILENAME:CAPS" title="GLIBTOP_MAP_ENTRY_FILENAME">GLIBTOP_MAP_ENTRY_FILENAME</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-SIZE:CAPS" title="GLIBTOP_MAP_ENTRY_SIZE">GLIBTOP_MAP_ENTRY_SIZE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-RSS:CAPS" title="GLIBTOP_MAP_ENTRY_RSS">GLIBTOP_MAP_ENTRY_RSS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-SHARED-CLEAN:CAPS" title="GLIBTOP_MAP_ENTRY_SHARED_CLEAN">GLIBTOP_MAP_ENTRY_SHARED_CLEAN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-SHARED-DIRTY:CAPS" title="GLIBTOP_MAP_ENTRY_SHARED_DIRTY">GLIBTOP_MAP_ENTRY_SHARED_DIRTY</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-PRIVATE-CLEAN:CAPS" title="GLIBTOP_MAP_ENTRY_PRIVATE_CLEAN">GLIBTOP_MAP_ENTRY_PRIVATE_CLEAN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-PRIVATE-DIRTY:CAPS" title="GLIBTOP_MAP_ENTRY_PRIVATE_DIRTY">GLIBTOP_MAP_ENTRY_PRIVATE_DIRTY</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAX-MAP-ENTRY:CAPS" title="GLIBTOP_MAX_MAP_ENTRY">GLIBTOP_MAX_MAP_ENTRY</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-FILENAME-LEN:CAPS" title="GLIBTOP_MAP_FILENAME_LEN">GLIBTOP_MAP_FILENAME_LEN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-PERM-READ:CAPS" title="GLIBTOP_MAP_PERM_READ">GLIBTOP_MAP_PERM_READ</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-PERM-WRITE:CAPS" title="GLIBTOP_MAP_PERM_WRITE">GLIBTOP_MAP_PERM_WRITE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-PERM-EXECUTE:CAPS" title="GLIBTOP_MAP_PERM_EXECUTE">GLIBTOP_MAP_PERM_EXECUTE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-PERM-SHARED:CAPS" title="GLIBTOP_MAP_PERM_SHARED">GLIBTOP_MAP_PERM_SHARED</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#GLIBTOP-MAP-PERM-PRIVATE:CAPS" title="GLIBTOP_MAP_PERM_PRIVATE">GLIBTOP_MAP_PERM_PRIVATE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#glibtop-map-entry" title="struct glibtop_map_entry">glibtop_map_entry</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#glibtop-proc-map" title="struct glibtop_proc_map">glibtop_proc_map</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmap.html#glibtop-get-proc-map-r" title="glibtop_get_proc_map_r">glibtop_get_proc_map_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procmap.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/procmap.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procmap.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procmap.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-map"></a><h3>glibtop_get_proc_map ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-procmap.html#glibtop-map-entry" title="struct glibtop_map_entry"><span class="returnvalue">glibtop_map_entry</span></a> *
|
||||
glibtop_get_proc_map (<em class="parameter"><code><a class="link" href="libgtop-procmap.html#glibtop-proc-map" title="struct glibtop_proc_map"><span class="type">glibtop_proc_map</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-map.returns"></a><h4>Returns</h4>
|
||||
<p>. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-map-l"></a><h3>glibtop_get_proc_map_l ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-procmap.html#glibtop-map-entry" title="struct glibtop_map_entry"><span class="returnvalue">glibtop_map_entry</span></a> *
|
||||
glibtop_get_proc_map_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procmap.html#glibtop-proc-map" title="struct glibtop_proc_map"><span class="type">glibtop_proc_map</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-map-l.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-map-l.returns"></a><h4>Returns</h4>
|
||||
<p>. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-map-p"></a><h3>glibtop_get_proc_map_p ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-procmap.html#glibtop-map-entry" title="struct glibtop_map_entry"><span class="returnvalue">glibtop_map_entry</span></a> *
|
||||
glibtop_get_proc_map_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procmap.html#glibtop-proc-map" title="struct glibtop_proc_map"><span class="type">glibtop_proc_map</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-map-p.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-map-p.returns"></a><h4>Returns</h4>
|
||||
<p>. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-map-s"></a><h3>glibtop_get_proc_map_s ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-procmap.html#glibtop-map-entry" title="struct glibtop_map_entry"><span class="returnvalue">glibtop_map_entry</span></a> *
|
||||
glibtop_get_proc_map_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procmap.html#glibtop-proc-map" title="struct glibtop_proc_map"><span class="type">glibtop_proc_map</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-map-s.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-map-s.returns"></a><h4>Returns</h4>
|
||||
<p>. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procmap.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-MAP-NUMBER:CAPS"></a><h3>GLIBTOP_PROC_MAP_NUMBER</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_MAP_NUMBER 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-MAP-TOTAL:CAPS"></a><h3>GLIBTOP_PROC_MAP_TOTAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_MAP_TOTAL 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-MAP-SIZE:CAPS"></a><h3>GLIBTOP_PROC_MAP_SIZE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_MAP_SIZE 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-PROC-MAP:CAPS"></a><h3>GLIBTOP_MAX_PROC_MAP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_PROC_MAP 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-START:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_START</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_START 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-END:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_END</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_END 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-OFFSET:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_OFFSET</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_OFFSET 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-PERM:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_PERM</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_PERM 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-INODE:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_INODE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_INODE 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-DEVICE:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_DEVICE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_DEVICE 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-FILENAME:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_FILENAME</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_FILENAME 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-SIZE:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_SIZE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_SIZE 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-RSS:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_RSS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_RSS 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-SHARED-CLEAN:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_SHARED_CLEAN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_SHARED_CLEAN 9
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-SHARED-DIRTY:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_SHARED_DIRTY</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_SHARED_DIRTY 10
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-PRIVATE-CLEAN:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_PRIVATE_CLEAN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_PRIVATE_CLEAN 11
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-ENTRY-PRIVATE-DIRTY:CAPS"></a><h3>GLIBTOP_MAP_ENTRY_PRIVATE_DIRTY</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_ENTRY_PRIVATE_DIRTY 12
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-MAP-ENTRY:CAPS"></a><h3>GLIBTOP_MAX_MAP_ENTRY</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_MAP_ENTRY 15
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-FILENAME-LEN:CAPS"></a><h3>GLIBTOP_MAP_FILENAME_LEN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_FILENAME_LEN 215
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-PERM-READ:CAPS"></a><h3>GLIBTOP_MAP_PERM_READ</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_PERM_READ 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-PERM-WRITE:CAPS"></a><h3>GLIBTOP_MAP_PERM_WRITE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_PERM_WRITE 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-PERM-EXECUTE:CAPS"></a><h3>GLIBTOP_MAP_PERM_EXECUTE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_PERM_EXECUTE 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-PERM-SHARED:CAPS"></a><h3>GLIBTOP_MAP_PERM_SHARED</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_PERM_SHARED 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAP-PERM-PRIVATE:CAPS"></a><h3>GLIBTOP_MAP_PERM_PRIVATE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAP_PERM_PRIVATE 16
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-map-entry"></a><h3>struct glibtop_map_entry</h3>
|
||||
<pre class="programlisting">struct glibtop_map_entry {
|
||||
guint64 flags;
|
||||
guint64 start;
|
||||
guint64 end;
|
||||
guint64 offset;
|
||||
guint64 perm;
|
||||
guint64 inode;
|
||||
guint64 device;
|
||||
guint64 size;
|
||||
guint64 rss;
|
||||
guint64 shared_clean;
|
||||
guint64 shared_dirty;
|
||||
guint64 private_clean;
|
||||
guint64 private_dirty;
|
||||
guint64 pss;
|
||||
guint64 swap;
|
||||
char filename [GLIBTOP_MAP_FILENAME_LEN+1];
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-proc-map"></a><h3>struct glibtop_proc_map</h3>
|
||||
<pre class="programlisting">struct glibtop_proc_map {
|
||||
guint64 flags;
|
||||
guint64 number; /* GLIBTOP_PROC_MAP_NUMBER */
|
||||
guint64 total; /* GLIBTOP_PROC_MAP_TOTAL */
|
||||
guint64 size; /* GLIBTOP_PROC_MAP_SIZE */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-map-r"></a><h3>glibtop_get_proc_map_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_proc_map_r glibtop_get_proc_map_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
235
doc/reference/html/libgtop-procmem.html
Normal file
@@ -0,0 +1,235 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>procmem: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-Process-Arguments.html" title="Process Arguments">
|
||||
<link rel="next" href="libgtop-procopenfiles.html" title="procopenfiles">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-procmem.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-Process-Arguments.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-procopenfiles.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-procmem"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-procmem.top_of_page"></a>procmem</span></h2>
|
||||
<p>procmem</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procmem.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procmem.html#glibtop-get-proc-mem" title="glibtop_get_proc_mem ()">glibtop_get_proc_mem</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procmem.html#glibtop-get-proc-mem-l" title="glibtop_get_proc_mem_l ()">glibtop_get_proc_mem_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procmem.html#glibtop-get-proc-mem-p" title="glibtop_get_proc_mem_p ()">glibtop_get_proc_mem_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procmem.html#glibtop-get-proc-mem-s" title="glibtop_get_proc_mem_s ()">glibtop_get_proc_mem_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procmem.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmem.html#GLIBTOP-PROC-MEM-SIZE:CAPS" title="GLIBTOP_PROC_MEM_SIZE">GLIBTOP_PROC_MEM_SIZE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmem.html#GLIBTOP-PROC-MEM-VSIZE:CAPS" title="GLIBTOP_PROC_MEM_VSIZE">GLIBTOP_PROC_MEM_VSIZE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmem.html#GLIBTOP-PROC-MEM-RESIDENT:CAPS" title="GLIBTOP_PROC_MEM_RESIDENT">GLIBTOP_PROC_MEM_RESIDENT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmem.html#GLIBTOP-PROC-MEM-SHARE:CAPS" title="GLIBTOP_PROC_MEM_SHARE">GLIBTOP_PROC_MEM_SHARE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmem.html#GLIBTOP-PROC-MEM-RSS:CAPS" title="GLIBTOP_PROC_MEM_RSS">GLIBTOP_PROC_MEM_RSS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmem.html#GLIBTOP-PROC-MEM-RSS-RLIM:CAPS" title="GLIBTOP_PROC_MEM_RSS_RLIM">GLIBTOP_PROC_MEM_RSS_RLIM</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmem.html#GLIBTOP-MAX-PROC-MEM:CAPS" title="GLIBTOP_MAX_PROC_MEM">GLIBTOP_MAX_PROC_MEM</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmem.html#glibtop-proc-mem" title="struct glibtop_proc_mem">glibtop_proc_mem</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procmem.html#glibtop-get-proc-mem-r" title="glibtop_get_proc_mem_r">glibtop_get_proc_mem_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procmem.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/procmem.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procmem.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procmem.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-mem"></a><h3>glibtop_get_proc_mem ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_mem (<em class="parameter"><code><a class="link" href="libgtop-procmem.html#glibtop-proc-mem" title="struct glibtop_proc_mem"><span class="type">glibtop_proc_mem</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-mem-l"></a><h3>glibtop_get_proc_mem_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_mem_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procmem.html#glibtop-proc-mem" title="struct glibtop_proc_mem"><span class="type">glibtop_proc_mem</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-mem-p"></a><h3>glibtop_get_proc_mem_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_mem_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procmem.html#glibtop-proc-mem" title="struct glibtop_proc_mem"><span class="type">glibtop_proc_mem</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-mem-s"></a><h3>glibtop_get_proc_mem_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_mem_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procmem.html#glibtop-proc-mem" title="struct glibtop_proc_mem"><span class="type">glibtop_proc_mem</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procmem.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-MEM-SIZE:CAPS"></a><h3>GLIBTOP_PROC_MEM_SIZE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_MEM_SIZE 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-MEM-VSIZE:CAPS"></a><h3>GLIBTOP_PROC_MEM_VSIZE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_MEM_VSIZE 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-MEM-RESIDENT:CAPS"></a><h3>GLIBTOP_PROC_MEM_RESIDENT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_MEM_RESIDENT 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-MEM-SHARE:CAPS"></a><h3>GLIBTOP_PROC_MEM_SHARE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_MEM_SHARE 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-MEM-RSS:CAPS"></a><h3>GLIBTOP_PROC_MEM_RSS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_MEM_RSS 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-MEM-RSS-RLIM:CAPS"></a><h3>GLIBTOP_PROC_MEM_RSS_RLIM</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_MEM_RSS_RLIM 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-PROC-MEM:CAPS"></a><h3>GLIBTOP_MAX_PROC_MEM</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_PROC_MEM 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-proc-mem"></a><h3>struct glibtop_proc_mem</h3>
|
||||
<pre class="programlisting">struct glibtop_proc_mem {
|
||||
guint64 flags;
|
||||
guint64 size; /* total # of pages of memory */
|
||||
guint64 vsize; /* number of pages of virtual memory ... */
|
||||
guint64 resident; /* number of resident set
|
||||
* (non-swapped) pages (4k) */
|
||||
guint64 share; /* number of pages of shared (mmap'd) memory */
|
||||
guint64 rss; /* resident set size */
|
||||
guint64 rss_rlim; /* current limit (in bytes) of the rss
|
||||
* of the process; usually 2,147,483,647 */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-mem-r"></a><h3>glibtop_get_proc_mem_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_proc_mem_r glibtop_get_proc_mem_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
357
doc/reference/html/libgtop-procopenfiles.html
Normal file
@@ -0,0 +1,357 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>procopenfiles: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-procmem.html" title="procmem">
|
||||
<link rel="next" href="libgtop-procsegment.html" title="procsegment">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-procopenfiles.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-procmem.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-procsegment.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-procopenfiles"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-procopenfiles.top_of_page"></a>procopenfiles</span></h2>
|
||||
<p>procopenfiles</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procopenfiles.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-procopenfiles.html#glibtop-open-files-entry" title="struct glibtop_open_files_entry"><span class="returnvalue">glibtop_open_files_entry</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procopenfiles.html#glibtop-get-proc-open-files" title="glibtop_get_proc_open_files ()">glibtop_get_proc_open_files</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-procopenfiles.html#glibtop-open-files-entry" title="struct glibtop_open_files_entry"><span class="returnvalue">glibtop_open_files_entry</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procopenfiles.html#glibtop-get-proc-open-files-l" title="glibtop_get_proc_open_files_l ()">glibtop_get_proc_open_files_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-procopenfiles.html#glibtop-open-files-entry" title="struct glibtop_open_files_entry"><span class="returnvalue">glibtop_open_files_entry</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procopenfiles.html#glibtop-get-proc-open-files-p" title="glibtop_get_proc_open_files_p ()">glibtop_get_proc_open_files_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="libgtop-procopenfiles.html#glibtop-open-files-entry" title="struct glibtop_open_files_entry"><span class="returnvalue">glibtop_open_files_entry</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procopenfiles.html#glibtop-get-proc-open-files-s" title="glibtop_get_proc_open_files_s ()">glibtop_get_proc_open_files_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procopenfiles.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#GLIBTOP-PROC-OPEN-FILES-NUMBER:CAPS" title="GLIBTOP_PROC_OPEN_FILES_NUMBER">GLIBTOP_PROC_OPEN_FILES_NUMBER</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#GLIBTOP-PROC-OPEN-FILES-TOTAL:CAPS" title="GLIBTOP_PROC_OPEN_FILES_TOTAL">GLIBTOP_PROC_OPEN_FILES_TOTAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#GLIBTOP-PROC-OPEN-FILES-SIZE:CAPS" title="GLIBTOP_PROC_OPEN_FILES_SIZE">GLIBTOP_PROC_OPEN_FILES_SIZE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#GLIBTOP-MAX-PROC-OPEN-FILES:CAPS" title="GLIBTOP_MAX_PROC_OPEN_FILES">GLIBTOP_MAX_PROC_OPEN_FILES</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#GLIBTOP-FILE-ENTRY-FD:CAPS" title="GLIBTOP_FILE_ENTRY_FD">GLIBTOP_FILE_ENTRY_FD</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#GLIBTOP-FILE-ENTRY-NAME:CAPS" title="GLIBTOP_FILE_ENTRY_NAME">GLIBTOP_FILE_ENTRY_NAME</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#GLIBTOP-FILE-ENTRY-TYPE:CAPS" title="GLIBTOP_FILE_ENTRY_TYPE">GLIBTOP_FILE_ENTRY_TYPE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#GLIBTOP-FILE-ENTRY-INETSOCKET-DST-HOST:CAPS" title="GLIBTOP_FILE_ENTRY_INETSOCKET_DST_HOST">GLIBTOP_FILE_ENTRY_INETSOCKET_DST_HOST</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#GLIBTOP-FILE-ENTRY-INETSOCKET-DST-PORT:CAPS" title="GLIBTOP_FILE_ENTRY_INETSOCKET_DST_PORT">GLIBTOP_FILE_ENTRY_INETSOCKET_DST_PORT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#GLIBTOP-MAX-OPEN-FILE-ENTRY:CAPS" title="GLIBTOP_MAX_OPEN_FILE_ENTRY">GLIBTOP_MAX_OPEN_FILE_ENTRY</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#GLIBTOP-OPEN-FILENAME-LEN:CAPS" title="GLIBTOP_OPEN_FILENAME_LEN">GLIBTOP_OPEN_FILENAME_LEN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#GLIBTOP-OPEN-DEST-HOST-LEN:CAPS" title="GLIBTOP_OPEN_DEST_HOST_LEN">GLIBTOP_OPEN_DEST_HOST_LEN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#glibtop-open-files-entry" title="struct glibtop_open_files_entry">glibtop_open_files_entry</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#glibtop-proc-open-files" title="struct glibtop_proc_open_files">glibtop_proc_open_files</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procopenfiles.html#glibtop-get-proc-open-files-r" title="glibtop_get_proc_open_files_r">glibtop_get_proc_open_files_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procopenfiles.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/procopenfiles.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procopenfiles.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procopenfiles.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-open-files"></a><h3>glibtop_get_proc_open_files ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-procopenfiles.html#glibtop-open-files-entry" title="struct glibtop_open_files_entry"><span class="returnvalue">glibtop_open_files_entry</span></a> *
|
||||
glibtop_get_proc_open_files (<em class="parameter"><code><a class="link" href="libgtop-procopenfiles.html#glibtop-proc-open-files" title="struct glibtop_proc_open_files"><span class="type">glibtop_proc_open_files</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-open-files.returns"></a><h4>Returns</h4>
|
||||
<p>. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-open-files-l"></a><h3>glibtop_get_proc_open_files_l ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-procopenfiles.html#glibtop-open-files-entry" title="struct glibtop_open_files_entry"><span class="returnvalue">glibtop_open_files_entry</span></a> *
|
||||
glibtop_get_proc_open_files_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procopenfiles.html#glibtop-proc-open-files" title="struct glibtop_proc_open_files"><span class="type">glibtop_proc_open_files</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-open-files-l.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-open-files-l.returns"></a><h4>Returns</h4>
|
||||
<p>. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-open-files-p"></a><h3>glibtop_get_proc_open_files_p ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-procopenfiles.html#glibtop-open-files-entry" title="struct glibtop_open_files_entry"><span class="returnvalue">glibtop_open_files_entry</span></a> *
|
||||
glibtop_get_proc_open_files_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procopenfiles.html#glibtop-proc-open-files" title="struct glibtop_proc_open_files"><span class="type">glibtop_proc_open_files</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-open-files-p.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-open-files-p.returns"></a><h4>Returns</h4>
|
||||
<p>. </p>
|
||||
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-open-files-s"></a><h3>glibtop_get_proc_open_files_s ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="libgtop-procopenfiles.html#glibtop-open-files-entry" title="struct glibtop_open_files_entry"><span class="returnvalue">glibtop_open_files_entry</span></a> *
|
||||
glibtop_get_proc_open_files_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procopenfiles.html#glibtop-proc-open-files" title="struct glibtop_proc_open_files"><span class="type">glibtop_proc_open_files</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procopenfiles.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-OPEN-FILES-NUMBER:CAPS"></a><h3>GLIBTOP_PROC_OPEN_FILES_NUMBER</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_OPEN_FILES_NUMBER 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-OPEN-FILES-TOTAL:CAPS"></a><h3>GLIBTOP_PROC_OPEN_FILES_TOTAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_OPEN_FILES_TOTAL 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-OPEN-FILES-SIZE:CAPS"></a><h3>GLIBTOP_PROC_OPEN_FILES_SIZE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_OPEN_FILES_SIZE 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-PROC-OPEN-FILES:CAPS"></a><h3>GLIBTOP_MAX_PROC_OPEN_FILES</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_PROC_OPEN_FILES 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FILE-ENTRY-FD:CAPS"></a><h3>GLIBTOP_FILE_ENTRY_FD</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FILE_ENTRY_FD 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FILE-ENTRY-NAME:CAPS"></a><h3>GLIBTOP_FILE_ENTRY_NAME</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FILE_ENTRY_NAME 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FILE-ENTRY-TYPE:CAPS"></a><h3>GLIBTOP_FILE_ENTRY_TYPE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FILE_ENTRY_TYPE 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FILE-ENTRY-INETSOCKET-DST-HOST:CAPS"></a><h3>GLIBTOP_FILE_ENTRY_INETSOCKET_DST_HOST</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FILE_ENTRY_INETSOCKET_DST_HOST 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-FILE-ENTRY-INETSOCKET-DST-PORT:CAPS"></a><h3>GLIBTOP_FILE_ENTRY_INETSOCKET_DST_PORT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_FILE_ENTRY_INETSOCKET_DST_PORT 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-OPEN-FILE-ENTRY:CAPS"></a><h3>GLIBTOP_MAX_OPEN_FILE_ENTRY</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_OPEN_FILE_ENTRY 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-OPEN-FILENAME-LEN:CAPS"></a><h3>GLIBTOP_OPEN_FILENAME_LEN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_OPEN_FILENAME_LEN 215
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-OPEN-DEST-HOST-LEN:CAPS"></a><h3>GLIBTOP_OPEN_DEST_HOST_LEN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_OPEN_DEST_HOST_LEN 46
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-open-files-entry"></a><h3>struct glibtop_open_files_entry</h3>
|
||||
<pre class="programlisting">struct glibtop_open_files_entry {
|
||||
int fd;
|
||||
guint16 type; /* An "enum glibtop_file_type" value. */
|
||||
union {
|
||||
/* When type == GLIBTOP_FILE_TYPE_INETSOCKET or
|
||||
* when type == GLIBTOP_FILE_TYPE_INET6SOCKET */
|
||||
struct {
|
||||
char dest_host[GLIBTOP_OPEN_DEST_HOST_LEN+1];
|
||||
int dest_port;
|
||||
} sock;
|
||||
|
||||
/* When type == GLIBTOP_FILE_TYPE_FILE */
|
||||
struct {
|
||||
char name[GLIBTOP_OPEN_FILENAME_LEN+1];
|
||||
} file;
|
||||
|
||||
/* When type == GLIBTOP_FILE_TYPE_LOCALSOCKET */
|
||||
struct {
|
||||
char name[GLIBTOP_OPEN_FILENAME_LEN+1];
|
||||
} localsock;
|
||||
|
||||
} info;
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-proc-open-files"></a><h3>struct glibtop_proc_open_files</h3>
|
||||
<pre class="programlisting">struct glibtop_proc_open_files {
|
||||
guint64 flags;
|
||||
guint64 number; /* GLIBTOP_PROC_OPEN_FILES_NUMBER */
|
||||
guint64 total; /* GLIBTOP_PROC_OPEN_FILES_TOTAL */
|
||||
guint64 size; /* GLIBTOP_PROC_OPEN_FILES_SIZE */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-open-files-r"></a><h3>glibtop_get_proc_open_files_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_proc_open_files_r glibtop_get_proc_open_files_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
256
doc/reference/html/libgtop-procsegment.html
Normal file
@@ -0,0 +1,256 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>procsegment: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-procopenfiles.html" title="procopenfiles">
|
||||
<link rel="next" href="libgtop-procsignal.html" title="procsignal">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-procsegment.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-procopenfiles.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-procsignal.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-procsegment"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-procsegment.top_of_page"></a>procsegment</span></h2>
|
||||
<p>procsegment</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procsegment.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procsegment.html#glibtop-get-proc-segment" title="glibtop_get_proc_segment ()">glibtop_get_proc_segment</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procsegment.html#glibtop-get-proc-segment-l" title="glibtop_get_proc_segment_l ()">glibtop_get_proc_segment_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procsegment.html#glibtop-get-proc-segment-p" title="glibtop_get_proc_segment_p ()">glibtop_get_proc_segment_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procsegment.html#glibtop-get-proc-segment-s" title="glibtop_get_proc_segment_s ()">glibtop_get_proc_segment_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procsegment.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-TEXT-RSS:CAPS" title="GLIBTOP_PROC_SEGMENT_TEXT_RSS">GLIBTOP_PROC_SEGMENT_TEXT_RSS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-SHLIB-RSS:CAPS" title="GLIBTOP_PROC_SEGMENT_SHLIB_RSS">GLIBTOP_PROC_SEGMENT_SHLIB_RSS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-DATA-RSS:CAPS" title="GLIBTOP_PROC_SEGMENT_DATA_RSS">GLIBTOP_PROC_SEGMENT_DATA_RSS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-STACK-RSS:CAPS" title="GLIBTOP_PROC_SEGMENT_STACK_RSS">GLIBTOP_PROC_SEGMENT_STACK_RSS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-DIRTY-SIZE:CAPS" title="GLIBTOP_PROC_SEGMENT_DIRTY_SIZE">GLIBTOP_PROC_SEGMENT_DIRTY_SIZE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-START-CODE:CAPS" title="GLIBTOP_PROC_SEGMENT_START_CODE">GLIBTOP_PROC_SEGMENT_START_CODE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-END-CODE:CAPS" title="GLIBTOP_PROC_SEGMENT_END_CODE">GLIBTOP_PROC_SEGMENT_END_CODE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-START-STACK:CAPS" title="GLIBTOP_PROC_SEGMENT_START_STACK">GLIBTOP_PROC_SEGMENT_START_STACK</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsegment.html#GLIBTOP-MAX-PROC-SEGMENT:CAPS" title="GLIBTOP_MAX_PROC_SEGMENT">GLIBTOP_MAX_PROC_SEGMENT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsegment.html#glibtop-proc-segment" title="struct glibtop_proc_segment">glibtop_proc_segment</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsegment.html#glibtop-get-proc-segment-r" title="glibtop_get_proc_segment_r">glibtop_get_proc_segment_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procsegment.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/procsegment.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procsegment.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procsegment.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-segment"></a><h3>glibtop_get_proc_segment ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_segment (<em class="parameter"><code><a class="link" href="libgtop-procsegment.html#glibtop-proc-segment" title="struct glibtop_proc_segment"><span class="type">glibtop_proc_segment</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-segment-l"></a><h3>glibtop_get_proc_segment_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_segment_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procsegment.html#glibtop-proc-segment" title="struct glibtop_proc_segment"><span class="type">glibtop_proc_segment</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-segment-p"></a><h3>glibtop_get_proc_segment_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_segment_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procsegment.html#glibtop-proc-segment" title="struct glibtop_proc_segment"><span class="type">glibtop_proc_segment</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-segment-s"></a><h3>glibtop_get_proc_segment_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_segment_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procsegment.html#glibtop-proc-segment" title="struct glibtop_proc_segment"><span class="type">glibtop_proc_segment</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procsegment.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-SEGMENT-TEXT-RSS:CAPS"></a><h3>GLIBTOP_PROC_SEGMENT_TEXT_RSS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_SEGMENT_TEXT_RSS 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-SEGMENT-SHLIB-RSS:CAPS"></a><h3>GLIBTOP_PROC_SEGMENT_SHLIB_RSS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_SEGMENT_SHLIB_RSS 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-SEGMENT-DATA-RSS:CAPS"></a><h3>GLIBTOP_PROC_SEGMENT_DATA_RSS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_SEGMENT_DATA_RSS 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-SEGMENT-STACK-RSS:CAPS"></a><h3>GLIBTOP_PROC_SEGMENT_STACK_RSS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_SEGMENT_STACK_RSS 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-SEGMENT-DIRTY-SIZE:CAPS"></a><h3>GLIBTOP_PROC_SEGMENT_DIRTY_SIZE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_SEGMENT_DIRTY_SIZE 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-SEGMENT-START-CODE:CAPS"></a><h3>GLIBTOP_PROC_SEGMENT_START_CODE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_SEGMENT_START_CODE 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-SEGMENT-END-CODE:CAPS"></a><h3>GLIBTOP_PROC_SEGMENT_END_CODE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_SEGMENT_END_CODE 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-SEGMENT-START-STACK:CAPS"></a><h3>GLIBTOP_PROC_SEGMENT_START_STACK</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_SEGMENT_START_STACK 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-PROC-SEGMENT:CAPS"></a><h3>GLIBTOP_MAX_PROC_SEGMENT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_PROC_SEGMENT 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-proc-segment"></a><h3>struct glibtop_proc_segment</h3>
|
||||
<pre class="programlisting">struct glibtop_proc_segment {
|
||||
guint64 flags;
|
||||
guint64 text_rss; /* text resident set size */
|
||||
guint64 shlib_rss; /* shared-lib resident set size */
|
||||
guint64 data_rss; /* data resident set size */
|
||||
guint64 stack_rss; /* stack resident set size */
|
||||
guint64 dirty_size; /* size of dirty pages */
|
||||
guint64 start_code;
|
||||
/* address of beginning of code segment */
|
||||
guint64 end_code; /* address of end of code segment */
|
||||
guint64 start_stack; /* address of the bottom of stack segment */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-segment-r"></a><h3>glibtop_get_proc_segment_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_proc_segment_r glibtop_get_proc_segment_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
211
doc/reference/html/libgtop-procsignal.html
Normal file
@@ -0,0 +1,211 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>procsignal: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-procsegment.html" title="procsegment">
|
||||
<link rel="next" href="libgtop-sysdeps.html" title="sysdeps">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-procsignal.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-procsegment.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-sysdeps.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-procsignal"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-procsignal.top_of_page"></a>procsignal</span></h2>
|
||||
<p>procsignal</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procsignal.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procsignal.html#glibtop-get-proc-signal" title="glibtop_get_proc_signal ()">glibtop_get_proc_signal</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procsignal.html#glibtop-get-proc-signal-l" title="glibtop_get_proc_signal_l ()">glibtop_get_proc_signal_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procsignal.html#glibtop-get-proc-signal-p" title="glibtop_get_proc_signal_p ()">glibtop_get_proc_signal_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procsignal.html#glibtop-get-proc-signal-s" title="glibtop_get_proc_signal_s ()">glibtop_get_proc_signal_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procsignal.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsignal.html#GLIBTOP-PROC-SIGNAL-SIGNAL:CAPS" title="GLIBTOP_PROC_SIGNAL_SIGNAL">GLIBTOP_PROC_SIGNAL_SIGNAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsignal.html#GLIBTOP-PROC-SIGNAL-BLOCKED:CAPS" title="GLIBTOP_PROC_SIGNAL_BLOCKED">GLIBTOP_PROC_SIGNAL_BLOCKED</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsignal.html#GLIBTOP-PROC-SIGNAL-SIGIGNORE:CAPS" title="GLIBTOP_PROC_SIGNAL_SIGIGNORE">GLIBTOP_PROC_SIGNAL_SIGIGNORE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsignal.html#GLIBTOP-PROC-SIGNAL-SIGCATCH:CAPS" title="GLIBTOP_PROC_SIGNAL_SIGCATCH">GLIBTOP_PROC_SIGNAL_SIGCATCH</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsignal.html#GLIBTOP-MAX-PROC-SIGNAL:CAPS" title="GLIBTOP_MAX_PROC_SIGNAL">GLIBTOP_MAX_PROC_SIGNAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsignal.html#glibtop-proc-signal" title="struct glibtop_proc_signal">glibtop_proc_signal</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procsignal.html#glibtop-get-proc-signal-r" title="glibtop_get_proc_signal_r">glibtop_get_proc_signal_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procsignal.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/procsignal.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procsignal.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procsignal.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-signal"></a><h3>glibtop_get_proc_signal ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_signal (<em class="parameter"><code><a class="link" href="libgtop-procsignal.html#glibtop-proc-signal" title="struct glibtop_proc_signal"><span class="type">glibtop_proc_signal</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-signal-l"></a><h3>glibtop_get_proc_signal_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_signal_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procsignal.html#glibtop-proc-signal" title="struct glibtop_proc_signal"><span class="type">glibtop_proc_signal</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-signal-p"></a><h3>glibtop_get_proc_signal_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_signal_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procsignal.html#glibtop-proc-signal" title="struct glibtop_proc_signal"><span class="type">glibtop_proc_signal</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-signal-s"></a><h3>glibtop_get_proc_signal_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_signal_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procsignal.html#glibtop-proc-signal" title="struct glibtop_proc_signal"><span class="type">glibtop_proc_signal</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procsignal.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-SIGNAL-SIGNAL:CAPS"></a><h3>GLIBTOP_PROC_SIGNAL_SIGNAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_SIGNAL_SIGNAL 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-SIGNAL-BLOCKED:CAPS"></a><h3>GLIBTOP_PROC_SIGNAL_BLOCKED</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_SIGNAL_BLOCKED 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-SIGNAL-SIGIGNORE:CAPS"></a><h3>GLIBTOP_PROC_SIGNAL_SIGIGNORE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_SIGNAL_SIGIGNORE 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-SIGNAL-SIGCATCH:CAPS"></a><h3>GLIBTOP_PROC_SIGNAL_SIGCATCH</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_SIGNAL_SIGCATCH 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-PROC-SIGNAL:CAPS"></a><h3>GLIBTOP_MAX_PROC_SIGNAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_PROC_SIGNAL 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-proc-signal"></a><h3>struct glibtop_proc_signal</h3>
|
||||
<pre class="programlisting">struct glibtop_proc_signal {
|
||||
guint64 flags;
|
||||
guint64 signal [2]; /* mask of pending signals */
|
||||
guint64 blocked [2]; /* mask of blocked signals */
|
||||
guint64 sigignore [2]; /* mask of ignored signals */
|
||||
guint64 sigcatch [2]; /* mask of caught signals */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-signal-r"></a><h3>glibtop_get_proc_signal_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_proc_signal_r glibtop_get_proc_signal_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
342
doc/reference/html/libgtop-procstate.html
Normal file
@@ -0,0 +1,342 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>procstate: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-sysdeps.html" title="sysdeps">
|
||||
<link rel="next" href="libgtop-procuid.html" title="procuid">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-procstate.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-sysdeps.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-procuid.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-procstate"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-procstate.top_of_page"></a>procstate</span></h2>
|
||||
<p>procstate</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procstate.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procstate.html#glibtop-get-proc-state" title="glibtop_get_proc_state ()">glibtop_get_proc_state</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procstate.html#glibtop-get-proc-state-l" title="glibtop_get_proc_state_l ()">glibtop_get_proc_state_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procstate.html#glibtop-get-proc-state-p" title="glibtop_get_proc_state_p ()">glibtop_get_proc_state_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procstate.html#glibtop-get-proc-state-s" title="glibtop_get_proc_state_s ()">glibtop_get_proc_state_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procstate.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROC-STATE-CMD:CAPS" title="GLIBTOP_PROC_STATE_CMD">GLIBTOP_PROC_STATE_CMD</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROC-STATE-STATE:CAPS" title="GLIBTOP_PROC_STATE_STATE">GLIBTOP_PROC_STATE_STATE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROC-STATE-UID:CAPS" title="GLIBTOP_PROC_STATE_UID">GLIBTOP_PROC_STATE_UID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROC-STATE-GID:CAPS" title="GLIBTOP_PROC_STATE_GID">GLIBTOP_PROC_STATE_GID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROC-STATE-RUID:CAPS" title="GLIBTOP_PROC_STATE_RUID">GLIBTOP_PROC_STATE_RUID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROC-STATE-RGID:CAPS" title="GLIBTOP_PROC_STATE_RGID">GLIBTOP_PROC_STATE_RGID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROC-STATE-HAS-CPU:CAPS" title="GLIBTOP_PROC_STATE_HAS_CPU">GLIBTOP_PROC_STATE_HAS_CPU</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROC-STATE-PROCESSOR:CAPS" title="GLIBTOP_PROC_STATE_PROCESSOR">GLIBTOP_PROC_STATE_PROCESSOR</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROC-STATE-LAST-PROCESSOR:CAPS" title="GLIBTOP_PROC_STATE_LAST_PROCESSOR">GLIBTOP_PROC_STATE_LAST_PROCESSOR</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-MAX-PROC-STATE:CAPS" title="GLIBTOP_MAX_PROC_STATE">GLIBTOP_MAX_PROC_STATE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROCESS-RUNNING:CAPS" title="GLIBTOP_PROCESS_RUNNING">GLIBTOP_PROCESS_RUNNING</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROCESS-INTERRUPTIBLE:CAPS" title="GLIBTOP_PROCESS_INTERRUPTIBLE">GLIBTOP_PROCESS_INTERRUPTIBLE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROCESS-UNINTERRUPTIBLE:CAPS" title="GLIBTOP_PROCESS_UNINTERRUPTIBLE">GLIBTOP_PROCESS_UNINTERRUPTIBLE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROCESS-ZOMBIE:CAPS" title="GLIBTOP_PROCESS_ZOMBIE">GLIBTOP_PROCESS_ZOMBIE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROCESS-STOPPED:CAPS" title="GLIBTOP_PROCESS_STOPPED">GLIBTOP_PROCESS_STOPPED</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROCESS-SWAPPING:CAPS" title="GLIBTOP_PROCESS_SWAPPING">GLIBTOP_PROCESS_SWAPPING</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#GLIBTOP-PROCESS-DEAD:CAPS" title="GLIBTOP_PROCESS_DEAD">GLIBTOP_PROCESS_DEAD</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#glibtop-proc-state" title="struct glibtop_proc_state">glibtop_proc_state</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procstate.html#glibtop-get-proc-state-r" title="glibtop_get_proc_state_r">glibtop_get_proc_state_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procstate.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/procstate.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procstate.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procstate.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-state"></a><h3>glibtop_get_proc_state ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_state (<em class="parameter"><code><a class="link" href="libgtop-procstate.html#glibtop-proc-state" title="struct glibtop_proc_state"><span class="type">glibtop_proc_state</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-state-l"></a><h3>glibtop_get_proc_state_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_state_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procstate.html#glibtop-proc-state" title="struct glibtop_proc_state"><span class="type">glibtop_proc_state</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-state-p"></a><h3>glibtop_get_proc_state_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_state_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procstate.html#glibtop-proc-state" title="struct glibtop_proc_state"><span class="type">glibtop_proc_state</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-state-s"></a><h3>glibtop_get_proc_state_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_state_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procstate.html#glibtop-proc-state" title="struct glibtop_proc_state"><span class="type">glibtop_proc_state</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procstate.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-STATE-CMD:CAPS"></a><h3>GLIBTOP_PROC_STATE_CMD</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_STATE_CMD 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-STATE-STATE:CAPS"></a><h3>GLIBTOP_PROC_STATE_STATE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_STATE_STATE 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-STATE-UID:CAPS"></a><h3>GLIBTOP_PROC_STATE_UID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_STATE_UID 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-STATE-GID:CAPS"></a><h3>GLIBTOP_PROC_STATE_GID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_STATE_GID 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-STATE-RUID:CAPS"></a><h3>GLIBTOP_PROC_STATE_RUID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_STATE_RUID 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-STATE-RGID:CAPS"></a><h3>GLIBTOP_PROC_STATE_RGID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_STATE_RGID 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-STATE-HAS-CPU:CAPS"></a><h3>GLIBTOP_PROC_STATE_HAS_CPU</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_STATE_HAS_CPU 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-STATE-PROCESSOR:CAPS"></a><h3>GLIBTOP_PROC_STATE_PROCESSOR</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_STATE_PROCESSOR 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-STATE-LAST-PROCESSOR:CAPS"></a><h3>GLIBTOP_PROC_STATE_LAST_PROCESSOR</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_STATE_LAST_PROCESSOR 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-PROC-STATE:CAPS"></a><h3>GLIBTOP_MAX_PROC_STATE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_PROC_STATE 9
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROCESS-RUNNING:CAPS"></a><h3>GLIBTOP_PROCESS_RUNNING</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROCESS_RUNNING 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROCESS-INTERRUPTIBLE:CAPS"></a><h3>GLIBTOP_PROCESS_INTERRUPTIBLE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROCESS_INTERRUPTIBLE 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROCESS-UNINTERRUPTIBLE:CAPS"></a><h3>GLIBTOP_PROCESS_UNINTERRUPTIBLE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROCESS_UNINTERRUPTIBLE 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROCESS-ZOMBIE:CAPS"></a><h3>GLIBTOP_PROCESS_ZOMBIE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROCESS_ZOMBIE 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROCESS-STOPPED:CAPS"></a><h3>GLIBTOP_PROCESS_STOPPED</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROCESS_STOPPED 16
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROCESS-SWAPPING:CAPS"></a><h3>GLIBTOP_PROCESS_SWAPPING</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROCESS_SWAPPING 32
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROCESS-DEAD:CAPS"></a><h3>GLIBTOP_PROCESS_DEAD</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROCESS_DEAD 64
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-proc-state"></a><h3>struct glibtop_proc_state</h3>
|
||||
<pre class="programlisting">struct glibtop_proc_state {
|
||||
guint64 flags;
|
||||
char cmd[40]; /* basename of executable file in
|
||||
* call to exec(2) */
|
||||
unsigned state;
|
||||
/* NOTE: when porting the library, TRY HARD to implement the
|
||||
* following two fields. */
|
||||
/* IMPORTANT NOTICE: For security reasons, it is extremely important
|
||||
* only to set the flags value for those two
|
||||
* fields if their values are corrent ! */
|
||||
int uid; /* UID of process */
|
||||
int gid; /* GID of process */
|
||||
int ruid;
|
||||
int rgid;
|
||||
int has_cpu;
|
||||
int processor;
|
||||
int last_processor;
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-state-r"></a><h3>glibtop_get_proc_state_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_proc_state_r glibtop_get_proc_state_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
398
doc/reference/html/libgtop-procuid.html
Normal file
@@ -0,0 +1,398 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>procuid: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-procstate.html" title="procstate">
|
||||
<link rel="next" href="libgtop-Process-Time.html" title="Process Time">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-procuid.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-procstate.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-Process-Time.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-procuid"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-procuid.top_of_page"></a>procuid</span></h2>
|
||||
<p>procuid</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procuid.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procuid.html#glibtop-get-proc-uid" title="glibtop_get_proc_uid ()">glibtop_get_proc_uid</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procuid.html#glibtop-get-proc-uid-l" title="glibtop_get_proc_uid_l ()">glibtop_get_proc_uid_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procuid.html#glibtop-get-proc-uid-p" title="glibtop_get_proc_uid_p ()">glibtop_get_proc_uid_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-procuid.html#glibtop-get-proc-uid-s" title="glibtop_get_proc_uid_s ()">glibtop_get_proc_uid_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procuid.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-UID:CAPS" title="GLIBTOP_PROC_UID_UID">GLIBTOP_PROC_UID_UID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-EUID:CAPS" title="GLIBTOP_PROC_UID_EUID">GLIBTOP_PROC_UID_EUID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-GID:CAPS" title="GLIBTOP_PROC_UID_GID">GLIBTOP_PROC_UID_GID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-EGID:CAPS" title="GLIBTOP_PROC_UID_EGID">GLIBTOP_PROC_UID_EGID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-SUID:CAPS" title="GLIBTOP_PROC_UID_SUID">GLIBTOP_PROC_UID_SUID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-SGID:CAPS" title="GLIBTOP_PROC_UID_SGID">GLIBTOP_PROC_UID_SGID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-FSUID:CAPS" title="GLIBTOP_PROC_UID_FSUID">GLIBTOP_PROC_UID_FSUID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-FSGID:CAPS" title="GLIBTOP_PROC_UID_FSGID">GLIBTOP_PROC_UID_FSGID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-PID:CAPS" title="GLIBTOP_PROC_UID_PID">GLIBTOP_PROC_UID_PID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-PPID:CAPS" title="GLIBTOP_PROC_UID_PPID">GLIBTOP_PROC_UID_PPID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-PGRP:CAPS" title="GLIBTOP_PROC_UID_PGRP">GLIBTOP_PROC_UID_PGRP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-SESSION:CAPS" title="GLIBTOP_PROC_UID_SESSION">GLIBTOP_PROC_UID_SESSION</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-TTY:CAPS" title="GLIBTOP_PROC_UID_TTY">GLIBTOP_PROC_UID_TTY</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-TPGID:CAPS" title="GLIBTOP_PROC_UID_TPGID">GLIBTOP_PROC_UID_TPGID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-PRIORITY:CAPS" title="GLIBTOP_PROC_UID_PRIORITY">GLIBTOP_PROC_UID_PRIORITY</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-NICE:CAPS" title="GLIBTOP_PROC_UID_NICE">GLIBTOP_PROC_UID_NICE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-NGROUPS:CAPS" title="GLIBTOP_PROC_UID_NGROUPS">GLIBTOP_PROC_UID_NGROUPS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-PROC-UID-GROUPS:CAPS" title="GLIBTOP_PROC_UID_GROUPS">GLIBTOP_PROC_UID_GROUPS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-MAX-PROC-UID:CAPS" title="GLIBTOP_MAX_PROC_UID">GLIBTOP_MAX_PROC_UID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#glibtop-proc-uid" title="struct glibtop_proc_uid">glibtop_proc_uid</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#GLIBTOP-MAX-GROUPS:CAPS" title="GLIBTOP_MAX_GROUPS">GLIBTOP_MAX_GROUPS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-procuid.html#glibtop-get-proc-uid-r" title="glibtop_get_proc_uid_r">glibtop_get_proc_uid_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procuid.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/procuid.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procuid.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procuid.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-uid"></a><h3>glibtop_get_proc_uid ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_uid (<em class="parameter"><code><a class="link" href="libgtop-procuid.html#glibtop-proc-uid" title="struct glibtop_proc_uid"><span class="type">glibtop_proc_uid</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
<p>Get the process user id and tty information.</p>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-proc-uid.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>A location to return a <a class="link" href="libgtop-procuid.html#glibtop-proc-uid" title="struct glibtop_proc_uid"><span class="type">glibtop_proc_uid</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pid</p></td>
|
||||
<td class="parameter_description"><p>Process id to get the user and tty information</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-uid-l"></a><h3>glibtop_get_proc_uid_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_uid_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procuid.html#glibtop-proc-uid" title="struct glibtop_proc_uid"><span class="type">glibtop_proc_uid</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-uid-p"></a><h3>glibtop_get_proc_uid_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_uid_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procuid.html#glibtop-proc-uid" title="struct glibtop_proc_uid"><span class="type">glibtop_proc_uid</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-uid-s"></a><h3>glibtop_get_proc_uid_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_proc_uid_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-procuid.html#glibtop-proc-uid" title="struct glibtop_proc_uid"><span class="type">glibtop_proc_uid</span></a> *buf</code></em>,
|
||||
<em class="parameter"><code><span class="type">pid_t</span> pid</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-procuid.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-UID:CAPS"></a><h3>GLIBTOP_PROC_UID_UID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_UID 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-EUID:CAPS"></a><h3>GLIBTOP_PROC_UID_EUID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_EUID 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-GID:CAPS"></a><h3>GLIBTOP_PROC_UID_GID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_GID 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-EGID:CAPS"></a><h3>GLIBTOP_PROC_UID_EGID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_EGID 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-SUID:CAPS"></a><h3>GLIBTOP_PROC_UID_SUID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_SUID 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-SGID:CAPS"></a><h3>GLIBTOP_PROC_UID_SGID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_SGID 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-FSUID:CAPS"></a><h3>GLIBTOP_PROC_UID_FSUID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_FSUID 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-FSGID:CAPS"></a><h3>GLIBTOP_PROC_UID_FSGID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_FSGID 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-PID:CAPS"></a><h3>GLIBTOP_PROC_UID_PID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_PID 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-PPID:CAPS"></a><h3>GLIBTOP_PROC_UID_PPID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_PPID 9
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-PGRP:CAPS"></a><h3>GLIBTOP_PROC_UID_PGRP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_PGRP 10
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-SESSION:CAPS"></a><h3>GLIBTOP_PROC_UID_SESSION</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_SESSION 11
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-TTY:CAPS"></a><h3>GLIBTOP_PROC_UID_TTY</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_TTY 12
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-TPGID:CAPS"></a><h3>GLIBTOP_PROC_UID_TPGID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_TPGID 13
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-PRIORITY:CAPS"></a><h3>GLIBTOP_PROC_UID_PRIORITY</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_PRIORITY 14
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-NICE:CAPS"></a><h3>GLIBTOP_PROC_UID_NICE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_NICE 15
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-NGROUPS:CAPS"></a><h3>GLIBTOP_PROC_UID_NGROUPS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_NGROUPS 16
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-PROC-UID-GROUPS:CAPS"></a><h3>GLIBTOP_PROC_UID_GROUPS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_PROC_UID_GROUPS 17
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-PROC-UID:CAPS"></a><h3>GLIBTOP_MAX_PROC_UID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_PROC_UID 18
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-proc-uid"></a><h3>struct glibtop_proc_uid</h3>
|
||||
<pre class="programlisting">struct glibtop_proc_uid {
|
||||
guint64 flags;
|
||||
gint32 uid; /* user id */
|
||||
gint32 euid; /* effective user id */
|
||||
gint32 gid; /* group id */
|
||||
gint32 egid; /* effective group id */
|
||||
gint32 suid; /* set user id */
|
||||
gint32 sgid; /* set group id */
|
||||
gint32 fsuid; /* ??? user id */
|
||||
gint32 fsgid; /* ??? group id */
|
||||
gint32 pid; /* process id */
|
||||
gint32 ppid; /* pid of parent process */
|
||||
gint32 pgrp; /* process group id */
|
||||
gint32 session; /* session id */
|
||||
gint32 tty; /* full device number of controlling terminal */
|
||||
gint32 tpgid; /* terminal process group id */
|
||||
gint32 priority; /* kernel scheduling priority */
|
||||
gint32 nice; /* standard unix nice level of process */
|
||||
gint32 ngroups;
|
||||
gint32 groups [GLIBTOP_MAX_GROUPS];
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-GROUPS:CAPS"></a><h3>GLIBTOP_MAX_GROUPS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_GROUPS 64
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-proc-uid-r"></a><h3>glibtop_get_proc_uid_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_proc_uid_r glibtop_get_proc_uid_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
273
doc/reference/html/libgtop-sem-limits.html
Normal file
@@ -0,0 +1,273 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>sem_limits: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-Process-List.html" title="Process List">
|
||||
<link rel="next" href="libgtop-prockernel.html" title="prockernel">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-sem-limits.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-Process-List.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-prockernel.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-sem-limits"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-sem-limits.top_of_page"></a>sem_limits</span></h2>
|
||||
<p>sem_limits</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sem-limits.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-sem-limits.html#glibtop-get-sem-limits" title="glibtop_get_sem_limits ()">glibtop_get_sem_limits</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-sem-limits.html#glibtop-get-sem-limits-l" title="glibtop_get_sem_limits_l ()">glibtop_get_sem_limits_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-sem-limits.html#glibtop-get-sem-limits-p" title="glibtop_get_sem_limits_p ()">glibtop_get_sem_limits_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-sem-limits.html#glibtop-get-sem-limits-s" title="glibtop_get_sem_limits_s ()">glibtop_get_sem_limits_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sem-limits.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#GLIBTOP-IPC-SEMMAP:CAPS" title="GLIBTOP_IPC_SEMMAP">GLIBTOP_IPC_SEMMAP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#GLIBTOP-IPC-SEMMNI:CAPS" title="GLIBTOP_IPC_SEMMNI">GLIBTOP_IPC_SEMMNI</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#GLIBTOP-IPC-SEMMNS:CAPS" title="GLIBTOP_IPC_SEMMNS">GLIBTOP_IPC_SEMMNS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#GLIBTOP-IPC-SEMMNU:CAPS" title="GLIBTOP_IPC_SEMMNU">GLIBTOP_IPC_SEMMNU</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#GLIBTOP-IPC-SEMMSL:CAPS" title="GLIBTOP_IPC_SEMMSL">GLIBTOP_IPC_SEMMSL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#GLIBTOP-IPC-SEMOPM:CAPS" title="GLIBTOP_IPC_SEMOPM">GLIBTOP_IPC_SEMOPM</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#GLIBTOP-IPC-SEMUME:CAPS" title="GLIBTOP_IPC_SEMUME">GLIBTOP_IPC_SEMUME</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#GLIBTOP-IPC-SEMUSZ:CAPS" title="GLIBTOP_IPC_SEMUSZ">GLIBTOP_IPC_SEMUSZ</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#GLIBTOP-IPC-SEMVMX:CAPS" title="GLIBTOP_IPC_SEMVMX">GLIBTOP_IPC_SEMVMX</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#GLIBTOP-IPC-SEMAEM:CAPS" title="GLIBTOP_IPC_SEMAEM">GLIBTOP_IPC_SEMAEM</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#GLIBTOP-MAX-SEM-LIMITS:CAPS" title="GLIBTOP_MAX_SEM_LIMITS">GLIBTOP_MAX_SEM_LIMITS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#glibtop-sem-limits" title="struct glibtop_sem_limits">glibtop_sem_limits</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sem-limits.html#glibtop-get-sem-limits-r" title="glibtop_get_sem_limits_r">glibtop_get_sem_limits_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sem-limits.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/sem_limits.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sem-limits.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sem-limits.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-sem-limits"></a><h3>glibtop_get_sem_limits ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_sem_limits (<em class="parameter"><code><a class="link" href="libgtop-sem-limits.html#glibtop-sem-limits" title="struct glibtop_sem_limits"><span class="type">glibtop_sem_limits</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-sem-limits-l"></a><h3>glibtop_get_sem_limits_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_sem_limits_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-sem-limits.html#glibtop-sem-limits" title="struct glibtop_sem_limits"><span class="type">glibtop_sem_limits</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-sem-limits-p"></a><h3>glibtop_get_sem_limits_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_sem_limits_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-sem-limits.html#glibtop-sem-limits" title="struct glibtop_sem_limits"><span class="type">glibtop_sem_limits</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-sem-limits-s"></a><h3>glibtop_get_sem_limits_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_sem_limits_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-sem-limits.html#glibtop-sem-limits" title="struct glibtop_sem_limits"><span class="type">glibtop_sem_limits</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sem-limits.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SEMMAP:CAPS"></a><h3>GLIBTOP_IPC_SEMMAP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SEMMAP 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SEMMNI:CAPS"></a><h3>GLIBTOP_IPC_SEMMNI</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SEMMNI 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SEMMNS:CAPS"></a><h3>GLIBTOP_IPC_SEMMNS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SEMMNS 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SEMMNU:CAPS"></a><h3>GLIBTOP_IPC_SEMMNU</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SEMMNU 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SEMMSL:CAPS"></a><h3>GLIBTOP_IPC_SEMMSL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SEMMSL 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SEMOPM:CAPS"></a><h3>GLIBTOP_IPC_SEMOPM</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SEMOPM 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SEMUME:CAPS"></a><h3>GLIBTOP_IPC_SEMUME</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SEMUME 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SEMUSZ:CAPS"></a><h3>GLIBTOP_IPC_SEMUSZ</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SEMUSZ 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SEMVMX:CAPS"></a><h3>GLIBTOP_IPC_SEMVMX</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SEMVMX 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-IPC-SEMAEM:CAPS"></a><h3>GLIBTOP_IPC_SEMAEM</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_IPC_SEMAEM 9
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-SEM-LIMITS:CAPS"></a><h3>GLIBTOP_MAX_SEM_LIMITS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_SEM_LIMITS 10
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-sem-limits"></a><h3>struct glibtop_sem_limits</h3>
|
||||
<pre class="programlisting">struct glibtop_sem_limits {
|
||||
guint64 flags;
|
||||
guint64 semmap; /* GLIBTOP_IPC_SEMMAP */
|
||||
guint64 semmni; /* GLIBTOP_IPC_SEMMNI */
|
||||
guint64 semmns; /* GLIBTOP_IPC_SEMMNS */
|
||||
guint64 semmnu; /* GLIBTOP_IPC_SEMMNU */
|
||||
guint64 semmsl; /* GLIBTOP_IPC_SEMMSL */
|
||||
guint64 semopm; /* GLIBTOP_IPC_SEMOPM */
|
||||
guint64 semume; /* GLIBTOP_IPC_SEMUME */
|
||||
guint64 semusz; /* GLIBTOP_IPC_SEMUSZ */
|
||||
guint64 semvmx; /* GLIBTOP_IPC_SEMVMX */
|
||||
guint64 semaem; /* GLIBTOP_IPC_SEMAEM */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-sem-limits-r"></a><h3>glibtop_get_sem_limits_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_sem_limits_r glibtop_get_sem_limits_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
74
doc/reference/html/libgtop-signal.html
Normal file
@@ -0,0 +1,74 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>signal: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-Process-Time.html" title="Process Time">
|
||||
<link rel="next" href="libgtop-procmap.html" title="procmap">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-signal.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-Process-Time.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-procmap.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-signal"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-signal.top_of_page"></a>signal</span></h2>
|
||||
<p>signal</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-signal.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-signal.html#glibtop-signame" title="struct glibtop_signame">glibtop_signame</a></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-signal.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/signal.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-signal.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-signal.functions_details"></a><h2>Functions</h2>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-signal.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-signame"></a><h3>struct glibtop_signame</h3>
|
||||
<pre class="programlisting">struct glibtop_signame {
|
||||
const int number;
|
||||
const char *name, *label;
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
233
doc/reference/html/libgtop-swap.html
Normal file
@@ -0,0 +1,233 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>swap: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-cpu.html" title="cpu">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-swap.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-cpu.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><img src="right-insensitive.png" width="16" height="16" border="0"></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-swap"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-swap.top_of_page"></a>swap</span></h2>
|
||||
<p>swap</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-swap.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-swap.html#glibtop-get-swap" title="glibtop_get_swap ()">glibtop_get_swap</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-swap.html#glibtop-get-swap-l" title="glibtop_get_swap_l ()">glibtop_get_swap_l</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-swap.html#glibtop-get-swap-p" title="glibtop_get_swap_p ()">glibtop_get_swap_p</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-swap.html#glibtop-get-swap-s" title="glibtop_get_swap_s ()">glibtop_get_swap_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-swap.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-swap.html#GLIBTOP-SWAP-TOTAL:CAPS" title="GLIBTOP_SWAP_TOTAL">GLIBTOP_SWAP_TOTAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-swap.html#GLIBTOP-SWAP-USED:CAPS" title="GLIBTOP_SWAP_USED">GLIBTOP_SWAP_USED</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-swap.html#GLIBTOP-SWAP-FREE:CAPS" title="GLIBTOP_SWAP_FREE">GLIBTOP_SWAP_FREE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-swap.html#GLIBTOP-SWAP-PAGEIN:CAPS" title="GLIBTOP_SWAP_PAGEIN">GLIBTOP_SWAP_PAGEIN</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-swap.html#GLIBTOP-SWAP-PAGEOUT:CAPS" title="GLIBTOP_SWAP_PAGEOUT">GLIBTOP_SWAP_PAGEOUT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-swap.html#GLIBTOP-MAX-SWAP:CAPS" title="GLIBTOP_MAX_SWAP">GLIBTOP_MAX_SWAP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-swap.html#glibtop-swap" title="struct glibtop_swap">glibtop_swap</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-swap.html#glibtop-get-swap-r" title="glibtop_get_swap_r">glibtop_get_swap_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-swap.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/swap.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-swap.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-swap.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-swap"></a><h3>glibtop_get_swap ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_swap (<em class="parameter"><code><a class="link" href="libgtop-swap.html#glibtop-swap" title="struct glibtop_swap"><span class="type">glibtop_swap</span></a> *buf</code></em>);</pre>
|
||||
<p>Get the swap usage.</p>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-get-swap.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="parameters_name">
|
||||
<col class="parameters_description">
|
||||
<col width="200px" class="parameters_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>buf</p></td>
|
||||
<td class="parameter_description"><p>A location to return a <a class="link" href="libgtop-swap.html#glibtop-swap" title="struct glibtop_swap"><span class="type">glibtop_swap</span></a>.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-swap-l"></a><h3>glibtop_get_swap_l ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_swap_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-swap.html#glibtop-swap" title="struct glibtop_swap"><span class="type">glibtop_swap</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-swap-p"></a><h3>glibtop_get_swap_p ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_swap_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>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-swap.html#glibtop-swap" title="struct glibtop_swap"><span class="type">glibtop_swap</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-swap-s"></a><h3>glibtop_get_swap_s ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_swap_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-swap.html#glibtop-swap" title="struct glibtop_swap"><span class="type">glibtop_swap</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-swap.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SWAP-TOTAL:CAPS"></a><h3>GLIBTOP_SWAP_TOTAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SWAP_TOTAL 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SWAP-USED:CAPS"></a><h3>GLIBTOP_SWAP_USED</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SWAP_USED 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SWAP-FREE:CAPS"></a><h3>GLIBTOP_SWAP_FREE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SWAP_FREE 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SWAP-PAGEIN:CAPS"></a><h3>GLIBTOP_SWAP_PAGEIN</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SWAP_PAGEIN 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SWAP-PAGEOUT:CAPS"></a><h3>GLIBTOP_SWAP_PAGEOUT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SWAP_PAGEOUT 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-SWAP:CAPS"></a><h3>GLIBTOP_MAX_SWAP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_SWAP 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-swap"></a><h3>struct glibtop_swap</h3>
|
||||
<pre class="programlisting">struct glibtop_swap {
|
||||
guint64 flags;
|
||||
guint64 total; /* GLIBTOP_SWAP_TOTAL */
|
||||
guint64 used; /* GLIBTOP_SWAP_USED */
|
||||
guint64 free; /* GLIBTOP_SWAP_FREE */
|
||||
guint64 pagein; /* GLIBTOP_SWAP_PAGEIN */
|
||||
guint64 pageout; /* GLIBTOP_SWAP_PAGEOUT */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-swap-r"></a><h3>glibtop_get_swap_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_swap_r glibtop_get_swap_p
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
419
doc/reference/html/libgtop-sysdeps.html
Normal file
@@ -0,0 +1,419 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>sysdeps: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-procsignal.html" title="procsignal">
|
||||
<link rel="next" href="libgtop-procstate.html" title="procstate">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-sysdeps.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-procsignal.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-procstate.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-sysdeps"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-sysdeps.top_of_page"></a>sysdeps</span></h2>
|
||||
<p>sysdeps</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sysdeps.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-sysdeps.html#glibtop-get-sysdeps" title="glibtop_get_sysdeps ()">glibtop_get_sysdeps</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-sysdeps.html#glibtop-get-sysdeps-r" title="glibtop_get_sysdeps_r ()">glibtop_get_sysdeps_r</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sysdeps.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-FEATURES:CAPS" title="GLIBTOP_SYSDEPS_FEATURES">GLIBTOP_SYSDEPS_FEATURES</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-CPU:CAPS" title="GLIBTOP_SYSDEPS_CPU">GLIBTOP_SYSDEPS_CPU</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-MEM:CAPS" title="GLIBTOP_SYSDEPS_MEM">GLIBTOP_SYSDEPS_MEM</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-SWAP:CAPS" title="GLIBTOP_SYSDEPS_SWAP">GLIBTOP_SYSDEPS_SWAP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-UPTIME:CAPS" title="GLIBTOP_SYSDEPS_UPTIME">GLIBTOP_SYSDEPS_UPTIME</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-LOADAVG:CAPS" title="GLIBTOP_SYSDEPS_LOADAVG">GLIBTOP_SYSDEPS_LOADAVG</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-SHM-LIMITS:CAPS" title="GLIBTOP_SYSDEPS_SHM_LIMITS">GLIBTOP_SYSDEPS_SHM_LIMITS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-MSG-LIMITS:CAPS" title="GLIBTOP_SYSDEPS_MSG_LIMITS">GLIBTOP_SYSDEPS_MSG_LIMITS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-SEM-LIMITS:CAPS" title="GLIBTOP_SYSDEPS_SEM_LIMITS">GLIBTOP_SYSDEPS_SEM_LIMITS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROCLIST:CAPS" title="GLIBTOP_SYSDEPS_PROCLIST">GLIBTOP_SYSDEPS_PROCLIST</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-STATE:CAPS" title="GLIBTOP_SYSDEPS_PROC_STATE">GLIBTOP_SYSDEPS_PROC_STATE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-UID:CAPS" title="GLIBTOP_SYSDEPS_PROC_UID">GLIBTOP_SYSDEPS_PROC_UID</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-MEM:CAPS" title="GLIBTOP_SYSDEPS_PROC_MEM">GLIBTOP_SYSDEPS_PROC_MEM</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-TIME:CAPS" title="GLIBTOP_SYSDEPS_PROC_TIME">GLIBTOP_SYSDEPS_PROC_TIME</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-SIGNAL:CAPS" title="GLIBTOP_SYSDEPS_PROC_SIGNAL">GLIBTOP_SYSDEPS_PROC_SIGNAL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-KERNEL:CAPS" title="GLIBTOP_SYSDEPS_PROC_KERNEL">GLIBTOP_SYSDEPS_PROC_KERNEL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-SEGMENT:CAPS" title="GLIBTOP_SYSDEPS_PROC_SEGMENT">GLIBTOP_SYSDEPS_PROC_SEGMENT</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-ARGS:CAPS" title="GLIBTOP_SYSDEPS_PROC_ARGS">GLIBTOP_SYSDEPS_PROC_ARGS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-MAP:CAPS" title="GLIBTOP_SYSDEPS_PROC_MAP">GLIBTOP_SYSDEPS_PROC_MAP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-MOUNTLIST:CAPS" title="GLIBTOP_SYSDEPS_MOUNTLIST">GLIBTOP_SYSDEPS_MOUNTLIST</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-FSUSAGE:CAPS" title="GLIBTOP_SYSDEPS_FSUSAGE">GLIBTOP_SYSDEPS_FSUSAGE</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-NETLOAD:CAPS" title="GLIBTOP_SYSDEPS_NETLOAD">GLIBTOP_SYSDEPS_NETLOAD</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PPP:CAPS" title="GLIBTOP_SYSDEPS_PPP">GLIBTOP_SYSDEPS_PPP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-NETLIST:CAPS" title="GLIBTOP_SYSDEPS_NETLIST">GLIBTOP_SYSDEPS_NETLIST</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-OPEN-FILES:CAPS" title="GLIBTOP_SYSDEPS_PROC_OPEN_FILES">GLIBTOP_SYSDEPS_PROC_OPEN_FILES</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-MAX-SYSDEPS:CAPS" title="GLIBTOP_MAX_SYSDEPS">GLIBTOP_MAX_SYSDEPS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-ALL:CAPS" title="GLIBTOP_SYSDEPS_ALL">GLIBTOP_SYSDEPS_ALL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysdeps.html#glibtop-sysdeps" title="struct glibtop_sysdeps">glibtop_sysdeps</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sysdeps.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/sysdeps.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sysdeps.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sysdeps.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-sysdeps"></a><h3>glibtop_get_sysdeps ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_sysdeps (<em class="parameter"><code><a class="link" href="libgtop-sysdeps.html#glibtop-sysdeps" title="struct glibtop_sysdeps"><span class="type">glibtop_sysdeps</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-sysdeps-r"></a><h3>glibtop_get_sysdeps_r ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_get_sysdeps_r (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="libgtop-sysdeps.html#glibtop-sysdeps" title="struct glibtop_sysdeps"><span class="type">glibtop_sysdeps</span></a> *buf</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sysdeps.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-FEATURES:CAPS"></a><h3>GLIBTOP_SYSDEPS_FEATURES</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_FEATURES 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-CPU:CAPS"></a><h3>GLIBTOP_SYSDEPS_CPU</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_CPU 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-MEM:CAPS"></a><h3>GLIBTOP_SYSDEPS_MEM</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_MEM 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-SWAP:CAPS"></a><h3>GLIBTOP_SYSDEPS_SWAP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_SWAP 3
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-UPTIME:CAPS"></a><h3>GLIBTOP_SYSDEPS_UPTIME</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_UPTIME 4
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-LOADAVG:CAPS"></a><h3>GLIBTOP_SYSDEPS_LOADAVG</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_LOADAVG 5
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-SHM-LIMITS:CAPS"></a><h3>GLIBTOP_SYSDEPS_SHM_LIMITS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_SHM_LIMITS 6
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-MSG-LIMITS:CAPS"></a><h3>GLIBTOP_SYSDEPS_MSG_LIMITS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_MSG_LIMITS 7
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-SEM-LIMITS:CAPS"></a><h3>GLIBTOP_SYSDEPS_SEM_LIMITS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_SEM_LIMITS 8
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-PROCLIST:CAPS"></a><h3>GLIBTOP_SYSDEPS_PROCLIST</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_PROCLIST 9
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-PROC-STATE:CAPS"></a><h3>GLIBTOP_SYSDEPS_PROC_STATE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_PROC_STATE 10
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-PROC-UID:CAPS"></a><h3>GLIBTOP_SYSDEPS_PROC_UID</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_PROC_UID 11
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-PROC-MEM:CAPS"></a><h3>GLIBTOP_SYSDEPS_PROC_MEM</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_PROC_MEM 12
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-PROC-TIME:CAPS"></a><h3>GLIBTOP_SYSDEPS_PROC_TIME</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_PROC_TIME 13
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-PROC-SIGNAL:CAPS"></a><h3>GLIBTOP_SYSDEPS_PROC_SIGNAL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_PROC_SIGNAL 14
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-PROC-KERNEL:CAPS"></a><h3>GLIBTOP_SYSDEPS_PROC_KERNEL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_PROC_KERNEL 15
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-PROC-SEGMENT:CAPS"></a><h3>GLIBTOP_SYSDEPS_PROC_SEGMENT</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_PROC_SEGMENT 16
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-PROC-ARGS:CAPS"></a><h3>GLIBTOP_SYSDEPS_PROC_ARGS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_PROC_ARGS 17
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-PROC-MAP:CAPS"></a><h3>GLIBTOP_SYSDEPS_PROC_MAP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_PROC_MAP 18
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-MOUNTLIST:CAPS"></a><h3>GLIBTOP_SYSDEPS_MOUNTLIST</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_MOUNTLIST 19
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-FSUSAGE:CAPS"></a><h3>GLIBTOP_SYSDEPS_FSUSAGE</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_FSUSAGE 20
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-NETLOAD:CAPS"></a><h3>GLIBTOP_SYSDEPS_NETLOAD</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_NETLOAD 21
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-PPP:CAPS"></a><h3>GLIBTOP_SYSDEPS_PPP</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_PPP 22
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-NETLIST:CAPS"></a><h3>GLIBTOP_SYSDEPS_NETLIST</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_NETLIST 23
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-PROC-OPEN-FILES:CAPS"></a><h3>GLIBTOP_SYSDEPS_PROC_OPEN_FILES</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_PROC_OPEN_FILES 24
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-SYSDEPS:CAPS"></a><h3>GLIBTOP_MAX_SYSDEPS</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_SYSDEPS 28
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSDEPS-ALL:CAPS"></a><h3>GLIBTOP_SYSDEPS_ALL</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1)
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-sysdeps"></a><h3>struct glibtop_sysdeps</h3>
|
||||
<pre class="programlisting">struct glibtop_sysdeps {
|
||||
guint64 flags;
|
||||
guint64 features; /* server features */
|
||||
guint64 cpu; /* glibtop_cpu */
|
||||
guint64 mem; /* glibtop_mem */
|
||||
guint64 swap; /* glibtop_swap */
|
||||
guint64 uptime; /* glibtop_uptime */
|
||||
guint64 loadavg; /* glibtop_loadavg */
|
||||
guint64 shm_limits; /* glibtop_shm_limits */
|
||||
guint64 msg_limits; /* glibtop_msg_limits */
|
||||
guint64 sem_limits; /* glibtop_sem_limits */
|
||||
guint64 proclist; /* glibtop_proclist */
|
||||
guint64 proc_state; /* glibtop_proc_state */
|
||||
guint64 proc_uid; /* glibtop_proc_uid */
|
||||
guint64 proc_mem; /* glibtop_proc_mem */
|
||||
guint64 proc_time; /* glibtop_proc_time */
|
||||
guint64 proc_signal; /* glibtop_proc_signal */
|
||||
guint64 proc_kernel; /* glibtop_proc_kernel */
|
||||
guint64 proc_segment; /* glibtop_proc_segment */
|
||||
guint64 proc_args; /* glibtop_proc_args */
|
||||
guint64 proc_map; /* glibtop_proc_map */
|
||||
guint64 proc_open_files; /* glibtop_proc_open_files */
|
||||
guint64 mountlist; /* glibtop_mountlist */
|
||||
guint64 fsusage; /* glibtop_fsusage */
|
||||
guint64 netlist; /* glibtop_netlist */
|
||||
guint64 netload; /* glibtop_netload */
|
||||
guint64 ppp; /* glibtop_ppp */
|
||||
guint64 proc_wd; /* glibtop_proc_wd */
|
||||
guint64 proc_affinity; /* glibtop_proc_affinity */
|
||||
guint64 proc_io; /* glibtop_proc_io */
|
||||
guint64 reserved0;
|
||||
guint64 reserved1;
|
||||
guint64 reserved2;
|
||||
guint64 reserved3;
|
||||
guint64 reserved4;
|
||||
guint64 reserved5;
|
||||
guint64 reserved6;
|
||||
guint64 reserved7;
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
193
doc/reference/html/libgtop-sysinfo.html
Normal file
@@ -0,0 +1,193 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>sysinfo: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-procmap.html" title="procmap">
|
||||
<link rel="next" href="libgtop-union.html" title="union">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-sysinfo.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-procmap.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-union.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-sysinfo"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-sysinfo.top_of_page"></a>sysinfo</span></h2>
|
||||
<p>sysinfo</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sysinfo.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">const <a class="link" href="libgtop-sysinfo.html#glibtop-sysinfo" title="struct glibtop_sysinfo"><span class="returnvalue">glibtop_sysinfo</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-sysinfo.html#glibtop-get-sysinfo-s" title="glibtop_get_sysinfo_s ()">glibtop_get_sysinfo_s</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a class="link" href="libgtop-sysinfo.html#glibtop-sysinfo" title="struct glibtop_sysinfo"><span class="returnvalue">glibtop_sysinfo</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-sysinfo.html#glibtop-get-sysinfo" title="glibtop_get_sysinfo ()">glibtop_get_sysinfo</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sysinfo.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysinfo.html#GLIBTOP-SYSINFO-NCPU:CAPS" title="GLIBTOP_SYSINFO_NCPU">GLIBTOP_SYSINFO_NCPU</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysinfo.html#GLIBTOP-SYSINFO-CPUINFO:CAPS" title="GLIBTOP_SYSINFO_CPUINFO">GLIBTOP_SYSINFO_CPUINFO</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysinfo.html#GLIBTOP-MAX-SYSINFO:CAPS" title="GLIBTOP_MAX_SYSINFO">GLIBTOP_MAX_SYSINFO</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysinfo.html#glibtop-sysinfo" title="struct glibtop_sysinfo">glibtop_sysinfo</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysinfo.html#glibtop-entry" title="struct glibtop_entry">glibtop_entry</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-sysinfo.html#glibtop-get-sysinfo-r" title="glibtop_get_sysinfo_r">glibtop_get_sysinfo_r</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sysinfo.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/sysinfo.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sysinfo.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sysinfo.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-sysinfo-s"></a><h3>glibtop_get_sysinfo_s ()</h3>
|
||||
<pre class="programlisting">const <a class="link" href="libgtop-sysinfo.html#glibtop-sysinfo" title="struct glibtop_sysinfo"><span class="returnvalue">glibtop_sysinfo</span></a> *
|
||||
glibtop_get_sysinfo_s (<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>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-sysinfo"></a><h3>glibtop_get_sysinfo ()</h3>
|
||||
<pre class="programlisting">const <a class="link" href="libgtop-sysinfo.html#glibtop-sysinfo" title="struct glibtop_sysinfo"><span class="returnvalue">glibtop_sysinfo</span></a> *
|
||||
glibtop_get_sysinfo (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-sysinfo.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSINFO-NCPU:CAPS"></a><h3>GLIBTOP_SYSINFO_NCPU</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSINFO_NCPU 0
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-SYSINFO-CPUINFO:CAPS"></a><h3>GLIBTOP_SYSINFO_CPUINFO</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_SYSINFO_CPUINFO 1
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GLIBTOP-MAX-SYSINFO:CAPS"></a><h3>GLIBTOP_MAX_SYSINFO</h3>
|
||||
<pre class="programlisting">#define GLIBTOP_MAX_SYSINFO 2
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-sysinfo"></a><h3>struct glibtop_sysinfo</h3>
|
||||
<pre class="programlisting">struct glibtop_sysinfo {
|
||||
guint64 flags;
|
||||
guint64 ncpu;
|
||||
glibtop_entry cpuinfo [GLIBTOP_NCPU];
|
||||
};
|
||||
</pre>
|
||||
<div class="refsect3">
|
||||
<a name="glibtop-sysinfo.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="struct_members_name">
|
||||
<col class="struct_members_description">
|
||||
<col width="200px" class="struct_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-sysinfo.flags"></a>flags</code></em>;</p></td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="glibtop-sysinfo.ncpu"></a>ncpu</code></em>;</p></td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><a class="link" href="libgtop-sysinfo.html#glibtop-entry" title="struct glibtop_entry"><span class="type">glibtop_entry</span></a> <em class="structfield"><code><a name="glibtop-sysinfo.cpuinfo"></a>cpuinfo</code></em>[GLIBTOP_NCPU];</p></td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-entry"></a><h3>struct glibtop_entry</h3>
|
||||
<pre class="programlisting">struct glibtop_entry {
|
||||
GPtrArray *labels;
|
||||
GHashTable *values; /* key -> description */
|
||||
GHashTable *descriptions; /* unused */
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-get-sysinfo-r"></a><h3>glibtop_get_sysinfo_r</h3>
|
||||
<pre class="programlisting">#define glibtop_get_sysinfo_r glibtop_get_sysinfo_s
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
69
doc/reference/html/libgtop-union.html
Normal file
@@ -0,0 +1,69 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>union: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-sysinfo.html" title="sysinfo">
|
||||
<link rel="next" href="libgtop-version.html" title="version">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-union.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-sysinfo.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-version.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-union"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-union.top_of_page"></a>union</span></h2>
|
||||
<p>union</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-union.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="datatype_keyword">union</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-union.html#glibtop-union" title="union glibtop_union">glibtop_union</a></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-union.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/union.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-union.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-union.functions_details"></a><h2>Functions</h2>
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-union.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-union"></a><h3>union glibtop_union</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
93
doc/reference/html/libgtop-version.html
Normal file
@@ -0,0 +1,93 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>version: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<link rel="prev" href="libgtop-union.html" title="union">
|
||||
<link rel="next" href="libgtop-Process-List.html" title="Process List">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts">
|
||||
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
||||
<a href="#libgtop-version.description" class="shortcut">Description</a></span>
|
||||
</td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-union.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-Process-List.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="refentry">
|
||||
<a name="libgtop-version"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="libgtop-version.top_of_page"></a>version</span></h2>
|
||||
<p>version</p>
|
||||
</td>
|
||||
<td class="gallery_image" valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-version.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">void</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgtop-version.html#glibtop-send-version" title="glibtop_send_version ()">glibtop_send_version</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-version.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a class="link" href="libgtop-version.html#LIBGTOP-VERSION-STRING:CAPS" title="LIBGTOP_VERSION_STRING">LIBGTOP_VERSION_STRING</a></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-version.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <glibtop/version.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-version.description"></a><h2>Description</h2>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-version.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="glibtop-send-version"></a><h3>glibtop_send_version ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
glibtop_send_version (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
|
||||
<em class="parameter"><code><span class="type">int</span> fd</code></em>);</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="libgtop-version.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="LIBGTOP-VERSION-STRING:CAPS"></a><h3>LIBGTOP_VERSION_STRING</h3>
|
||||
<pre class="programlisting">#define LIBGTOP_VERSION_STRING "Libgtop %s server version %s (%u,%u,%u,%u)."
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
65
doc/reference/html/libgtop-white-paper-overview.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Overview: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="Libgtop Reference Manual">
|
||||
<link rel="up" href="libgtop-white-paper.html" title="White paper">
|
||||
<link rel="prev" href="libgtop-white-paper.html" title="White paper">
|
||||
<link rel="next" href="libgtop-lib.html" title="Libgtop Library Reference">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts"></td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><a accesskey="u" href="libgtop-white-paper.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="p" href="libgtop-white-paper.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-lib.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="sect1">
|
||||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||
<a name="libgtop-white-paper-overview"></a>Overview</h2></div></div></div>
|
||||
<p>This section should give you a short overview on how LibGTop
|
||||
was developed, which things needed to be considered and how it
|
||||
works.</p>
|
||||
<div class="sect2">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="libgtop-white-paper-overview-design"></a>Interface Design: Things that need to be considered</h3></div></div></div>
|
||||
<p>
|
||||
At the very beginning, it was necessary to collect all the data the library part
|
||||
should provide and put them into some C structures. This was not that easiy as it
|
||||
might sound since LibGTop should be portable to any modern UNIX system with a common
|
||||
library part on all those systems, but the data that should be returned vary from
|
||||
system to system. For instance some systems support shared memory, but some others
|
||||
may not.</p>
|
||||
<p>
|
||||
The header files where we define these C structures (which are system-independent) are
|
||||
shared between client and server. This way we can call the system dependent code
|
||||
directly where we do not need any special privileges to do so.</p>
|
||||
<p>
|
||||
All of those structures contain a @code{flags} member which is interpreted as a bit
|
||||
mask and tells the caller of the library functions which of the fields in the returned
|
||||
structure are valid and which are not.</p>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="libgtop-white-paper-overview-server"></a>Server Implementation: The LibGTop "server"</h3></div></div></div>
|
||||
<p>
|
||||
The LibGTop @dfn{server} is a setgid/setuid binary which contains all the system
|
||||
dependent code which needs special privileges. It is only build if it's required
|
||||
on the current system (for instance, the Linux kernel provides all the required
|
||||
data via its @file{/proc} filesystem so we do not need the server at all) and it
|
||||
only contains the @dfn{features} which need privileges.</p>
|
||||
<p>
|
||||
Whenever we do not need any privileges to get all the data for some of the requested
|
||||
structures (here called @dfn{features}) the library calls the sysdeps code directly
|
||||
rather than using the server.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
74
doc/reference/html/libgtop-white-paper.html
Normal file
@@ -0,0 +1,74 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>White paper: Libgtop Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" 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="next" href="libgtop-white-paper-overview.html" title="Overview">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||||
<td width="100%" align="left" class="shortcuts"></td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||||
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
|
||||
<td><a accesskey="p" href="index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="n" href="libgtop-white-paper-overview.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||||
</tr></table>
|
||||
<div class="chapter">
|
||||
<div class="titlepage"><div><div><h1 class="title">
|
||||
<a name="libgtop-white-paper"></a>White paper</h1></div></div></div>
|
||||
<div class="toc"><dl class="toc">
|
||||
<dt><span class="sect1"><a href="libgtop-white-paper.html#libgtop-white-paper-introduction">Introduction</a></span></dt>
|
||||
<dt><span class="sect1"><a href="libgtop-white-paper-overview.html">Overview</a></span></dt>
|
||||
<dd><dl>
|
||||
<dt><span class="sect2"><a href="libgtop-white-paper-overview.html#libgtop-white-paper-overview-design">Interface Design: Things that need to be considered</a></span></dt>
|
||||
<dt><span class="sect2"><a href="libgtop-white-paper-overview.html#libgtop-white-paper-overview-server">Server Implementation: The LibGTop "server"</a></span></dt>
|
||||
</dl></dd>
|
||||
</dl></div>
|
||||
<div class="sect1">
|
||||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||
<a name="libgtop-white-paper-introduction"></a>Introduction</h2></div></div></div>
|
||||
<p>Many modern UNIX systems like Solaris, BSD or Digitial Unix
|
||||
only allow priviledged processes to read information like CPU and
|
||||
Memory Usage or information about running processes.</p>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
||||
<li class="listitem"><p>
|
||||
BSD, for instance, doesn't have any other way to get those data than reading
|
||||
directly from @file{/dev/kmem} and you need to be in the @code{kmem} group to
|
||||
be able to read this.</p></li>
|
||||
<li class="listitem"><p>
|
||||
Other systems, like Digital Unix, allow all users to get things like CPU and
|
||||
Memory statistics, but only root may read information about any process other
|
||||
than the current one (you may not even get information about your own processes
|
||||
if you're not root).</p></li>
|
||||
<li class="listitem"><p>
|
||||
Linux has a very nice @file{/proc} filesystem, but reading and parsing
|
||||
@file{/proc} is very slow and inefficient.</p></li>
|
||||
<li class="listitem"><p>
|
||||
Solaris is a bit better, but you still need to be in the @code{sys} group or
|
||||
even root to get some data.</p></li>
|
||||
</ul></div>
|
||||
<p>
|
||||
Because of this system utilities like @code{ps}, @code{uptime} or @code{top}
|
||||
often are setgid kmem or setuid root. Usually, they're also very specific to
|
||||
the system they're written for and not easily portable to other systems without
|
||||
a lot of work.</p>
|
||||
<p>
|
||||
This, of cause, becomes a problem for graphical tools like @code{gtop} - making
|
||||
a GTK+ program setgid or even setuid would be a security hole as big as you can
|
||||
drive the entire X11 source code through. For the GNOME project, we also needed
|
||||
some kind of library which provides all the required information in a portable
|
||||
since there's more than just one single program that wants to use them - for
|
||||
instance @code{gtop} and the @code{multiload}, @code{cpumemusage} and
|
||||
@code{netload} panel applets.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
539
doc/reference/html/libgtop.devhelp2
Normal file
@@ -0,0 +1,539 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<book xmlns="http://www.devhelp.net/book" title="Libgtop Reference Manual" link="index.html" author="Martin BauligGermán Poó-Caamaño" name="libgtop" version="2" language="c">
|
||||
<chapters>
|
||||
<sub name="White paper" link="libgtop-white-paper.html">
|
||||
<sub name="Introduction" link="libgtop-white-paper.html#libgtop-white-paper-introduction"/>
|
||||
<sub name="Overview" link="libgtop-white-paper-overview.html"/>
|
||||
</sub>
|
||||
<sub name="Libgtop Library Reference" link="libgtop-lib.html">
|
||||
<sub name="GlibTop" link="libgtop-GlibTop.html"/>
|
||||
<sub name="Close" link="libgtop-Close.html"/>
|
||||
<sub name="Command" link="libgtop-Command.html"/>
|
||||
<sub name="GlibTop Server" link="libgtop-GlibTop-Server.html"/>
|
||||
<sub name="Net Load" link="libgtop-Net-Load.html"/>
|
||||
<sub name="PPP" link="libgtop-PPP.html"/>
|
||||
<sub name="Shared Memory Limits" link="libgtop-Shared-Memory-Limits.html"/>
|
||||
<sub name="Uptime" link="libgtop-Uptime.html"/>
|
||||
<sub name="Net List" link="libgtop-Net-List.html"/>
|
||||
<sub name="open" link="libgtop-open.html"/>
|
||||
<sub name="parameter" link="libgtop-parameter.html"/>
|
||||
<sub name="Process Arguments" link="libgtop-Process-Arguments.html"/>
|
||||
<sub name="procmem" link="libgtop-procmem.html"/>
|
||||
<sub name="procopenfiles" link="libgtop-procopenfiles.html"/>
|
||||
<sub name="procsegment" link="libgtop-procsegment.html"/>
|
||||
<sub name="procsignal" link="libgtop-procsignal.html"/>
|
||||
<sub name="sysdeps" link="libgtop-sysdeps.html"/>
|
||||
<sub name="procstate" link="libgtop-procstate.html"/>
|
||||
<sub name="procuid" link="libgtop-procuid.html"/>
|
||||
<sub name="Process Time" link="libgtop-Process-Time.html"/>
|
||||
<sub name="signal" link="libgtop-signal.html"/>
|
||||
<sub name="procmap" link="libgtop-procmap.html"/>
|
||||
<sub name="sysinfo" link="libgtop-sysinfo.html"/>
|
||||
<sub name="union" link="libgtop-union.html"/>
|
||||
<sub name="version" link="libgtop-version.html"/>
|
||||
<sub name="Process List" link="libgtop-Process-List.html"/>
|
||||
<sub name="sem_limits" link="libgtop-sem-limits.html"/>
|
||||
<sub name="prockernel" link="libgtop-prockernel.html"/>
|
||||
<sub name="fsusage" link="libgtop-fsusage.html"/>
|
||||
<sub name="loadavg" link="libgtop-loadavg.html"/>
|
||||
<sub name="mem" link="libgtop-mem.html"/>
|
||||
<sub name="mountlist" link="libgtop-mountlist.html"/>
|
||||
<sub name="msg_limits" link="libgtop-msg-limits.html"/>
|
||||
<sub name="cpu" link="libgtop-cpu.html"/>
|
||||
<sub name="swap" link="libgtop-swap.html"/>
|
||||
</sub>
|
||||
</chapters>
|
||||
<functions>
|
||||
<keyword type="macro" name="LIBGTOP_CHECK_VERSION()" link="libgtop-GlibTop.html#LIBGTOP-CHECK-VERSION:CAPS"/>
|
||||
<keyword type="function" name="glibtop_init ()" link="libgtop-GlibTop.html#glibtop-init"/>
|
||||
<keyword type="function" name="glibtop_init_r ()" link="libgtop-GlibTop.html#glibtop-init-r"/>
|
||||
<keyword type="function" name="glibtop_init_s ()" link="libgtop-GlibTop.html#glibtop-init-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_MOUNTENTRY_LEN" link="libgtop-GlibTop.html#GLIBTOP-MOUNTENTRY-LEN:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop" link="libgtop-GlibTop.html#glibtop"/>
|
||||
<keyword type="variable" name="glibtop_global_server" link="libgtop-GlibTop.html#glibtop-global-server"/>
|
||||
<keyword type="variable" name="glibtop_server_features" link="libgtop-GlibTop.html#glibtop-server-features"/>
|
||||
<keyword type="function" name="glibtop_close ()" link="libgtop-Close.html#glibtop-close"/>
|
||||
<keyword type="function" name="glibtop_close_r ()" link="libgtop-Close.html#glibtop-close-r"/>
|
||||
<keyword type="function" name="glibtop_close_s ()" link="libgtop-Close.html#glibtop-close-s"/>
|
||||
<keyword type="function" name="glibtop_close_p ()" link="libgtop-Close.html#glibtop-close-p"/>
|
||||
<keyword type="macro" name="glibtop_call()" link="libgtop-Command.html#glibtop-call"/>
|
||||
<keyword type="function" name="glibtop_call_l ()" link="libgtop-Command.html#glibtop-call-l"/>
|
||||
<keyword type="function" name="glibtop_call_s ()" link="libgtop-Command.html#glibtop-call-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_QUIT" link="libgtop-Command.html#GLIBTOP-CMND-QUIT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_SYSDEPS" link="libgtop-Command.html#GLIBTOP-CMND-SYSDEPS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_CPU" link="libgtop-Command.html#GLIBTOP-CMND-CPU:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_MEM" link="libgtop-Command.html#GLIBTOP-CMND-MEM:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_SWAP" link="libgtop-Command.html#GLIBTOP-CMND-SWAP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_UPTIME" link="libgtop-Command.html#GLIBTOP-CMND-UPTIME:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_LOADAVG" link="libgtop-Command.html#GLIBTOP-CMND-LOADAVG:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_SHM_LIMITS" link="libgtop-Command.html#GLIBTOP-CMND-SHM-LIMITS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_MSG_LIMITS" link="libgtop-Command.html#GLIBTOP-CMND-MSG-LIMITS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_SEM_LIMITS" link="libgtop-Command.html#GLIBTOP-CMND-SEM-LIMITS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_PROCLIST" link="libgtop-Command.html#GLIBTOP-CMND-PROCLIST:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_PROC_STATE" link="libgtop-Command.html#GLIBTOP-CMND-PROC-STATE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_PROC_UID" link="libgtop-Command.html#GLIBTOP-CMND-PROC-UID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_PROC_MEM" link="libgtop-Command.html#GLIBTOP-CMND-PROC-MEM:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_PROC_TIME" link="libgtop-Command.html#GLIBTOP-CMND-PROC-TIME:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_PROC_SIGNAL" link="libgtop-Command.html#GLIBTOP-CMND-PROC-SIGNAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_PROC_KERNEL" link="libgtop-Command.html#GLIBTOP-CMND-PROC-KERNEL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_PROC_SEGMENT" link="libgtop-Command.html#GLIBTOP-CMND-PROC-SEGMENT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_PROC_ARGS" link="libgtop-Command.html#GLIBTOP-CMND-PROC-ARGS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_PROC_MAP" link="libgtop-Command.html#GLIBTOP-CMND-PROC-MAP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_MOUNTLIST" link="libgtop-Command.html#GLIBTOP-CMND-MOUNTLIST:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_FSUSAGE" link="libgtop-Command.html#GLIBTOP-CMND-FSUSAGE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_NETLOAD" link="libgtop-Command.html#GLIBTOP-CMND-NETLOAD:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_PPP" link="libgtop-Command.html#GLIBTOP-CMND-PPP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_NETLIST" link="libgtop-Command.html#GLIBTOP-CMND-NETLIST:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CMND_PROC_OPEN_FILES" link="libgtop-Command.html#GLIBTOP-CMND-PROC-OPEN-FILES:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_CMND" link="libgtop-Command.html#GLIBTOP-MAX-CMND:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_command" link="libgtop-Command.html#glibtop-command"/>
|
||||
<keyword type="struct" name="struct glibtop_response" link="libgtop-Command.html#glibtop-response"/>
|
||||
<keyword type="union" name="union glibtop_response_union" link="libgtop-Command.html#glibtop-response-union"/>
|
||||
<keyword type="function" name="glibtop_get_netload ()" link="libgtop-Net-Load.html#glibtop-get-netload"/>
|
||||
<keyword type="function" name="glibtop_get_netload_l ()" link="libgtop-Net-Load.html#glibtop-get-netload-l"/>
|
||||
<keyword type="function" name="glibtop_get_netload_p ()" link="libgtop-Net-Load.html#glibtop-get-netload-p"/>
|
||||
<keyword type="function" name="glibtop_get_netload_s ()" link="libgtop-Net-Load.html#glibtop-get-netload-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_IF_FLAGS" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-IF-FLAGS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_MTU" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-MTU:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_SUBNET" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-SUBNET:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_ADDRESS" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-ADDRESS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_PACKETS_IN" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-PACKETS-IN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_PACKETS_OUT" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-PACKETS-OUT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_PACKETS_TOTAL" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-PACKETS-TOTAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_BYTES_IN" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-BYTES-IN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_BYTES_OUT" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-BYTES-OUT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_BYTES_TOTAL" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-BYTES-TOTAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_ERRORS_IN" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-ERRORS-IN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_ERRORS_OUT" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-ERRORS-OUT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_ERRORS_TOTAL" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-ERRORS-TOTAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_COLLISIONS" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-COLLISIONS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_ADDRESS6" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-ADDRESS6:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_PREFIX6" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-PREFIX6:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_SCOPE6" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-SCOPE6:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLOAD_HWADDRESS" link="libgtop-Net-Load.html#GLIBTOP-NETLOAD-HWADDRESS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_NETLOAD" link="libgtop-Net-Load.html#GLIBTOP-MAX-NETLOAD:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_netload" link="libgtop-Net-Load.html#glibtop-netload"/>
|
||||
<keyword type="macro" name="glibtop_get_netload_r" link="libgtop-Net-Load.html#glibtop-get-netload-r"/>
|
||||
<keyword type="function" name="glibtop_get_ppp ()" link="libgtop-PPP.html#glibtop-get-ppp"/>
|
||||
<keyword type="function" name="glibtop_get_ppp_l ()" link="libgtop-PPP.html#glibtop-get-ppp-l"/>
|
||||
<keyword type="function" name="glibtop_get_ppp_p ()" link="libgtop-PPP.html#glibtop-get-ppp-p"/>
|
||||
<keyword type="function" name="glibtop_get_ppp_s ()" link="libgtop-PPP.html#glibtop-get-ppp-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_PPP_STATE" link="libgtop-PPP.html#GLIBTOP-PPP-STATE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PPP_BYTES_IN" link="libgtop-PPP.html#GLIBTOP-PPP-BYTES-IN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PPP_BYTES_OUT" link="libgtop-PPP.html#GLIBTOP-PPP-BYTES-OUT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_PPP" link="libgtop-PPP.html#GLIBTOP-MAX-PPP:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_ppp" link="libgtop-PPP.html#glibtop-ppp"/>
|
||||
<keyword type="macro" name="glibtop_get_ppp_r" link="libgtop-PPP.html#glibtop-get-ppp-r"/>
|
||||
<keyword type="function" name="glibtop_get_shm_limits ()" link="libgtop-Shared-Memory-Limits.html#glibtop-get-shm-limits"/>
|
||||
<keyword type="function" name="glibtop_get_shm_limits_l ()" link="libgtop-Shared-Memory-Limits.html#glibtop-get-shm-limits-l"/>
|
||||
<keyword type="function" name="glibtop_get_shm_limits_p ()" link="libgtop-Shared-Memory-Limits.html#glibtop-get-shm-limits-p"/>
|
||||
<keyword type="function" name="glibtop_get_shm_limits_s ()" link="libgtop-Shared-Memory-Limits.html#glibtop-get-shm-limits-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SHMMAX" link="libgtop-Shared-Memory-Limits.html#GLIBTOP-IPC-SHMMAX:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SHMMIN" link="libgtop-Shared-Memory-Limits.html#GLIBTOP-IPC-SHMMIN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SHMMNI" link="libgtop-Shared-Memory-Limits.html#GLIBTOP-IPC-SHMMNI:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SHMSEG" link="libgtop-Shared-Memory-Limits.html#GLIBTOP-IPC-SHMSEG:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SHMALL" link="libgtop-Shared-Memory-Limits.html#GLIBTOP-IPC-SHMALL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_SHM_LIMITS" link="libgtop-Shared-Memory-Limits.html#GLIBTOP-MAX-SHM-LIMITS:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_shm_limits" link="libgtop-Shared-Memory-Limits.html#glibtop-shm-limits"/>
|
||||
<keyword type="macro" name="glibtop_get_shm_limits_r" link="libgtop-Shared-Memory-Limits.html#glibtop-get-shm-limits-r"/>
|
||||
<keyword type="function" name="glibtop_get_uptime ()" link="libgtop-Uptime.html#glibtop-get-uptime"/>
|
||||
<keyword type="function" name="glibtop_get_uptime_l ()" link="libgtop-Uptime.html#glibtop-get-uptime-l"/>
|
||||
<keyword type="function" name="glibtop_get_uptime_p ()" link="libgtop-Uptime.html#glibtop-get-uptime-p"/>
|
||||
<keyword type="function" name="glibtop_get_uptime_s ()" link="libgtop-Uptime.html#glibtop-get-uptime-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_UPTIME_UPTIME" link="libgtop-Uptime.html#GLIBTOP-UPTIME-UPTIME:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_UPTIME_IDLETIME" link="libgtop-Uptime.html#GLIBTOP-UPTIME-IDLETIME:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_UPTIME_BOOT_TIME" link="libgtop-Uptime.html#GLIBTOP-UPTIME-BOOT-TIME:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_UPTIME" link="libgtop-Uptime.html#GLIBTOP-MAX-UPTIME:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_uptime" link="libgtop-Uptime.html#glibtop-uptime"/>
|
||||
<keyword type="macro" name="glibtop_get_uptime_r" link="libgtop-Uptime.html#glibtop-get-uptime-r"/>
|
||||
<keyword type="function" name="glibtop_get_netlist ()" link="libgtop-Net-List.html#glibtop-get-netlist"/>
|
||||
<keyword type="function" name="glibtop_get_netlist_l ()" link="libgtop-Net-List.html#glibtop-get-netlist-l"/>
|
||||
<keyword type="function" name="glibtop_get_netlist_p ()" link="libgtop-Net-List.html#glibtop-get-netlist-p"/>
|
||||
<keyword type="function" name="glibtop_get_netlist_s ()" link="libgtop-Net-List.html#glibtop-get-netlist-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_NETLIST_NUMBER" link="libgtop-Net-List.html#GLIBTOP-NETLIST-NUMBER:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_NETLIST" link="libgtop-Net-List.html#GLIBTOP-MAX-NETLIST:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_netlist" link="libgtop-Net-List.html#glibtop-netlist"/>
|
||||
<keyword type="macro" name="glibtop_get_netlist_r" link="libgtop-Net-List.html#glibtop-get-netlist-r"/>
|
||||
<keyword type="function" name="glibtop_open_l ()" link="libgtop-open.html#glibtop-open-l"/>
|
||||
<keyword type="function" name="glibtop_init_p ()" link="libgtop-open.html#glibtop-init-p"/>
|
||||
<keyword type="function" name="glibtop_open_p ()" link="libgtop-open.html#glibtop-open-p"/>
|
||||
<keyword type="function" name="glibtop_open_s ()" link="libgtop-open.html#glibtop-open-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_INIT_NO_OPEN" link="libgtop-open.html#GLIBTOP-INIT-NO-OPEN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_INIT_NO_INIT" link="libgtop-open.html#GLIBTOP-INIT-NO-INIT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FEATURES_NO_SERVER" link="libgtop-open.html#GLIBTOP-FEATURES-NO-SERVER:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FEATURES_EXCEPT" link="libgtop-open.html#GLIBTOP-FEATURES-EXCEPT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_METHOD_DIRECT" link="libgtop-open.html#GLIBTOP-METHOD-DIRECT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_METHOD_PIPE" link="libgtop-open.html#GLIBTOP-METHOD-PIPE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_METHOD_INET" link="libgtop-open.html#GLIBTOP-METHOD-INET:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_METHOD_UNIX" link="libgtop-open.html#GLIBTOP-METHOD-UNIX:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_ERROR_METHOD_IGNORE" link="libgtop-open.html#GLIBTOP-ERROR-METHOD-IGNORE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_ERROR_METHOD_WARN_ONCE" link="libgtop-open.html#GLIBTOP-ERROR-METHOD-WARN-ONCE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_ERROR_METHOD_WARN" link="libgtop-open.html#GLIBTOP-ERROR-METHOD-WARN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_ERROR_METHOD_ABORT" link="libgtop-open.html#GLIBTOP-ERROR-METHOD-ABORT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_ERROR_METHOD_DEFAULT" link="libgtop-open.html#GLIBTOP-ERROR-METHOD-DEFAULT:CAPS"/>
|
||||
<keyword type="macro" name="glibtop_get_parameter()" link="libgtop-parameter.html#glibtop-get-parameter"/>
|
||||
<keyword type="macro" name="glibtop_set_parameter()" link="libgtop-parameter.html#glibtop-set-parameter"/>
|
||||
<keyword type="function" name="glibtop_get_parameter_l ()" link="libgtop-parameter.html#glibtop-get-parameter-l"/>
|
||||
<keyword type="function" name="glibtop_set_parameter_l ()" link="libgtop-parameter.html#glibtop-set-parameter-l"/>
|
||||
<keyword type="macro" name="GLIBTOP_PARAM_METHOD" link="libgtop-parameter.html#GLIBTOP-PARAM-METHOD:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PARAM_FEATURES" link="libgtop-parameter.html#GLIBTOP-PARAM-FEATURES:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PARAM_COMMAND" link="libgtop-parameter.html#GLIBTOP-PARAM-COMMAND:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PARAM_HOST" link="libgtop-parameter.html#GLIBTOP-PARAM-HOST:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PARAM_PORT" link="libgtop-parameter.html#GLIBTOP-PARAM-PORT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PARAM_ERROR_METHOD" link="libgtop-parameter.html#GLIBTOP-PARAM-ERROR-METHOD:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PARAM_REQUIRED" link="libgtop-parameter.html#GLIBTOP-PARAM-REQUIRED:CAPS"/>
|
||||
<keyword type="function" name="glibtop_get_proc_args ()" link="libgtop-Process-Arguments.html#glibtop-get-proc-args"/>
|
||||
<keyword type="function" name="glibtop_get_proc_argv ()" link="libgtop-Process-Arguments.html#glibtop-get-proc-argv"/>
|
||||
<keyword type="struct" name="struct glibtop_proc_args" link="libgtop-Process-Arguments.html#glibtop-proc-args"/>
|
||||
<keyword type="function" name="glibtop_get_proc_mem ()" link="libgtop-procmem.html#glibtop-get-proc-mem"/>
|
||||
<keyword type="function" name="glibtop_get_proc_mem_l ()" link="libgtop-procmem.html#glibtop-get-proc-mem-l"/>
|
||||
<keyword type="function" name="glibtop_get_proc_mem_p ()" link="libgtop-procmem.html#glibtop-get-proc-mem-p"/>
|
||||
<keyword type="function" name="glibtop_get_proc_mem_s ()" link="libgtop-procmem.html#glibtop-get-proc-mem-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_MEM_SIZE" link="libgtop-procmem.html#GLIBTOP-PROC-MEM-SIZE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_MEM_VSIZE" link="libgtop-procmem.html#GLIBTOP-PROC-MEM-VSIZE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_MEM_RESIDENT" link="libgtop-procmem.html#GLIBTOP-PROC-MEM-RESIDENT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_MEM_SHARE" link="libgtop-procmem.html#GLIBTOP-PROC-MEM-SHARE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_MEM_RSS" link="libgtop-procmem.html#GLIBTOP-PROC-MEM-RSS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_MEM_RSS_RLIM" link="libgtop-procmem.html#GLIBTOP-PROC-MEM-RSS-RLIM:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_PROC_MEM" link="libgtop-procmem.html#GLIBTOP-MAX-PROC-MEM:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_proc_mem" link="libgtop-procmem.html#glibtop-proc-mem"/>
|
||||
<keyword type="macro" name="glibtop_get_proc_mem_r" link="libgtop-procmem.html#glibtop-get-proc-mem-r"/>
|
||||
<keyword type="function" name="glibtop_get_proc_open_files ()" link="libgtop-procopenfiles.html#glibtop-get-proc-open-files"/>
|
||||
<keyword type="function" name="glibtop_get_proc_open_files_l ()" link="libgtop-procopenfiles.html#glibtop-get-proc-open-files-l"/>
|
||||
<keyword type="function" name="glibtop_get_proc_open_files_p ()" link="libgtop-procopenfiles.html#glibtop-get-proc-open-files-p"/>
|
||||
<keyword type="function" name="glibtop_get_proc_open_files_s ()" link="libgtop-procopenfiles.html#glibtop-get-proc-open-files-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_OPEN_FILES_NUMBER" link="libgtop-procopenfiles.html#GLIBTOP-PROC-OPEN-FILES-NUMBER:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_OPEN_FILES_TOTAL" link="libgtop-procopenfiles.html#GLIBTOP-PROC-OPEN-FILES-TOTAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_OPEN_FILES_SIZE" link="libgtop-procopenfiles.html#GLIBTOP-PROC-OPEN-FILES-SIZE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_PROC_OPEN_FILES" link="libgtop-procopenfiles.html#GLIBTOP-MAX-PROC-OPEN-FILES:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FILE_ENTRY_FD" link="libgtop-procopenfiles.html#GLIBTOP-FILE-ENTRY-FD:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FILE_ENTRY_NAME" link="libgtop-procopenfiles.html#GLIBTOP-FILE-ENTRY-NAME:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FILE_ENTRY_TYPE" link="libgtop-procopenfiles.html#GLIBTOP-FILE-ENTRY-TYPE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FILE_ENTRY_INETSOCKET_DST_HOST" link="libgtop-procopenfiles.html#GLIBTOP-FILE-ENTRY-INETSOCKET-DST-HOST:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FILE_ENTRY_INETSOCKET_DST_PORT" link="libgtop-procopenfiles.html#GLIBTOP-FILE-ENTRY-INETSOCKET-DST-PORT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_OPEN_FILE_ENTRY" link="libgtop-procopenfiles.html#GLIBTOP-MAX-OPEN-FILE-ENTRY:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_OPEN_FILENAME_LEN" link="libgtop-procopenfiles.html#GLIBTOP-OPEN-FILENAME-LEN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_OPEN_DEST_HOST_LEN" link="libgtop-procopenfiles.html#GLIBTOP-OPEN-DEST-HOST-LEN:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_open_files_entry" link="libgtop-procopenfiles.html#glibtop-open-files-entry"/>
|
||||
<keyword type="struct" name="struct glibtop_proc_open_files" link="libgtop-procopenfiles.html#glibtop-proc-open-files"/>
|
||||
<keyword type="macro" name="glibtop_get_proc_open_files_r" link="libgtop-procopenfiles.html#glibtop-get-proc-open-files-r"/>
|
||||
<keyword type="function" name="glibtop_get_proc_segment ()" link="libgtop-procsegment.html#glibtop-get-proc-segment"/>
|
||||
<keyword type="function" name="glibtop_get_proc_segment_l ()" link="libgtop-procsegment.html#glibtop-get-proc-segment-l"/>
|
||||
<keyword type="function" name="glibtop_get_proc_segment_p ()" link="libgtop-procsegment.html#glibtop-get-proc-segment-p"/>
|
||||
<keyword type="function" name="glibtop_get_proc_segment_s ()" link="libgtop-procsegment.html#glibtop-get-proc-segment-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_SEGMENT_TEXT_RSS" link="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-TEXT-RSS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_SEGMENT_SHLIB_RSS" link="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-SHLIB-RSS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_SEGMENT_DATA_RSS" link="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-DATA-RSS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_SEGMENT_STACK_RSS" link="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-STACK-RSS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_SEGMENT_DIRTY_SIZE" link="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-DIRTY-SIZE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_SEGMENT_START_CODE" link="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-START-CODE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_SEGMENT_END_CODE" link="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-END-CODE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_SEGMENT_START_STACK" link="libgtop-procsegment.html#GLIBTOP-PROC-SEGMENT-START-STACK:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_PROC_SEGMENT" link="libgtop-procsegment.html#GLIBTOP-MAX-PROC-SEGMENT:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_proc_segment" link="libgtop-procsegment.html#glibtop-proc-segment"/>
|
||||
<keyword type="macro" name="glibtop_get_proc_segment_r" link="libgtop-procsegment.html#glibtop-get-proc-segment-r"/>
|
||||
<keyword type="function" name="glibtop_get_proc_signal ()" link="libgtop-procsignal.html#glibtop-get-proc-signal"/>
|
||||
<keyword type="function" name="glibtop_get_proc_signal_l ()" link="libgtop-procsignal.html#glibtop-get-proc-signal-l"/>
|
||||
<keyword type="function" name="glibtop_get_proc_signal_p ()" link="libgtop-procsignal.html#glibtop-get-proc-signal-p"/>
|
||||
<keyword type="function" name="glibtop_get_proc_signal_s ()" link="libgtop-procsignal.html#glibtop-get-proc-signal-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_SIGNAL_SIGNAL" link="libgtop-procsignal.html#GLIBTOP-PROC-SIGNAL-SIGNAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_SIGNAL_BLOCKED" link="libgtop-procsignal.html#GLIBTOP-PROC-SIGNAL-BLOCKED:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_SIGNAL_SIGIGNORE" link="libgtop-procsignal.html#GLIBTOP-PROC-SIGNAL-SIGIGNORE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_SIGNAL_SIGCATCH" link="libgtop-procsignal.html#GLIBTOP-PROC-SIGNAL-SIGCATCH:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_PROC_SIGNAL" link="libgtop-procsignal.html#GLIBTOP-MAX-PROC-SIGNAL:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_proc_signal" link="libgtop-procsignal.html#glibtop-proc-signal"/>
|
||||
<keyword type="macro" name="glibtop_get_proc_signal_r" link="libgtop-procsignal.html#glibtop-get-proc-signal-r"/>
|
||||
<keyword type="function" name="glibtop_get_sysdeps ()" link="libgtop-sysdeps.html#glibtop-get-sysdeps"/>
|
||||
<keyword type="function" name="glibtop_get_sysdeps_r ()" link="libgtop-sysdeps.html#glibtop-get-sysdeps-r"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_FEATURES" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-FEATURES:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_CPU" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-CPU:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_MEM" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-MEM:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_SWAP" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-SWAP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_UPTIME" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-UPTIME:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_LOADAVG" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-LOADAVG:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_SHM_LIMITS" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-SHM-LIMITS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_MSG_LIMITS" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-MSG-LIMITS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_SEM_LIMITS" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-SEM-LIMITS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_PROCLIST" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROCLIST:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_PROC_STATE" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-STATE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_PROC_UID" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-UID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_PROC_MEM" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-MEM:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_PROC_TIME" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-TIME:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_PROC_SIGNAL" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-SIGNAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_PROC_KERNEL" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-KERNEL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_PROC_SEGMENT" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-SEGMENT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_PROC_ARGS" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-ARGS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_PROC_MAP" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-MAP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_MOUNTLIST" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-MOUNTLIST:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_FSUSAGE" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-FSUSAGE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_NETLOAD" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-NETLOAD:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_PPP" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PPP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_NETLIST" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-NETLIST:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_PROC_OPEN_FILES" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-PROC-OPEN-FILES:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_SYSDEPS" link="libgtop-sysdeps.html#GLIBTOP-MAX-SYSDEPS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSDEPS_ALL" link="libgtop-sysdeps.html#GLIBTOP-SYSDEPS-ALL:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_sysdeps" link="libgtop-sysdeps.html#glibtop-sysdeps"/>
|
||||
<keyword type="function" name="glibtop_get_proc_state ()" link="libgtop-procstate.html#glibtop-get-proc-state"/>
|
||||
<keyword type="function" name="glibtop_get_proc_state_l ()" link="libgtop-procstate.html#glibtop-get-proc-state-l"/>
|
||||
<keyword type="function" name="glibtop_get_proc_state_p ()" link="libgtop-procstate.html#glibtop-get-proc-state-p"/>
|
||||
<keyword type="function" name="glibtop_get_proc_state_s ()" link="libgtop-procstate.html#glibtop-get-proc-state-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_STATE_CMD" link="libgtop-procstate.html#GLIBTOP-PROC-STATE-CMD:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_STATE_STATE" link="libgtop-procstate.html#GLIBTOP-PROC-STATE-STATE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_STATE_UID" link="libgtop-procstate.html#GLIBTOP-PROC-STATE-UID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_STATE_GID" link="libgtop-procstate.html#GLIBTOP-PROC-STATE-GID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_STATE_RUID" link="libgtop-procstate.html#GLIBTOP-PROC-STATE-RUID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_STATE_RGID" link="libgtop-procstate.html#GLIBTOP-PROC-STATE-RGID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_STATE_HAS_CPU" link="libgtop-procstate.html#GLIBTOP-PROC-STATE-HAS-CPU:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_STATE_PROCESSOR" link="libgtop-procstate.html#GLIBTOP-PROC-STATE-PROCESSOR:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_STATE_LAST_PROCESSOR" link="libgtop-procstate.html#GLIBTOP-PROC-STATE-LAST-PROCESSOR:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_PROC_STATE" link="libgtop-procstate.html#GLIBTOP-MAX-PROC-STATE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROCESS_RUNNING" link="libgtop-procstate.html#GLIBTOP-PROCESS-RUNNING:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROCESS_INTERRUPTIBLE" link="libgtop-procstate.html#GLIBTOP-PROCESS-INTERRUPTIBLE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROCESS_UNINTERRUPTIBLE" link="libgtop-procstate.html#GLIBTOP-PROCESS-UNINTERRUPTIBLE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROCESS_ZOMBIE" link="libgtop-procstate.html#GLIBTOP-PROCESS-ZOMBIE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROCESS_STOPPED" link="libgtop-procstate.html#GLIBTOP-PROCESS-STOPPED:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROCESS_SWAPPING" link="libgtop-procstate.html#GLIBTOP-PROCESS-SWAPPING:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROCESS_DEAD" link="libgtop-procstate.html#GLIBTOP-PROCESS-DEAD:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_proc_state" link="libgtop-procstate.html#glibtop-proc-state"/>
|
||||
<keyword type="macro" name="glibtop_get_proc_state_r" link="libgtop-procstate.html#glibtop-get-proc-state-r"/>
|
||||
<keyword type="function" name="glibtop_get_proc_uid ()" link="libgtop-procuid.html#glibtop-get-proc-uid"/>
|
||||
<keyword type="function" name="glibtop_get_proc_uid_l ()" link="libgtop-procuid.html#glibtop-get-proc-uid-l"/>
|
||||
<keyword type="function" name="glibtop_get_proc_uid_p ()" link="libgtop-procuid.html#glibtop-get-proc-uid-p"/>
|
||||
<keyword type="function" name="glibtop_get_proc_uid_s ()" link="libgtop-procuid.html#glibtop-get-proc-uid-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_UID" link="libgtop-procuid.html#GLIBTOP-PROC-UID-UID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_EUID" link="libgtop-procuid.html#GLIBTOP-PROC-UID-EUID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_GID" link="libgtop-procuid.html#GLIBTOP-PROC-UID-GID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_EGID" link="libgtop-procuid.html#GLIBTOP-PROC-UID-EGID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_SUID" link="libgtop-procuid.html#GLIBTOP-PROC-UID-SUID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_SGID" link="libgtop-procuid.html#GLIBTOP-PROC-UID-SGID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_FSUID" link="libgtop-procuid.html#GLIBTOP-PROC-UID-FSUID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_FSGID" link="libgtop-procuid.html#GLIBTOP-PROC-UID-FSGID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_PID" link="libgtop-procuid.html#GLIBTOP-PROC-UID-PID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_PPID" link="libgtop-procuid.html#GLIBTOP-PROC-UID-PPID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_PGRP" link="libgtop-procuid.html#GLIBTOP-PROC-UID-PGRP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_SESSION" link="libgtop-procuid.html#GLIBTOP-PROC-UID-SESSION:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_TTY" link="libgtop-procuid.html#GLIBTOP-PROC-UID-TTY:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_TPGID" link="libgtop-procuid.html#GLIBTOP-PROC-UID-TPGID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_PRIORITY" link="libgtop-procuid.html#GLIBTOP-PROC-UID-PRIORITY:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_NICE" link="libgtop-procuid.html#GLIBTOP-PROC-UID-NICE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_NGROUPS" link="libgtop-procuid.html#GLIBTOP-PROC-UID-NGROUPS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_UID_GROUPS" link="libgtop-procuid.html#GLIBTOP-PROC-UID-GROUPS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_PROC_UID" link="libgtop-procuid.html#GLIBTOP-MAX-PROC-UID:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_proc_uid" link="libgtop-procuid.html#glibtop-proc-uid"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_GROUPS" link="libgtop-procuid.html#GLIBTOP-MAX-GROUPS:CAPS"/>
|
||||
<keyword type="macro" name="glibtop_get_proc_uid_r" link="libgtop-procuid.html#glibtop-get-proc-uid-r"/>
|
||||
<keyword type="function" name="glibtop_get_proc_time ()" link="libgtop-Process-Time.html#glibtop-get-proc-time"/>
|
||||
<keyword type="struct" name="struct glibtop_proc_time" link="libgtop-Process-Time.html#glibtop-proc-time"/>
|
||||
<keyword type="struct" name="struct glibtop_signame" link="libgtop-signal.html#glibtop-signame"/>
|
||||
<keyword type="function" name="glibtop_get_proc_map ()" link="libgtop-procmap.html#glibtop-get-proc-map"/>
|
||||
<keyword type="function" name="glibtop_get_proc_map_l ()" link="libgtop-procmap.html#glibtop-get-proc-map-l"/>
|
||||
<keyword type="function" name="glibtop_get_proc_map_p ()" link="libgtop-procmap.html#glibtop-get-proc-map-p"/>
|
||||
<keyword type="function" name="glibtop_get_proc_map_s ()" link="libgtop-procmap.html#glibtop-get-proc-map-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_MAP_NUMBER" link="libgtop-procmap.html#GLIBTOP-PROC-MAP-NUMBER:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_MAP_TOTAL" link="libgtop-procmap.html#GLIBTOP-PROC-MAP-TOTAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_MAP_SIZE" link="libgtop-procmap.html#GLIBTOP-PROC-MAP-SIZE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_PROC_MAP" link="libgtop-procmap.html#GLIBTOP-MAX-PROC-MAP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_START" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-START:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_END" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-END:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_OFFSET" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-OFFSET:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_PERM" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-PERM:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_INODE" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-INODE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_DEVICE" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-DEVICE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_FILENAME" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-FILENAME:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_SIZE" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-SIZE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_RSS" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-RSS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_SHARED_CLEAN" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-SHARED-CLEAN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_SHARED_DIRTY" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-SHARED-DIRTY:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_PRIVATE_CLEAN" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-PRIVATE-CLEAN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_ENTRY_PRIVATE_DIRTY" link="libgtop-procmap.html#GLIBTOP-MAP-ENTRY-PRIVATE-DIRTY:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_MAP_ENTRY" link="libgtop-procmap.html#GLIBTOP-MAX-MAP-ENTRY:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_FILENAME_LEN" link="libgtop-procmap.html#GLIBTOP-MAP-FILENAME-LEN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_PERM_READ" link="libgtop-procmap.html#GLIBTOP-MAP-PERM-READ:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_PERM_WRITE" link="libgtop-procmap.html#GLIBTOP-MAP-PERM-WRITE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_PERM_EXECUTE" link="libgtop-procmap.html#GLIBTOP-MAP-PERM-EXECUTE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_PERM_SHARED" link="libgtop-procmap.html#GLIBTOP-MAP-PERM-SHARED:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAP_PERM_PRIVATE" link="libgtop-procmap.html#GLIBTOP-MAP-PERM-PRIVATE:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_map_entry" link="libgtop-procmap.html#glibtop-map-entry"/>
|
||||
<keyword type="struct" name="struct glibtop_proc_map" link="libgtop-procmap.html#glibtop-proc-map"/>
|
||||
<keyword type="macro" name="glibtop_get_proc_map_r" link="libgtop-procmap.html#glibtop-get-proc-map-r"/>
|
||||
<keyword type="function" name="glibtop_get_sysinfo_s ()" link="libgtop-sysinfo.html#glibtop-get-sysinfo-s"/>
|
||||
<keyword type="function" name="glibtop_get_sysinfo ()" link="libgtop-sysinfo.html#glibtop-get-sysinfo"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSINFO_NCPU" link="libgtop-sysinfo.html#GLIBTOP-SYSINFO-NCPU:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SYSINFO_CPUINFO" link="libgtop-sysinfo.html#GLIBTOP-SYSINFO-CPUINFO:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_SYSINFO" link="libgtop-sysinfo.html#GLIBTOP-MAX-SYSINFO:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_sysinfo" link="libgtop-sysinfo.html#glibtop-sysinfo"/>
|
||||
<keyword type="struct" name="struct glibtop_entry" link="libgtop-sysinfo.html#glibtop-entry"/>
|
||||
<keyword type="macro" name="glibtop_get_sysinfo_r" link="libgtop-sysinfo.html#glibtop-get-sysinfo-r"/>
|
||||
<keyword type="union" name="union glibtop_union" link="libgtop-union.html#glibtop-union"/>
|
||||
<keyword type="function" name="glibtop_send_version ()" link="libgtop-version.html#glibtop-send-version"/>
|
||||
<keyword type="macro" name="LIBGTOP_VERSION_STRING" link="libgtop-version.html#LIBGTOP-VERSION-STRING:CAPS"/>
|
||||
<keyword type="function" name="glibtop_get_proclist ()" link="libgtop-Process-List.html#glibtop-get-proclist"/>
|
||||
<keyword type="macro" name="GLIBTOP_KERN_PROC_ALL" link="libgtop-Process-List.html#GLIBTOP-KERN-PROC-ALL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_KERN_PROC_PID" link="libgtop-Process-List.html#GLIBTOP-KERN-PROC-PID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_KERN_PROC_PGRP" link="libgtop-Process-List.html#GLIBTOP-KERN-PROC-PGRP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_KERN_PROC_SESSION" link="libgtop-Process-List.html#GLIBTOP-KERN-PROC-SESSION:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_KERN_PROC_TTY" link="libgtop-Process-List.html#GLIBTOP-KERN-PROC-TTY:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_KERN_PROC_UID" link="libgtop-Process-List.html#GLIBTOP-KERN-PROC-UID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_KERN_PROC_RUID" link="libgtop-Process-List.html#GLIBTOP-KERN-PROC-RUID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_KERN_PROC_MASK" link="libgtop-Process-List.html#GLIBTOP-KERN-PROC-MASK:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_EXCLUDE_IDLE" link="libgtop-Process-List.html#GLIBTOP-EXCLUDE-IDLE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_EXCLUDE_SYSTEM" link="libgtop-Process-List.html#GLIBTOP-EXCLUDE-SYSTEM:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_EXCLUDE_NOTTY" link="libgtop-Process-List.html#GLIBTOP-EXCLUDE-NOTTY:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_proclist" link="libgtop-Process-List.html#glibtop-proclist"/>
|
||||
<keyword type="function" name="glibtop_get_sem_limits ()" link="libgtop-sem-limits.html#glibtop-get-sem-limits"/>
|
||||
<keyword type="function" name="glibtop_get_sem_limits_l ()" link="libgtop-sem-limits.html#glibtop-get-sem-limits-l"/>
|
||||
<keyword type="function" name="glibtop_get_sem_limits_p ()" link="libgtop-sem-limits.html#glibtop-get-sem-limits-p"/>
|
||||
<keyword type="function" name="glibtop_get_sem_limits_s ()" link="libgtop-sem-limits.html#glibtop-get-sem-limits-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SEMMAP" link="libgtop-sem-limits.html#GLIBTOP-IPC-SEMMAP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SEMMNI" link="libgtop-sem-limits.html#GLIBTOP-IPC-SEMMNI:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SEMMNS" link="libgtop-sem-limits.html#GLIBTOP-IPC-SEMMNS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SEMMNU" link="libgtop-sem-limits.html#GLIBTOP-IPC-SEMMNU:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SEMMSL" link="libgtop-sem-limits.html#GLIBTOP-IPC-SEMMSL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SEMOPM" link="libgtop-sem-limits.html#GLIBTOP-IPC-SEMOPM:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SEMUME" link="libgtop-sem-limits.html#GLIBTOP-IPC-SEMUME:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SEMUSZ" link="libgtop-sem-limits.html#GLIBTOP-IPC-SEMUSZ:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SEMVMX" link="libgtop-sem-limits.html#GLIBTOP-IPC-SEMVMX:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_SEMAEM" link="libgtop-sem-limits.html#GLIBTOP-IPC-SEMAEM:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_SEM_LIMITS" link="libgtop-sem-limits.html#GLIBTOP-MAX-SEM-LIMITS:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_sem_limits" link="libgtop-sem-limits.html#glibtop-sem-limits"/>
|
||||
<keyword type="macro" name="glibtop_get_sem_limits_r" link="libgtop-sem-limits.html#glibtop-get-sem-limits-r"/>
|
||||
<keyword type="function" name="glibtop_get_proc_kernel ()" link="libgtop-prockernel.html#glibtop-get-proc-kernel"/>
|
||||
<keyword type="function" name="glibtop_get_proc_kernel_l ()" link="libgtop-prockernel.html#glibtop-get-proc-kernel-l"/>
|
||||
<keyword type="function" name="glibtop_get_proc_kernel_p ()" link="libgtop-prockernel.html#glibtop-get-proc-kernel-p"/>
|
||||
<keyword type="function" name="glibtop_get_proc_kernel_s ()" link="libgtop-prockernel.html#glibtop-get-proc-kernel-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_KERNEL_K_FLAGS" link="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-K-FLAGS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_KERNEL_MIN_FLT" link="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-MIN-FLT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_KERNEL_MAJ_FLT" link="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-MAJ-FLT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_KERNEL_CMIN_FLT" link="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-CMIN-FLT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_KERNEL_CMAJ_FLT" link="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-CMAJ-FLT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_KERNEL_KSTK_ESP" link="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-KSTK-ESP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_KERNEL_KSTK_EIP" link="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-KSTK-EIP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_KERNEL_NWCHAN" link="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-NWCHAN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_PROC_KERNEL_WCHAN" link="libgtop-prockernel.html#GLIBTOP-PROC-KERNEL-WCHAN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_PROC_KERNEL" link="libgtop-prockernel.html#GLIBTOP-MAX-PROC-KERNEL:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_proc_kernel" link="libgtop-prockernel.html#glibtop-proc-kernel"/>
|
||||
<keyword type="macro" name="glibtop_get_proc_kernel_r" link="libgtop-prockernel.html#glibtop-get-proc-kernel-r"/>
|
||||
<keyword type="function" name="glibtop_get_fsusage ()" link="libgtop-fsusage.html#glibtop-get-fsusage"/>
|
||||
<keyword type="function" name="glibtop_get_fsusage_l ()" link="libgtop-fsusage.html#glibtop-get-fsusage-l"/>
|
||||
<keyword type="function" name="glibtop_get_fsusage_s ()" link="libgtop-fsusage.html#glibtop-get-fsusage-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_FSUSAGE_BLOCKS" link="libgtop-fsusage.html#GLIBTOP-FSUSAGE-BLOCKS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FSUSAGE_BFREE" link="libgtop-fsusage.html#GLIBTOP-FSUSAGE-BFREE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FSUSAGE_BAVAIL" link="libgtop-fsusage.html#GLIBTOP-FSUSAGE-BAVAIL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FSUSAGE_FILES" link="libgtop-fsusage.html#GLIBTOP-FSUSAGE-FILES:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FSUSAGE_FFREE" link="libgtop-fsusage.html#GLIBTOP-FSUSAGE-FFREE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FSUSAGE_BLOCK_SIZE" link="libgtop-fsusage.html#GLIBTOP-FSUSAGE-BLOCK-SIZE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FSUSAGE_READ" link="libgtop-fsusage.html#GLIBTOP-FSUSAGE-READ:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_FSUSAGE_WRITE" link="libgtop-fsusage.html#GLIBTOP-FSUSAGE-WRITE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_FSUSAGE" link="libgtop-fsusage.html#GLIBTOP-MAX-FSUSAGE:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_fsusage" link="libgtop-fsusage.html#glibtop-fsusage"/>
|
||||
<keyword type="macro" name="glibtop_get_fsusage_r" link="libgtop-fsusage.html#glibtop-get-fsusage-r"/>
|
||||
<keyword type="function" name="glibtop_get_loadavg ()" link="libgtop-loadavg.html#glibtop-get-loadavg"/>
|
||||
<keyword type="function" name="glibtop_get_loadavg_l ()" link="libgtop-loadavg.html#glibtop-get-loadavg-l"/>
|
||||
<keyword type="function" name="glibtop_get_loadavg_p ()" link="libgtop-loadavg.html#glibtop-get-loadavg-p"/>
|
||||
<keyword type="function" name="glibtop_get_loadavg_s ()" link="libgtop-loadavg.html#glibtop-get-loadavg-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_LOADAVG_LOADAVG" link="libgtop-loadavg.html#GLIBTOP-LOADAVG-LOADAVG:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_LOADAVG_NR_RUNNING" link="libgtop-loadavg.html#GLIBTOP-LOADAVG-NR-RUNNING:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_LOADAVG_NR_TASKS" link="libgtop-loadavg.html#GLIBTOP-LOADAVG-NR-TASKS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_LOADAVG_LAST_PID" link="libgtop-loadavg.html#GLIBTOP-LOADAVG-LAST-PID:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_LOADAVG" link="libgtop-loadavg.html#GLIBTOP-MAX-LOADAVG:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_loadavg" link="libgtop-loadavg.html#glibtop-loadavg"/>
|
||||
<keyword type="macro" name="glibtop_get_loadavg_r" link="libgtop-loadavg.html#glibtop-get-loadavg-r"/>
|
||||
<keyword type="function" name="glibtop_get_mem ()" link="libgtop-mem.html#glibtop-get-mem"/>
|
||||
<keyword type="function" name="glibtop_get_mem_l ()" link="libgtop-mem.html#glibtop-get-mem-l"/>
|
||||
<keyword type="function" name="glibtop_get_mem_p ()" link="libgtop-mem.html#glibtop-get-mem-p"/>
|
||||
<keyword type="function" name="glibtop_get_mem_s ()" link="libgtop-mem.html#glibtop-get-mem-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_MEM_TOTAL" link="libgtop-mem.html#GLIBTOP-MEM-TOTAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MEM_USED" link="libgtop-mem.html#GLIBTOP-MEM-USED:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MEM_FREE" link="libgtop-mem.html#GLIBTOP-MEM-FREE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MEM_SHARED" link="libgtop-mem.html#GLIBTOP-MEM-SHARED:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MEM_BUFFER" link="libgtop-mem.html#GLIBTOP-MEM-BUFFER:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MEM_CACHED" link="libgtop-mem.html#GLIBTOP-MEM-CACHED:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MEM_USER" link="libgtop-mem.html#GLIBTOP-MEM-USER:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MEM_LOCKED" link="libgtop-mem.html#GLIBTOP-MEM-LOCKED:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_MEM" link="libgtop-mem.html#GLIBTOP-MAX-MEM:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_mem" link="libgtop-mem.html#glibtop-mem"/>
|
||||
<keyword type="macro" name="glibtop_get_mem_r" link="libgtop-mem.html#glibtop-get-mem-r"/>
|
||||
<keyword type="function" name="glibtop_get_mountlist ()" link="libgtop-mountlist.html#glibtop-get-mountlist"/>
|
||||
<keyword type="function" name="glibtop_get_mountlist_l ()" link="libgtop-mountlist.html#glibtop-get-mountlist-l"/>
|
||||
<keyword type="function" name="glibtop_get_mountlist_s ()" link="libgtop-mountlist.html#glibtop-get-mountlist-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_MOUNTLIST_NUMBER" link="libgtop-mountlist.html#GLIBTOP-MOUNTLIST-NUMBER:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MOUNTLIST_TOTAL" link="libgtop-mountlist.html#GLIBTOP-MOUNTLIST-TOTAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MOUNTLIST_SIZE" link="libgtop-mountlist.html#GLIBTOP-MOUNTLIST-SIZE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_MOUNTLIST" link="libgtop-mountlist.html#GLIBTOP-MAX-MOUNTLIST:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_mountentry" link="libgtop-mountlist.html#glibtop-mountentry"/>
|
||||
<keyword type="struct" name="struct glibtop_mountlist" link="libgtop-mountlist.html#glibtop-mountlist"/>
|
||||
<keyword type="macro" name="glibtop_get_mountlist_r" link="libgtop-mountlist.html#glibtop-get-mountlist-r"/>
|
||||
<keyword type="function" name="glibtop_get_msg_limits ()" link="libgtop-msg-limits.html#glibtop-get-msg-limits"/>
|
||||
<keyword type="function" name="glibtop_get_msg_limits_l ()" link="libgtop-msg-limits.html#glibtop-get-msg-limits-l"/>
|
||||
<keyword type="function" name="glibtop_get_msg_limits_p ()" link="libgtop-msg-limits.html#glibtop-get-msg-limits-p"/>
|
||||
<keyword type="function" name="glibtop_get_msg_limits_s ()" link="libgtop-msg-limits.html#glibtop-get-msg-limits-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_MSGPOOL" link="libgtop-msg-limits.html#GLIBTOP-IPC-MSGPOOL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_MSGMAP" link="libgtop-msg-limits.html#GLIBTOP-IPC-MSGMAP:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_MSGMAX" link="libgtop-msg-limits.html#GLIBTOP-IPC-MSGMAX:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_MSGMNB" link="libgtop-msg-limits.html#GLIBTOP-IPC-MSGMNB:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_MSGMNI" link="libgtop-msg-limits.html#GLIBTOP-IPC-MSGMNI:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_MSGSSZ" link="libgtop-msg-limits.html#GLIBTOP-IPC-MSGSSZ:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_IPC_MSGTQL" link="libgtop-msg-limits.html#GLIBTOP-IPC-MSGTQL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_MSG_LIMITS" link="libgtop-msg-limits.html#GLIBTOP-MAX-MSG-LIMITS:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_msg_limits" link="libgtop-msg-limits.html#glibtop-msg-limits"/>
|
||||
<keyword type="macro" name="glibtop_get_msg_limits_r" link="libgtop-msg-limits.html#glibtop-get-msg-limits-r"/>
|
||||
<keyword type="function" name="glibtop_get_cpu ()" link="libgtop-cpu.html#glibtop-get-cpu"/>
|
||||
<keyword type="function" name="glibtop_get_cpu_l ()" link="libgtop-cpu.html#glibtop-get-cpu-l"/>
|
||||
<keyword type="function" name="glibtop_get_cpu_p ()" link="libgtop-cpu.html#glibtop-get-cpu-p"/>
|
||||
<keyword type="function" name="glibtop_get_cpu_s ()" link="libgtop-cpu.html#glibtop-get-cpu-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_CPU_TOTAL" link="libgtop-cpu.html#GLIBTOP-CPU-TOTAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CPU_USER" link="libgtop-cpu.html#GLIBTOP-CPU-USER:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CPU_NICE" link="libgtop-cpu.html#GLIBTOP-CPU-NICE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CPU_SYS" link="libgtop-cpu.html#GLIBTOP-CPU-SYS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CPU_IDLE" link="libgtop-cpu.html#GLIBTOP-CPU-IDLE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CPU_FREQUENCY" link="libgtop-cpu.html#GLIBTOP-CPU-FREQUENCY:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_XCPU_TOTAL" link="libgtop-cpu.html#GLIBTOP-XCPU-TOTAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_XCPU_USER" link="libgtop-cpu.html#GLIBTOP-XCPU-USER:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_XCPU_NICE" link="libgtop-cpu.html#GLIBTOP-XCPU-NICE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_XCPU_SYS" link="libgtop-cpu.html#GLIBTOP-XCPU-SYS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_XCPU_IDLE" link="libgtop-cpu.html#GLIBTOP-XCPU-IDLE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_XCPU_FLAGS" link="libgtop-cpu.html#GLIBTOP-XCPU-FLAGS:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CPU_IOWAIT" link="libgtop-cpu.html#GLIBTOP-CPU-IOWAIT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CPU_IRQ" link="libgtop-cpu.html#GLIBTOP-CPU-IRQ:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_CPU_SOFTIRQ" link="libgtop-cpu.html#GLIBTOP-CPU-SOFTIRQ:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_XCPU_IOWAIT" link="libgtop-cpu.html#GLIBTOP-XCPU-IOWAIT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_XCPU_IRQ" link="libgtop-cpu.html#GLIBTOP-XCPU-IRQ:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_XCPU_SOFTIRQ" link="libgtop-cpu.html#GLIBTOP-XCPU-SOFTIRQ:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_CPU" link="libgtop-cpu.html#GLIBTOP-MAX-CPU:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_NCPU" link="libgtop-cpu.html#GLIBTOP-NCPU:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_cpu" link="libgtop-cpu.html#glibtop-cpu"/>
|
||||
<keyword type="macro" name="glibtop_get_cpu_r" link="libgtop-cpu.html#glibtop-get-cpu-r"/>
|
||||
<keyword type="function" name="glibtop_get_swap ()" link="libgtop-swap.html#glibtop-get-swap"/>
|
||||
<keyword type="function" name="glibtop_get_swap_l ()" link="libgtop-swap.html#glibtop-get-swap-l"/>
|
||||
<keyword type="function" name="glibtop_get_swap_p ()" link="libgtop-swap.html#glibtop-get-swap-p"/>
|
||||
<keyword type="function" name="glibtop_get_swap_s ()" link="libgtop-swap.html#glibtop-get-swap-s"/>
|
||||
<keyword type="macro" name="GLIBTOP_SWAP_TOTAL" link="libgtop-swap.html#GLIBTOP-SWAP-TOTAL:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SWAP_USED" link="libgtop-swap.html#GLIBTOP-SWAP-USED:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SWAP_FREE" link="libgtop-swap.html#GLIBTOP-SWAP-FREE:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SWAP_PAGEIN" link="libgtop-swap.html#GLIBTOP-SWAP-PAGEIN:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_SWAP_PAGEOUT" link="libgtop-swap.html#GLIBTOP-SWAP-PAGEOUT:CAPS"/>
|
||||
<keyword type="macro" name="GLIBTOP_MAX_SWAP" link="libgtop-swap.html#GLIBTOP-MAX-SWAP:CAPS"/>
|
||||
<keyword type="struct" name="struct glibtop_swap" link="libgtop-swap.html#glibtop-swap"/>
|
||||
<keyword type="macro" name="glibtop_get_swap_r" link="libgtop-swap.html#glibtop-get-swap-r"/>
|
||||
<keyword type="member" name="glibtop-netlist.flags" link="libgtop-Net-List.html#glibtop-netlist.flags"/>
|
||||
<keyword type="member" name="glibtop-netlist.number" link="libgtop-Net-List.html#glibtop-netlist.number"/>
|
||||
<keyword type="member" name="glibtop-proc-time.start-time" link="libgtop-Process-Time.html#glibtop-proc-time.start-time"/>
|
||||
<keyword type="member" name="glibtop-proc-time.rtime" link="libgtop-Process-Time.html#glibtop-proc-time.rtime"/>
|
||||
<keyword type="member" name="glibtop-proc-time.utime" link="libgtop-Process-Time.html#glibtop-proc-time.utime"/>
|
||||
<keyword type="member" name="glibtop-proc-time.stime" link="libgtop-Process-Time.html#glibtop-proc-time.stime"/>
|
||||
<keyword type="member" name="glibtop-proc-time.cutime" link="libgtop-Process-Time.html#glibtop-proc-time.cutime"/>
|
||||
<keyword type="member" name="glibtop-proc-time.cstime" link="libgtop-Process-Time.html#glibtop-proc-time.cstime"/>
|
||||
<keyword type="member" name="glibtop-proc-time.timeout" link="libgtop-Process-Time.html#glibtop-proc-time.timeout"/>
|
||||
<keyword type="member" name="glibtop-proc-time.it-real-value" link="libgtop-Process-Time.html#glibtop-proc-time.it-real-value"/>
|
||||
<keyword type="member" name="glibtop-proc-time.frequency" link="libgtop-Process-Time.html#glibtop-proc-time.frequency"/>
|
||||
<keyword type="member" name="glibtop-proc-time.xcpu-utime" link="libgtop-Process-Time.html#glibtop-proc-time.xcpu-utime"/>
|
||||
<keyword type="member" name="glibtop-proc-time.xcpu-stime" link="libgtop-Process-Time.html#glibtop-proc-time.xcpu-stime"/>
|
||||
<keyword type="member" name="glibtop-sysinfo.flags" link="libgtop-sysinfo.html#glibtop-sysinfo.flags"/>
|
||||
<keyword type="member" name="glibtop-sysinfo.ncpu" link="libgtop-sysinfo.html#glibtop-sysinfo.ncpu"/>
|
||||
<keyword type="member" name="glibtop-sysinfo.cpuinfo" link="libgtop-sysinfo.html#glibtop-sysinfo.cpuinfo"/>
|
||||
<keyword type="member" name="glibtop-proclist.flags" link="libgtop-Process-List.html#glibtop-proclist.flags"/>
|
||||
<keyword type="member" name="glibtop-proclist.number" link="libgtop-Process-List.html#glibtop-proclist.number"/>
|
||||
<keyword type="member" name="glibtop-proclist.total" link="libgtop-Process-List.html#glibtop-proclist.total"/>
|
||||
<keyword type="member" name="glibtop-proclist.size" link="libgtop-Process-List.html#glibtop-proclist.size"/>
|
||||
</functions>
|
||||
</book>
|
||||
BIN
doc/reference/html/right-insensitive.png
Normal file
|
After Width: | Height: | Size: 373 B |
BIN
doc/reference/html/right.png
Normal file
|
After Width: | Height: | Size: 261 B |
479
doc/reference/html/style.css
Normal file
@@ -0,0 +1,479 @@
|
||||
body
|
||||
{
|
||||
font-family: cantarell, sans-serif;
|
||||
}
|
||||
.synopsis, .classsynopsis
|
||||
{
|
||||
/* tango:aluminium 1/2 */
|
||||
background: #eeeeec;
|
||||
background: rgba(238, 238, 236, 0.5);
|
||||
border: solid 1px rgb(238, 238, 236);
|
||||
padding: 0.5em;
|
||||
}
|
||||
.programlisting
|
||||
{
|
||||
/* tango:sky blue 0/1 */
|
||||
/* fallback for no rgba support */
|
||||
background: #e6f3ff;
|
||||
border: solid 1px #729fcf;
|
||||
background: rgba(114, 159, 207, 0.1);
|
||||
border: solid 1px rgba(114, 159, 207, 0.2);
|
||||
padding: 0.5em;
|
||||
}
|
||||
.variablelist
|
||||
{
|
||||
padding: 4px;
|
||||
margin-left: 3em;
|
||||
}
|
||||
.variablelist td:first-child
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
div.gallery-float
|
||||
{
|
||||
float: left;
|
||||
padding: 10px;
|
||||
}
|
||||
div.gallery-float img
|
||||
{
|
||||
border-style: none;
|
||||
}
|
||||
div.gallery-spacer
|
||||
{
|
||||
clear: both;
|
||||
}
|
||||
|
||||
a, a:visited
|
||||
{
|
||||
text-decoration: none;
|
||||
/* tango:sky blue 2 */
|
||||
color: #3465a4;
|
||||
}
|
||||
a:hover
|
||||
{
|
||||
text-decoration: underline;
|
||||
/* tango:sky blue 1 */
|
||||
color: #729fcf;
|
||||
}
|
||||
|
||||
div.informaltable table
|
||||
{
|
||||
border-collapse: separate;
|
||||
border-spacing: 1em 0.3em;
|
||||
border: none;
|
||||
}
|
||||
|
||||
div.informaltable table td, div.informaltable table th
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.function_type,
|
||||
.variable_type,
|
||||
.property_type,
|
||||
.signal_type,
|
||||
.parameter_name,
|
||||
.struct_member_name,
|
||||
.union_member_name,
|
||||
.define_keyword,
|
||||
.datatype_keyword,
|
||||
.typedef_keyword
|
||||
{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* dim non-primary columns */
|
||||
.c_punctuation,
|
||||
.function_type,
|
||||
.variable_type,
|
||||
.property_type,
|
||||
.signal_type,
|
||||
.define_keyword,
|
||||
.datatype_keyword,
|
||||
.typedef_keyword,
|
||||
.property_flags,
|
||||
.signal_flags,
|
||||
.parameter_annotations,
|
||||
.enum_member_annotations,
|
||||
.struct_member_annotations,
|
||||
.union_member_annotations
|
||||
{
|
||||
color: #888a85;
|
||||
}
|
||||
|
||||
.function_type a,
|
||||
.function_type a:visited,
|
||||
.function_type a:hover,
|
||||
.property_type a,
|
||||
.property_type a:visited,
|
||||
.property_type a:hover,
|
||||
.signal_type a,
|
||||
.signal_type a:visited,
|
||||
.signal_type a:hover,
|
||||
.signal_flags a,
|
||||
.signal_flags a:visited,
|
||||
.signal_flags a:hover
|
||||
{
|
||||
color: #729fcf;
|
||||
}
|
||||
|
||||
td p
|
||||
{
|
||||
margin: 0.25em;
|
||||
}
|
||||
|
||||
div.table table
|
||||
{
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0px;
|
||||
/* tango:aluminium 3 */
|
||||
border: solid 1px #babdb6;
|
||||
}
|
||||
|
||||
div.table table td, div.table table th
|
||||
{
|
||||
/* tango:aluminium 3 */
|
||||
border: solid 1px #babdb6;
|
||||
padding: 3px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
div.table table th
|
||||
{
|
||||
/* tango:aluminium 2 */
|
||||
background-color: #d3d7cf;
|
||||
}
|
||||
|
||||
h4
|
||||
{
|
||||
color: #555753;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
hr
|
||||
{
|
||||
/* tango:aluminium 1 */
|
||||
color: #d3d7cf;
|
||||
background: #d3d7cf;
|
||||
border: none 0px;
|
||||
height: 1px;
|
||||
clear: both;
|
||||
margin: 2.0em 0em 2.0em 0em;
|
||||
}
|
||||
|
||||
dl.toc dt
|
||||
{
|
||||
padding-bottom: 0.25em;
|
||||
}
|
||||
|
||||
dl.toc > dt
|
||||
{
|
||||
padding-top: 0.25em;
|
||||
padding-bottom: 0.25em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dl.toc > dl
|
||||
{
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.parameter
|
||||
{
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.footer
|
||||
{
|
||||
padding-top: 3.5em;
|
||||
/* tango:aluminium 3 */
|
||||
color: #babdb6;
|
||||
text-align: center;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
.informalfigure,
|
||||
.figure
|
||||
{
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
.informalexample,
|
||||
.example
|
||||
{
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.warning
|
||||
{
|
||||
/* tango:orange 0/1 */
|
||||
background: #ffeed9;
|
||||
background: rgba(252, 175, 62, 0.1);
|
||||
border-color: #ffb04f;
|
||||
border-color: rgba(252, 175, 62, 0.2);
|
||||
}
|
||||
.note
|
||||
{
|
||||
/* tango:chameleon 0/0.5 */
|
||||
background: #d8ffb2;
|
||||
background: rgba(138, 226, 52, 0.1);
|
||||
border-color: #abf562;
|
||||
border-color: rgba(138, 226, 52, 0.2);
|
||||
}
|
||||
div.blockquote
|
||||
{
|
||||
border-color: #eeeeec;
|
||||
}
|
||||
.note, .warning, div.blockquote
|
||||
{
|
||||
padding: 0.5em;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
margin: 2em;
|
||||
}
|
||||
.note p, .warning p
|
||||
{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div.warning h3.title,
|
||||
div.note h3.title
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
p + div.section
|
||||
{
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
div.refnamediv,
|
||||
div.refsynopsisdiv,
|
||||
div.refsect1,
|
||||
div.refsect2,
|
||||
div.toc,
|
||||
div.section
|
||||
{
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
/* blob links */
|
||||
h2 .extralinks, h3 .extralinks
|
||||
{
|
||||
float: right;
|
||||
/* tango:aluminium 3 */
|
||||
color: #babdb6;
|
||||
font-size: 80%;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.lineart
|
||||
{
|
||||
color: #d3d7cf;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.annotation
|
||||
{
|
||||
/* tango:aluminium 5 */
|
||||
color: #555753;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.structfield
|
||||
{
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
acronym,abbr
|
||||
{
|
||||
border-bottom: 1px dotted gray;
|
||||
}
|
||||
|
||||
/* code listings */
|
||||
|
||||
.listing_code .programlisting .normal,
|
||||
.listing_code .programlisting .normal a,
|
||||
.listing_code .programlisting .number,
|
||||
.listing_code .programlisting .cbracket,
|
||||
.listing_code .programlisting .symbol { color: #555753; }
|
||||
.listing_code .programlisting .comment,
|
||||
.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */
|
||||
.listing_code .programlisting .function,
|
||||
.listing_code .programlisting .function a,
|
||||
.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */
|
||||
.listing_code .programlisting .string { color: #ad7fa8; } /* tango: plum */
|
||||
.listing_code .programlisting .keyword,
|
||||
.listing_code .programlisting .usertype,
|
||||
.listing_code .programlisting .type,
|
||||
.listing_code .programlisting .type a { color: #4e9a06; } /* tango: chameleon 3 */
|
||||
|
||||
.listing_frame {
|
||||
/* tango:sky blue 1 */
|
||||
border: solid 1px #729fcf;
|
||||
border: solid 1px rgba(114, 159, 207, 0.2);
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.listing_lines, .listing_code {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
padding: 0.5em;
|
||||
}
|
||||
.listing_lines {
|
||||
/* tango:sky blue 0.5 */
|
||||
background: #a6c5e3;
|
||||
background: rgba(114, 159, 207, 0.2);
|
||||
/* tango:aluminium 6 */
|
||||
color: #2e3436;
|
||||
}
|
||||
.listing_code {
|
||||
/* tango:sky blue 0 */
|
||||
background: #e6f3ff;
|
||||
background: rgba(114, 159, 207, 0.1);
|
||||
}
|
||||
.listing_code .programlisting {
|
||||
/* override from previous */
|
||||
border: none 0px;
|
||||
padding: 0px;
|
||||
background: none;
|
||||
}
|
||||
.listing_lines pre, .listing_code pre {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
@media screen {
|
||||
/* these have a <sup> as a first child, but since there are no parent selectors
|
||||
* we can't use that. */
|
||||
a.footnote
|
||||
{
|
||||
position: relative;
|
||||
top: 0em ! important;
|
||||
}
|
||||
/* this is needed so that the local anchors are displayed below the naviagtion */
|
||||
div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name]
|
||||
{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
top:-5em;
|
||||
}
|
||||
/* this seems to be a bug in the xsl style sheets when generating indexes */
|
||||
div.index div.index
|
||||
{
|
||||
top: 0em;
|
||||
}
|
||||
/* make space for the fixed navigation bar and add space at the bottom so that
|
||||
* link targets appear somewhat close to top
|
||||
*/
|
||||
body
|
||||
{
|
||||
padding-top: 2.5em;
|
||||
padding-bottom: 500px;
|
||||
max-width: 60em;
|
||||
}
|
||||
p
|
||||
{
|
||||
max-width: 60em;
|
||||
}
|
||||
/* style and size the navigation bar */
|
||||
table.navigation#top
|
||||
{
|
||||
position: fixed;
|
||||
background: #e2e2e2;
|
||||
border-bottom: solid 1px #babdb6;
|
||||
border-spacing: 5px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
table.navigation#top td
|
||||
{
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
}
|
||||
.navigation a, .navigation a:visited
|
||||
{
|
||||
/* tango:sky blue 3 */
|
||||
color: #204a87;
|
||||
}
|
||||
.navigation a:hover
|
||||
{
|
||||
/* tango:sky blue 2 */
|
||||
color: #3465a4;
|
||||
}
|
||||
td.shortcuts
|
||||
{
|
||||
/* tango:sky blue 2 */
|
||||
color: #3465a4;
|
||||
font-size: 80%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
td.shortcuts .dim
|
||||
{
|
||||
color: #babdb6;
|
||||
}
|
||||
.navigation .title
|
||||
{
|
||||
font-size: 80%;
|
||||
max-width: none;
|
||||
margin: 0px;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 60em) {
|
||||
/* screen larger than 60em */
|
||||
body { margin: auto; }
|
||||
}
|
||||
@media screen and (max-width: 60em) {
|
||||
/* screen less than 60em */
|
||||
#nav_hierarchy { display: none; }
|
||||
#nav_interfaces { display: none; }
|
||||
#nav_prerequisites { display: none; }
|
||||
#nav_derived_interfaces { display: none; }
|
||||
#nav_implementations { display: none; }
|
||||
#nav_child_properties { display: none; }
|
||||
#nav_style_properties { display: none; }
|
||||
#nav_index { display: none; }
|
||||
#nav_glossary { display: none; }
|
||||
.gallery_image { display: none; }
|
||||
.property_flags { display: none; }
|
||||
.signal_flags { display: none; }
|
||||
.parameter_annotations { display: none; }
|
||||
.enum_member_annotations { display: none; }
|
||||
.struct_member_annotations { display: none; }
|
||||
.union_member_annotations { display: none; }
|
||||
/* now that a column is hidden, optimize space */
|
||||
col.parameters_name { width: auto; }
|
||||
col.parameters_description { width: auto; }
|
||||
col.struct_members_name { width: auto; }
|
||||
col.struct_members_description { width: auto; }
|
||||
col.enum_members_name { width: auto; }
|
||||
col.enum_members_description { width: auto; }
|
||||
col.union_members_name { width: auto; }
|
||||
col.union_members_description { width: auto; }
|
||||
.listing_lines { display: none; }
|
||||
}
|
||||
@media print {
|
||||
table.navigation {
|
||||
visibility: collapse;
|
||||
display: none;
|
||||
}
|
||||
div.titlepage table.navigation {
|
||||
visibility: visible;
|
||||
display: table;
|
||||
background: #e2e2e2;
|
||||
border: solid 1px #babdb6;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 3em;
|
||||
}
|
||||
}
|
||||
|
||||
BIN
doc/reference/html/up-insensitive.png
Normal file
|
After Width: | Height: | Size: 374 B |
BIN
doc/reference/html/up.png
Normal file
|
After Width: | Height: | Size: 260 B |
206
doc/reference/libgtop-docs.xml
Normal file
@@ -0,0 +1,206 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
|
||||
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
|
||||
<bookinfo>
|
||||
<title>Libgtop Reference Manual</title>
|
||||
<releaseinfo>for libgtop <xi:include href="version.xml"/></releaseinfo>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<firstname>Martin </firstname>
|
||||
<surname>Baulig</surname>
|
||||
<affiliation>
|
||||
<address>
|
||||
<email>martin@home-of-linux.org</email>
|
||||
</address>
|
||||
</affiliation>
|
||||
</author>
|
||||
<author>
|
||||
<firstname>Germán</firstname>
|
||||
<surname>Poó-Caamaño</surname>
|
||||
<affiliation>
|
||||
<address>
|
||||
<email>gpoo@ubiobio.cl</email>
|
||||
</address>
|
||||
</affiliation>
|
||||
</author>
|
||||
</authorgroup>
|
||||
|
||||
<legalnotice>
|
||||
<para>Permission is granted to copy, distribute and/or modify
|
||||
this document under the terms of the <citetitle>GNU Free
|
||||
Documentation License</citetitle>, Version 1.1 or any later
|
||||
version published by the Free Software Foundation with no
|
||||
Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
||||
Texts. You may obtain a copy of the <citetitle>GNU Free
|
||||
Documentation License</citetitle> from the Free Software
|
||||
Foundation by visiting <ulink type="http"
|
||||
url="http://www.fsf.org">their Web site</ulink> or by writing
|
||||
to: Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110-1301, USA.</para>
|
||||
|
||||
<para>Many of the names used by companies to distinguish their
|
||||
products and services are claimed as trademarks. Where those
|
||||
names appear in any GNOME documentation, and those trademarks
|
||||
are made aware to the members of the GNOME Documentation
|
||||
Project, the names have been printed in caps or initial
|
||||
caps.</para>
|
||||
</legalnotice>
|
||||
|
||||
<abstract>
|
||||
<para>
|
||||
LibGTop is a library to get system specific data such as CPU and
|
||||
Memory Usage and information about running Processes.</para>
|
||||
|
||||
<para>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.</para>
|
||||
|
||||
<para>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.</para>
|
||||
|
||||
<para>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.</para>
|
||||
</abstract>
|
||||
</bookinfo>
|
||||
|
||||
<!--FIXME: It is missing the rest of about.texi -->
|
||||
|
||||
<chapter id="libgtop-white-paper">
|
||||
<title>White paper</title>
|
||||
|
||||
<sect1 id="libgtop-white-paper-introduction">
|
||||
<title>Introduction</title>
|
||||
<para>Many modern UNIX systems like Solaris, BSD or Digitial Unix
|
||||
only allow priviledged processes to read information like CPU and
|
||||
Memory Usage or information about running processes.</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><para>
|
||||
BSD, for instance, doesn't have any other way to get those data than reading
|
||||
directly from @file{/dev/kmem} and you need to be in the @code{kmem} group to
|
||||
be able to read this.</para></listitem>
|
||||
|
||||
<listitem><para>
|
||||
Other systems, like Digital Unix, allow all users to get things like CPU and
|
||||
Memory statistics, but only root may read information about any process other
|
||||
than the current one (you may not even get information about your own processes
|
||||
if you're not root).</para></listitem>
|
||||
|
||||
<listitem><para>
|
||||
Linux has a very nice @file{/proc} filesystem, but reading and parsing
|
||||
@file{/proc} is very slow and inefficient.</para></listitem>
|
||||
|
||||
<listitem><para>
|
||||
Solaris is a bit better, but you still need to be in the @code{sys} group or
|
||||
even root to get some data.</para></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>
|
||||
Because of this system utilities like @code{ps}, @code{uptime} or @code{top}
|
||||
often are setgid kmem or setuid root. Usually, they're also very specific to
|
||||
the system they're written for and not easily portable to other systems without
|
||||
a lot of work.</para>
|
||||
|
||||
<para>
|
||||
This, of cause, becomes a problem for graphical tools like @code{gtop} - making
|
||||
a GTK+ program setgid or even setuid would be a security hole as big as you can
|
||||
drive the entire X11 source code through. For the GNOME project, we also needed
|
||||
some kind of library which provides all the required information in a portable
|
||||
since there's more than just one single program that wants to use them - for
|
||||
instance @code{gtop} and the @code{multiload}, @code{cpumemusage} and
|
||||
@code{netload} panel applets.</para>
|
||||
|
||||
</sect1>
|
||||
|
||||
<sect1 id="libgtop-white-paper-overview">
|
||||
<title>Overview</title>
|
||||
<para>This section should give you a short overview on how LibGTop
|
||||
was developed, which things needed to be considered and how it
|
||||
works.</para>
|
||||
|
||||
<sect2 id="libgtop-white-paper-overview-design">
|
||||
<title>Interface Design: Things that need to be considered</title>
|
||||
<para>
|
||||
At the very beginning, it was necessary to collect all the data the library part
|
||||
should provide and put them into some C structures. This was not that easiy as it
|
||||
might sound since LibGTop should be portable to any modern UNIX system with a common
|
||||
library part on all those systems, but the data that should be returned vary from
|
||||
system to system. For instance some systems support shared memory, but some others
|
||||
may not.</para>
|
||||
|
||||
<para>
|
||||
The header files where we define these C structures (which are system-independent) are
|
||||
shared between client and server. This way we can call the system dependent code
|
||||
directly where we do not need any special privileges to do so.</para>
|
||||
|
||||
<para>
|
||||
All of those structures contain a @code{flags} member which is interpreted as a bit
|
||||
mask and tells the caller of the library functions which of the fields in the returned
|
||||
structure are valid and which are not.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="libgtop-white-paper-overview-server">
|
||||
<title>Server Implementation: The LibGTop "server"</title>
|
||||
<para>
|
||||
The LibGTop @dfn{server} is a setgid/setuid binary which contains all the system
|
||||
dependent code which needs special privileges. It is only build if it's required
|
||||
on the current system (for instance, the Linux kernel provides all the required
|
||||
data via its @file{/proc} filesystem so we do not need the server at all) and it
|
||||
only contains the @dfn{features} which need privileges.</para>
|
||||
|
||||
<para>
|
||||
Whenever we do not need any privileges to get all the data for some of the requested
|
||||
structures (here called @dfn{features}) the library calls the sysdeps code directly
|
||||
rather than using the server.</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
</chapter>
|
||||
|
||||
<chapter id="libgtop-lib">
|
||||
<title>Libgtop Library Reference</title>
|
||||
|
||||
<para>This section contains the API reference for libgtop. All
|
||||
the public interfaces are documented here.</para>
|
||||
|
||||
<xi:include href="xml/glibtop.xml"/>
|
||||
<xi:include href="xml/close.xml"/>
|
||||
<xi:include href="xml/command.xml"/>
|
||||
<xi:include href="xml/glibtop-server.xml"/>
|
||||
<xi:include href="xml/netload.xml"/>
|
||||
<xi:include href="xml/ppp.xml"/>
|
||||
<xi:include href="xml/shm_limits.xml"/>
|
||||
<xi:include href="xml/uptime.xml"/>
|
||||
<xi:include href="xml/netlist.xml"/>
|
||||
<xi:include href="xml/open.xml"/>
|
||||
<xi:include href="xml/parameter.xml"/>
|
||||
<xi:include href="xml/procargs.xml"/>
|
||||
<xi:include href="xml/procmem.xml"/>
|
||||
<xi:include href="xml/procopenfiles.xml"/>
|
||||
<xi:include href="xml/procsegment.xml"/>
|
||||
<xi:include href="xml/procsignal.xml"/>
|
||||
<xi:include href="xml/sysdeps.xml"/>
|
||||
<xi:include href="xml/procstate.xml"/>
|
||||
<xi:include href="xml/procuid.xml"/>
|
||||
<xi:include href="xml/proctime.xml"/>
|
||||
<xi:include href="xml/signal.xml"/>
|
||||
<xi:include href="xml/procmap.xml"/>
|
||||
<xi:include href="xml/sysinfo.xml"/>
|
||||
<xi:include href="xml/union.xml"/>
|
||||
<xi:include href="xml/version.xml"/>
|
||||
<xi:include href="xml/proclist.xml"/>
|
||||
<xi:include href="xml/sem_limits.xml"/>
|
||||
<xi:include href="xml/prockernel.xml"/>
|
||||
<xi:include href="xml/fsusage.xml"/>
|
||||
<xi:include href="xml/loadavg.xml"/>
|
||||
<xi:include href="xml/mem.xml"/>
|
||||
<xi:include href="xml/mountlist.xml"/>
|
||||
<xi:include href="xml/msg_limits.xml"/>
|
||||
<xi:include href="xml/cpu.xml"/>
|
||||
<xi:include href="xml/swap.xml"/>
|
||||
</chapter>
|
||||
</book>
|
||||
0
doc/reference/libgtop-overrides.txt
Normal file
699
doc/reference/libgtop-sections.txt
Normal file
@@ -0,0 +1,699 @@
|
||||
<INCLUDE>glibtop.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>glibtop</FILE>
|
||||
<TITLE>GlibTop</TITLE>
|
||||
GLIBTOP_MOUNTENTRY_LEN
|
||||
LIBGTOP_CHECK_VERSION
|
||||
glibtop
|
||||
glibtop_global_server
|
||||
glibtop_init
|
||||
glibtop_init_r
|
||||
glibtop_init_s
|
||||
glibtop_server_features
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/close.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>close</FILE>
|
||||
<TITLE>Close</TITLE>
|
||||
glibtop_close
|
||||
glibtop_close_r
|
||||
glibtop_close_s
|
||||
glibtop_close_p
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/command.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>command</FILE>
|
||||
<TITLE>Command</TITLE>
|
||||
GLIBTOP_CMND_QUIT
|
||||
GLIBTOP_CMND_SYSDEPS
|
||||
GLIBTOP_CMND_CPU
|
||||
GLIBTOP_CMND_MEM
|
||||
GLIBTOP_CMND_SWAP
|
||||
GLIBTOP_CMND_UPTIME
|
||||
GLIBTOP_CMND_LOADAVG
|
||||
GLIBTOP_CMND_SHM_LIMITS
|
||||
GLIBTOP_CMND_MSG_LIMITS
|
||||
GLIBTOP_CMND_SEM_LIMITS
|
||||
GLIBTOP_CMND_PROCLIST
|
||||
GLIBTOP_CMND_PROC_STATE
|
||||
GLIBTOP_CMND_PROC_UID
|
||||
GLIBTOP_CMND_PROC_MEM
|
||||
GLIBTOP_CMND_PROC_TIME
|
||||
GLIBTOP_CMND_PROC_SIGNAL
|
||||
GLIBTOP_CMND_PROC_KERNEL
|
||||
GLIBTOP_CMND_PROC_SEGMENT
|
||||
GLIBTOP_CMND_PROC_ARGS
|
||||
GLIBTOP_CMND_PROC_MAP
|
||||
GLIBTOP_CMND_MOUNTLIST
|
||||
GLIBTOP_CMND_FSUSAGE
|
||||
GLIBTOP_CMND_NETLOAD
|
||||
GLIBTOP_CMND_PPP
|
||||
GLIBTOP_CMND_NETLIST
|
||||
GLIBTOP_CMND_PROC_OPEN_FILES
|
||||
GLIBTOP_MAX_CMND
|
||||
glibtop_command
|
||||
glibtop_response
|
||||
glibtop_response_union
|
||||
glibtop_call
|
||||
glibtop_call_l
|
||||
glibtop_call_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/glibtop-server.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>glibtop-server</FILE>
|
||||
<TITLE>GlibTop Server</TITLE>
|
||||
glibtop_server
|
||||
glibtop_server_info
|
||||
glibtop_closure
|
||||
glibtop_server_new
|
||||
glibtop_server_ref
|
||||
glibtop_server_unref
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/netload.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>netload</FILE>
|
||||
<TITLE>Net Load</TITLE>
|
||||
GLIBTOP_NETLOAD_IF_FLAGS
|
||||
GLIBTOP_NETLOAD_MTU
|
||||
GLIBTOP_NETLOAD_SUBNET
|
||||
GLIBTOP_NETLOAD_ADDRESS
|
||||
GLIBTOP_NETLOAD_PACKETS_IN
|
||||
GLIBTOP_NETLOAD_PACKETS_OUT
|
||||
GLIBTOP_NETLOAD_PACKETS_TOTAL
|
||||
GLIBTOP_NETLOAD_BYTES_IN
|
||||
GLIBTOP_NETLOAD_BYTES_OUT
|
||||
GLIBTOP_NETLOAD_BYTES_TOTAL
|
||||
GLIBTOP_NETLOAD_ERRORS_IN
|
||||
GLIBTOP_NETLOAD_ERRORS_OUT
|
||||
GLIBTOP_NETLOAD_ERRORS_TOTAL
|
||||
GLIBTOP_NETLOAD_COLLISIONS
|
||||
GLIBTOP_NETLOAD_ADDRESS6
|
||||
GLIBTOP_NETLOAD_PREFIX6
|
||||
GLIBTOP_NETLOAD_SCOPE6
|
||||
GLIBTOP_NETLOAD_HWADDRESS
|
||||
GLIBTOP_MAX_NETLOAD
|
||||
glibtop_netload
|
||||
glibtop_get_netload
|
||||
glibtop_get_netload_r
|
||||
glibtop_get_netload_l
|
||||
glibtop_init_netload_p
|
||||
glibtop_get_netload_p
|
||||
glibtop_init_netload_s
|
||||
glibtop_get_netload_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/ppp.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>ppp</FILE>
|
||||
<TITLE>PPP</TITLE>
|
||||
GLIBTOP_PPP_STATE
|
||||
GLIBTOP_PPP_BYTES_IN
|
||||
GLIBTOP_PPP_BYTES_OUT
|
||||
GLIBTOP_MAX_PPP
|
||||
glibtop_ppp
|
||||
glibtop_get_ppp
|
||||
glibtop_get_ppp_r
|
||||
glibtop_get_ppp_l
|
||||
glibtop_init_ppp_p
|
||||
glibtop_get_ppp_p
|
||||
glibtop_init_ppp_s
|
||||
glibtop_get_ppp_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/shm_limits.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>shm_limits</FILE>
|
||||
<TITLE>Shared Memory Limits</TITLE>
|
||||
GLIBTOP_IPC_SHMMAX
|
||||
GLIBTOP_IPC_SHMMIN
|
||||
GLIBTOP_IPC_SHMMNI
|
||||
GLIBTOP_IPC_SHMSEG
|
||||
GLIBTOP_IPC_SHMALL
|
||||
GLIBTOP_MAX_SHM_LIMITS
|
||||
glibtop_shm_limits
|
||||
glibtop_get_shm_limits
|
||||
glibtop_get_shm_limits_r
|
||||
glibtop_get_shm_limits_l
|
||||
glibtop_init_shm_limits_p
|
||||
glibtop_get_shm_limits_p
|
||||
glibtop_init_shm_limits_s
|
||||
glibtop_get_shm_limits_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/uptime.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>uptime</FILE>
|
||||
<TITLE>Uptime</TITLE>
|
||||
GLIBTOP_UPTIME_UPTIME
|
||||
GLIBTOP_UPTIME_IDLETIME
|
||||
GLIBTOP_UPTIME_BOOT_TIME
|
||||
GLIBTOP_MAX_UPTIME
|
||||
glibtop_uptime
|
||||
glibtop_get_uptime
|
||||
glibtop_get_uptime_r
|
||||
glibtop_get_uptime_l
|
||||
glibtop_init_uptime_p
|
||||
glibtop_get_uptime_p
|
||||
glibtop_init_uptime_s
|
||||
glibtop_get_uptime_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/netlist.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>netlist</FILE>
|
||||
<TITLE>Net List</TITLE>
|
||||
GLIBTOP_NETLIST_NUMBER
|
||||
GLIBTOP_MAX_NETLIST
|
||||
glibtop_netlist
|
||||
glibtop_get_netlist
|
||||
glibtop_get_netlist_r
|
||||
glibtop_get_netlist_l
|
||||
glibtop_init_netlist_p
|
||||
glibtop_get_netlist_p
|
||||
glibtop_init_netlist_s
|
||||
glibtop_get_netlist_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/open.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>open</FILE>
|
||||
GLIBTOP_INIT_NO_OPEN
|
||||
GLIBTOP_INIT_NO_INIT
|
||||
GLIBTOP_FEATURES_NO_SERVER
|
||||
GLIBTOP_FEATURES_EXCEPT
|
||||
GLIBTOP_METHOD_DIRECT
|
||||
GLIBTOP_METHOD_PIPE
|
||||
GLIBTOP_METHOD_INET
|
||||
GLIBTOP_METHOD_UNIX
|
||||
GLIBTOP_ERROR_METHOD_IGNORE
|
||||
GLIBTOP_ERROR_METHOD_WARN_ONCE
|
||||
GLIBTOP_ERROR_METHOD_WARN
|
||||
GLIBTOP_ERROR_METHOD_ABORT
|
||||
GLIBTOP_ERROR_METHOD_DEFAULT
|
||||
glibtop_open_l
|
||||
glibtop_init_p
|
||||
glibtop_open_p
|
||||
glibtop_open_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/parameter.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>parameter</FILE>
|
||||
GLIBTOP_PARAM_METHOD
|
||||
GLIBTOP_PARAM_FEATURES
|
||||
GLIBTOP_PARAM_COMMAND
|
||||
GLIBTOP_PARAM_HOST
|
||||
GLIBTOP_PARAM_PORT
|
||||
GLIBTOP_PARAM_ERROR_METHOD
|
||||
GLIBTOP_PARAM_REQUIRED
|
||||
glibtop_get_parameter
|
||||
glibtop_set_parameter
|
||||
glibtop_get_parameter_l
|
||||
glibtop_set_parameter_l
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/procargs.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>procargs</FILE>
|
||||
glibtop_proc_args
|
||||
glibtop_get_proc_args
|
||||
glibtop_get_proc_argv
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/procmem.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>procmem</FILE>
|
||||
GLIBTOP_PROC_MEM_SIZE
|
||||
GLIBTOP_PROC_MEM_VSIZE
|
||||
GLIBTOP_PROC_MEM_RESIDENT
|
||||
GLIBTOP_PROC_MEM_SHARE
|
||||
GLIBTOP_PROC_MEM_RSS
|
||||
GLIBTOP_PROC_MEM_RSS_RLIM
|
||||
GLIBTOP_MAX_PROC_MEM
|
||||
glibtop_proc_mem
|
||||
glibtop_get_proc_mem
|
||||
glibtop_get_proc_mem_r
|
||||
glibtop_get_proc_mem_l
|
||||
glibtop_init_proc_mem_p
|
||||
glibtop_get_proc_mem_p
|
||||
glibtop_init_proc_mem_s
|
||||
glibtop_get_proc_mem_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/procopenfiles.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>procopenfiles</FILE>
|
||||
GLIBTOP_PROC_OPEN_FILES_NUMBER
|
||||
GLIBTOP_PROC_OPEN_FILES_TOTAL
|
||||
GLIBTOP_PROC_OPEN_FILES_SIZE
|
||||
GLIBTOP_MAX_PROC_OPEN_FILES
|
||||
GLIBTOP_FILE_ENTRY_FD
|
||||
GLIBTOP_FILE_ENTRY_NAME
|
||||
GLIBTOP_FILE_ENTRY_TYPE
|
||||
GLIBTOP_FILE_ENTRY_INETSOCKET_DST_HOST
|
||||
GLIBTOP_FILE_ENTRY_INETSOCKET_DST_PORT
|
||||
GLIBTOP_MAX_OPEN_FILE_ENTRY
|
||||
GLIBTOP_OPEN_FILENAME_LEN
|
||||
GLIBTOP_OPEN_DEST_HOST_LEN
|
||||
glibtop_open_files_entry
|
||||
glibtop_proc_open_files
|
||||
glibtop_get_proc_open_files
|
||||
glibtop_get_proc_open_files_r
|
||||
glibtop_get_proc_open_files_l
|
||||
glibtop_init_proc_open_files_p
|
||||
glibtop_get_proc_open_files_p
|
||||
glibtop_init_proc_open_files_s
|
||||
glibtop_get_proc_open_files_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/procsegment.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>procsegment</FILE>
|
||||
GLIBTOP_PROC_SEGMENT_TEXT_RSS
|
||||
GLIBTOP_PROC_SEGMENT_SHLIB_RSS
|
||||
GLIBTOP_PROC_SEGMENT_DATA_RSS
|
||||
GLIBTOP_PROC_SEGMENT_STACK_RSS
|
||||
GLIBTOP_PROC_SEGMENT_DIRTY_SIZE
|
||||
GLIBTOP_PROC_SEGMENT_START_CODE
|
||||
GLIBTOP_PROC_SEGMENT_END_CODE
|
||||
GLIBTOP_PROC_SEGMENT_START_STACK
|
||||
GLIBTOP_MAX_PROC_SEGMENT
|
||||
glibtop_proc_segment
|
||||
glibtop_get_proc_segment
|
||||
glibtop_get_proc_segment_r
|
||||
glibtop_get_proc_segment_l
|
||||
glibtop_init_proc_segment_p
|
||||
glibtop_get_proc_segment_p
|
||||
glibtop_init_proc_segment_s
|
||||
glibtop_get_proc_segment_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/procsignal.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>procsignal</FILE>
|
||||
GLIBTOP_PROC_SIGNAL_SIGNAL
|
||||
GLIBTOP_PROC_SIGNAL_BLOCKED
|
||||
GLIBTOP_PROC_SIGNAL_SIGIGNORE
|
||||
GLIBTOP_PROC_SIGNAL_SIGCATCH
|
||||
GLIBTOP_MAX_PROC_SIGNAL
|
||||
glibtop_proc_signal
|
||||
glibtop_get_proc_signal
|
||||
glibtop_get_proc_signal_r
|
||||
glibtop_get_proc_signal_l
|
||||
glibtop_init_proc_signal_p
|
||||
glibtop_get_proc_signal_p
|
||||
glibtop_init_proc_signal_s
|
||||
glibtop_get_proc_signal_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/sysdeps.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>sysdeps</FILE>
|
||||
GLIBTOP_SYSDEPS_FEATURES
|
||||
GLIBTOP_SYSDEPS_CPU
|
||||
GLIBTOP_SYSDEPS_MEM
|
||||
GLIBTOP_SYSDEPS_SWAP
|
||||
GLIBTOP_SYSDEPS_UPTIME
|
||||
GLIBTOP_SYSDEPS_LOADAVG
|
||||
GLIBTOP_SYSDEPS_SHM_LIMITS
|
||||
GLIBTOP_SYSDEPS_MSG_LIMITS
|
||||
GLIBTOP_SYSDEPS_SEM_LIMITS
|
||||
GLIBTOP_SYSDEPS_PROCLIST
|
||||
GLIBTOP_SYSDEPS_PROC_STATE
|
||||
GLIBTOP_SYSDEPS_PROC_UID
|
||||
GLIBTOP_SYSDEPS_PROC_MEM
|
||||
GLIBTOP_SYSDEPS_PROC_TIME
|
||||
GLIBTOP_SYSDEPS_PROC_SIGNAL
|
||||
GLIBTOP_SYSDEPS_PROC_KERNEL
|
||||
GLIBTOP_SYSDEPS_PROC_SEGMENT
|
||||
GLIBTOP_SYSDEPS_PROC_ARGS
|
||||
GLIBTOP_SYSDEPS_PROC_MAP
|
||||
GLIBTOP_SYSDEPS_MOUNTLIST
|
||||
GLIBTOP_SYSDEPS_FSUSAGE
|
||||
GLIBTOP_SYSDEPS_NETLOAD
|
||||
GLIBTOP_SYSDEPS_PPP
|
||||
GLIBTOP_SYSDEPS_NETLIST
|
||||
GLIBTOP_SYSDEPS_PROC_OPEN_FILES
|
||||
GLIBTOP_MAX_SYSDEPS
|
||||
GLIBTOP_SYSDEPS_ALL
|
||||
glibtop_sysdeps
|
||||
glibtop_get_sysdeps
|
||||
glibtop_get_sysdeps_r
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/procstate.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>procstate</FILE>
|
||||
GLIBTOP_PROC_STATE_CMD
|
||||
GLIBTOP_PROC_STATE_STATE
|
||||
GLIBTOP_PROC_STATE_UID
|
||||
GLIBTOP_PROC_STATE_GID
|
||||
GLIBTOP_PROC_STATE_RUID
|
||||
GLIBTOP_PROC_STATE_RGID
|
||||
GLIBTOP_PROC_STATE_HAS_CPU
|
||||
GLIBTOP_PROC_STATE_PROCESSOR
|
||||
GLIBTOP_PROC_STATE_LAST_PROCESSOR
|
||||
GLIBTOP_MAX_PROC_STATE
|
||||
GLIBTOP_PROCESS_RUNNING
|
||||
GLIBTOP_PROCESS_INTERRUPTIBLE
|
||||
GLIBTOP_PROCESS_UNINTERRUPTIBLE
|
||||
GLIBTOP_PROCESS_ZOMBIE
|
||||
GLIBTOP_PROCESS_STOPPED
|
||||
GLIBTOP_PROCESS_SWAPPING
|
||||
GLIBTOP_PROCESS_DEAD
|
||||
glibtop_proc_state
|
||||
glibtop_get_proc_state
|
||||
glibtop_get_proc_state_r
|
||||
glibtop_get_proc_state_l
|
||||
glibtop_init_proc_state_p
|
||||
glibtop_get_proc_state_p
|
||||
glibtop_init_proc_state_s
|
||||
glibtop_get_proc_state_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/procuid.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>procuid</FILE>
|
||||
GLIBTOP_PROC_UID_UID
|
||||
GLIBTOP_PROC_UID_EUID
|
||||
GLIBTOP_PROC_UID_GID
|
||||
GLIBTOP_PROC_UID_EGID
|
||||
GLIBTOP_PROC_UID_SUID
|
||||
GLIBTOP_PROC_UID_SGID
|
||||
GLIBTOP_PROC_UID_FSUID
|
||||
GLIBTOP_PROC_UID_FSGID
|
||||
GLIBTOP_PROC_UID_PID
|
||||
GLIBTOP_PROC_UID_PPID
|
||||
GLIBTOP_PROC_UID_PGRP
|
||||
GLIBTOP_PROC_UID_SESSION
|
||||
GLIBTOP_PROC_UID_TTY
|
||||
GLIBTOP_PROC_UID_TPGID
|
||||
GLIBTOP_PROC_UID_PRIORITY
|
||||
GLIBTOP_PROC_UID_NICE
|
||||
GLIBTOP_PROC_UID_NGROUPS
|
||||
GLIBTOP_PROC_UID_GROUPS
|
||||
GLIBTOP_MAX_PROC_UID
|
||||
glibtop_proc_uid
|
||||
GLIBTOP_MAX_GROUPS
|
||||
glibtop_get_proc_uid
|
||||
glibtop_get_proc_uid_r
|
||||
glibtop_get_proc_uid_l
|
||||
glibtop_init_proc_uid_p
|
||||
glibtop_get_proc_uid_p
|
||||
glibtop_init_proc_uid_s
|
||||
glibtop_get_proc_uid_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/proctime.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>proctime</FILE>
|
||||
glibtop_proc_time
|
||||
glibtop_get_proc_time
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/signal.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>signal</FILE>
|
||||
glibtop_signame
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/procmap.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>procmap</FILE>
|
||||
GLIBTOP_PROC_MAP_NUMBER
|
||||
GLIBTOP_PROC_MAP_TOTAL
|
||||
GLIBTOP_PROC_MAP_SIZE
|
||||
GLIBTOP_MAX_PROC_MAP
|
||||
GLIBTOP_MAP_ENTRY_START
|
||||
GLIBTOP_MAP_ENTRY_END
|
||||
GLIBTOP_MAP_ENTRY_OFFSET
|
||||
GLIBTOP_MAP_ENTRY_PERM
|
||||
GLIBTOP_MAP_ENTRY_INODE
|
||||
GLIBTOP_MAP_ENTRY_DEVICE
|
||||
GLIBTOP_MAP_ENTRY_FILENAME
|
||||
GLIBTOP_MAP_ENTRY_SIZE
|
||||
GLIBTOP_MAP_ENTRY_RSS
|
||||
GLIBTOP_MAP_ENTRY_SHARED_CLEAN
|
||||
GLIBTOP_MAP_ENTRY_SHARED_DIRTY
|
||||
GLIBTOP_MAP_ENTRY_PRIVATE_CLEAN
|
||||
GLIBTOP_MAP_ENTRY_PRIVATE_DIRTY
|
||||
GLIBTOP_MAX_MAP_ENTRY
|
||||
GLIBTOP_MAP_FILENAME_LEN
|
||||
GLIBTOP_MAP_PERM_READ
|
||||
GLIBTOP_MAP_PERM_WRITE
|
||||
GLIBTOP_MAP_PERM_EXECUTE
|
||||
GLIBTOP_MAP_PERM_SHARED
|
||||
GLIBTOP_MAP_PERM_PRIVATE
|
||||
glibtop_map_entry
|
||||
glibtop_proc_map
|
||||
glibtop_get_proc_map
|
||||
glibtop_get_proc_map_r
|
||||
glibtop_get_proc_map_l
|
||||
glibtop_init_proc_map_p
|
||||
glibtop_get_proc_map_p
|
||||
glibtop_init_proc_map_s
|
||||
glibtop_get_proc_map_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/sysinfo.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>sysinfo</FILE>
|
||||
GLIBTOP_SYSINFO_NCPU
|
||||
GLIBTOP_SYSINFO_CPUINFO
|
||||
GLIBTOP_MAX_SYSINFO
|
||||
glibtop_sysinfo
|
||||
glibtop_entry
|
||||
glibtop_get_sysinfo_r
|
||||
glibtop_get_sysinfo_s
|
||||
glibtop_get_sysinfo
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/union.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>union</FILE>
|
||||
glibtop_union
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/version.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>version</FILE>
|
||||
LIBGTOP_VERSION_STRING
|
||||
glibtop_send_version
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/proclist.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>proclist</FILE>
|
||||
GLIBTOP_KERN_PROC_ALL
|
||||
GLIBTOP_KERN_PROC_PID
|
||||
GLIBTOP_KERN_PROC_PGRP
|
||||
GLIBTOP_KERN_PROC_SESSION
|
||||
GLIBTOP_KERN_PROC_TTY
|
||||
GLIBTOP_KERN_PROC_UID
|
||||
GLIBTOP_KERN_PROC_RUID
|
||||
GLIBTOP_KERN_PROC_MASK
|
||||
GLIBTOP_EXCLUDE_IDLE
|
||||
GLIBTOP_EXCLUDE_SYSTEM
|
||||
GLIBTOP_EXCLUDE_NOTTY
|
||||
glibtop_proclist
|
||||
glibtop_get_proclist
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/sem_limits.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>sem_limits</FILE>
|
||||
GLIBTOP_IPC_SEMMAP
|
||||
GLIBTOP_IPC_SEMMNI
|
||||
GLIBTOP_IPC_SEMMNS
|
||||
GLIBTOP_IPC_SEMMNU
|
||||
GLIBTOP_IPC_SEMMSL
|
||||
GLIBTOP_IPC_SEMOPM
|
||||
GLIBTOP_IPC_SEMUME
|
||||
GLIBTOP_IPC_SEMUSZ
|
||||
GLIBTOP_IPC_SEMVMX
|
||||
GLIBTOP_IPC_SEMAEM
|
||||
GLIBTOP_MAX_SEM_LIMITS
|
||||
glibtop_sem_limits
|
||||
glibtop_get_sem_limits
|
||||
glibtop_get_sem_limits_r
|
||||
glibtop_get_sem_limits_l
|
||||
glibtop_init_sem_limits_p
|
||||
glibtop_get_sem_limits_p
|
||||
glibtop_init_sem_limits_s
|
||||
glibtop_get_sem_limits_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/prockernel.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>prockernel</FILE>
|
||||
GLIBTOP_PROC_KERNEL_K_FLAGS
|
||||
GLIBTOP_PROC_KERNEL_MIN_FLT
|
||||
GLIBTOP_PROC_KERNEL_MAJ_FLT
|
||||
GLIBTOP_PROC_KERNEL_CMIN_FLT
|
||||
GLIBTOP_PROC_KERNEL_CMAJ_FLT
|
||||
GLIBTOP_PROC_KERNEL_KSTK_ESP
|
||||
GLIBTOP_PROC_KERNEL_KSTK_EIP
|
||||
GLIBTOP_PROC_KERNEL_NWCHAN
|
||||
GLIBTOP_PROC_KERNEL_WCHAN
|
||||
GLIBTOP_MAX_PROC_KERNEL
|
||||
glibtop_proc_kernel
|
||||
glibtop_get_proc_kernel
|
||||
glibtop_get_proc_kernel_r
|
||||
glibtop_get_proc_kernel_l
|
||||
glibtop_init_proc_kernel_p
|
||||
glibtop_get_proc_kernel_p
|
||||
glibtop_init_proc_kernel_s
|
||||
glibtop_get_proc_kernel_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/fsusage.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>fsusage</FILE>
|
||||
GLIBTOP_FSUSAGE_BLOCKS
|
||||
GLIBTOP_FSUSAGE_BFREE
|
||||
GLIBTOP_FSUSAGE_BAVAIL
|
||||
GLIBTOP_FSUSAGE_FILES
|
||||
GLIBTOP_FSUSAGE_FFREE
|
||||
GLIBTOP_FSUSAGE_BLOCK_SIZE
|
||||
GLIBTOP_FSUSAGE_READ
|
||||
GLIBTOP_FSUSAGE_WRITE
|
||||
GLIBTOP_MAX_FSUSAGE
|
||||
glibtop_fsusage
|
||||
glibtop_get_fsusage
|
||||
glibtop_get_fsusage_r
|
||||
glibtop_get_fsusage_l
|
||||
glibtop_get_fsusage_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/loadavg.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>loadavg</FILE>
|
||||
GLIBTOP_LOADAVG_LOADAVG
|
||||
GLIBTOP_LOADAVG_NR_RUNNING
|
||||
GLIBTOP_LOADAVG_NR_TASKS
|
||||
GLIBTOP_LOADAVG_LAST_PID
|
||||
GLIBTOP_MAX_LOADAVG
|
||||
glibtop_loadavg
|
||||
glibtop_get_loadavg
|
||||
glibtop_get_loadavg_r
|
||||
glibtop_get_loadavg_l
|
||||
glibtop_init_loadavg_p
|
||||
glibtop_get_loadavg_p
|
||||
glibtop_init_loadavg_s
|
||||
glibtop_get_loadavg_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/mem.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>mem</FILE>
|
||||
GLIBTOP_MEM_TOTAL
|
||||
GLIBTOP_MEM_USED
|
||||
GLIBTOP_MEM_FREE
|
||||
GLIBTOP_MEM_SHARED
|
||||
GLIBTOP_MEM_BUFFER
|
||||
GLIBTOP_MEM_CACHED
|
||||
GLIBTOP_MEM_USER
|
||||
GLIBTOP_MEM_LOCKED
|
||||
GLIBTOP_MAX_MEM
|
||||
glibtop_mem
|
||||
glibtop_get_mem
|
||||
glibtop_get_mem_r
|
||||
glibtop_get_mem_l
|
||||
glibtop_init_mem_p
|
||||
glibtop_get_mem_p
|
||||
glibtop_init_mem_s
|
||||
glibtop_get_mem_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/mountlist.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>mountlist</FILE>
|
||||
GLIBTOP_MOUNTLIST_NUMBER
|
||||
GLIBTOP_MOUNTLIST_TOTAL
|
||||
GLIBTOP_MOUNTLIST_SIZE
|
||||
GLIBTOP_MAX_MOUNTLIST
|
||||
glibtop_mountentry
|
||||
glibtop_mountlist
|
||||
glibtop_get_mountlist
|
||||
glibtop_get_mountlist_r
|
||||
glibtop_get_mountlist_l
|
||||
glibtop_get_mountlist_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/msg_limits.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>msg_limits</FILE>
|
||||
GLIBTOP_IPC_MSGPOOL
|
||||
GLIBTOP_IPC_MSGMAP
|
||||
GLIBTOP_IPC_MSGMAX
|
||||
GLIBTOP_IPC_MSGMNB
|
||||
GLIBTOP_IPC_MSGMNI
|
||||
GLIBTOP_IPC_MSGSSZ
|
||||
GLIBTOP_IPC_MSGTQL
|
||||
GLIBTOP_MAX_MSG_LIMITS
|
||||
glibtop_msg_limits
|
||||
glibtop_get_msg_limits
|
||||
glibtop_get_msg_limits_r
|
||||
glibtop_get_msg_limits_l
|
||||
glibtop_init_msg_limits_p
|
||||
glibtop_get_msg_limits_p
|
||||
glibtop_init_msg_limits_s
|
||||
glibtop_get_msg_limits_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/cpu.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>cpu</FILE>
|
||||
GLIBTOP_CPU_TOTAL
|
||||
GLIBTOP_CPU_USER
|
||||
GLIBTOP_CPU_NICE
|
||||
GLIBTOP_CPU_SYS
|
||||
GLIBTOP_CPU_IDLE
|
||||
GLIBTOP_CPU_FREQUENCY
|
||||
GLIBTOP_XCPU_TOTAL
|
||||
GLIBTOP_XCPU_USER
|
||||
GLIBTOP_XCPU_NICE
|
||||
GLIBTOP_XCPU_SYS
|
||||
GLIBTOP_XCPU_IDLE
|
||||
GLIBTOP_XCPU_FLAGS
|
||||
GLIBTOP_CPU_IOWAIT
|
||||
GLIBTOP_CPU_IRQ
|
||||
GLIBTOP_CPU_SOFTIRQ
|
||||
GLIBTOP_XCPU_IOWAIT
|
||||
GLIBTOP_XCPU_IRQ
|
||||
GLIBTOP_XCPU_SOFTIRQ
|
||||
GLIBTOP_MAX_CPU
|
||||
GLIBTOP_NCPU
|
||||
glibtop_cpu
|
||||
glibtop_get_cpu
|
||||
glibtop_get_cpu_r
|
||||
glibtop_get_cpu_l
|
||||
glibtop_init_cpu_p
|
||||
glibtop_get_cpu_p
|
||||
glibtop_init_cpu_s
|
||||
glibtop_get_cpu_s
|
||||
</SECTION>
|
||||
|
||||
<INCLUDE>glibtop/swap.h</INCLUDE>
|
||||
<SECTION>
|
||||
<FILE>swap</FILE>
|
||||
GLIBTOP_SWAP_TOTAL
|
||||
GLIBTOP_SWAP_USED
|
||||
GLIBTOP_SWAP_FREE
|
||||
GLIBTOP_SWAP_PAGEIN
|
||||
GLIBTOP_SWAP_PAGEOUT
|
||||
GLIBTOP_MAX_SWAP
|
||||
glibtop_swap
|
||||
glibtop_get_swap
|
||||
glibtop_get_swap_r
|
||||
glibtop_get_swap_l
|
||||
glibtop_init_swap_p
|
||||
glibtop_get_swap_p
|
||||
glibtop_init_swap_s
|
||||
glibtop_get_swap_s
|
||||
</SECTION>
|
||||
|
||||
4
doc/reference/version.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
|
||||
<phrase>2.38.0</phrase>
|
||||
4
doc/reference/version.xml.in
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
|
||||
<phrase>@PACKAGE_VERSION@</phrase>
|
||||
4
doc/stamp-vti
Normal file
@@ -0,0 +1,4 @@
|
||||
@set UPDATED 27 November 2016
|
||||
@set UPDATED-MONTH November 2016
|
||||
@set EDITION 2.38.0
|
||||
@set VERSION 2.38.0
|
||||
10079
doc/texinfo.tex
Normal file
4
doc/version.texi
Normal file
@@ -0,0 +1,4 @@
|
||||
@set UPDATED 27 November 2016
|
||||
@set UPDATED-MONTH November 2016
|
||||
@set EDITION 2.38.0
|
||||
@set VERSION 2.38.0
|
||||
90
doc/white-paper.texi
Normal file
@@ -0,0 +1,90 @@
|
||||
@node White Paper, Reference Manual, About, Top
|
||||
@chapter LibGTop White Paper
|
||||
|
||||
@menu
|
||||
* Introduction:: Introduction
|
||||
* Overview:: Overview
|
||||
@end menu
|
||||
|
||||
@node Introduction, Overview, White Paper, White Paper
|
||||
@section Introduction
|
||||
|
||||
Many modern UNIX systems like Solaris, BSD or Digitial Unix only allow
|
||||
priviledged processes to read information like CPU and Memory Usage or
|
||||
information about running processes.
|
||||
|
||||
@itemize @bullet
|
||||
@item
|
||||
BSD, for instance, doesn't have any other way to get those data than reading
|
||||
directly from @file{/dev/kmem} and you need to be in the @code{kmem} group to
|
||||
be able to read this.
|
||||
|
||||
@item
|
||||
Other systems, like Digital Unix, allow all users to get things like CPU and
|
||||
Memory statistics, but only root may read information about any process other
|
||||
than the current one (you may not even get information about your own processes
|
||||
if you're not root).
|
||||
|
||||
@item
|
||||
Linux has a very nice @file{/proc} filesystem, but reading and parsing
|
||||
@file{/proc} is very slow and inefficient.
|
||||
|
||||
@item
|
||||
Solaris is a bit better, but you still need to be in the @code{sys} group or
|
||||
even root to get some data.
|
||||
@end itemize
|
||||
|
||||
Because of this system utilities like @code{ps}, @code{uptime} or @code{top}
|
||||
often are setgid kmem or setuid root. Usually, they're also very specific to
|
||||
the system they're written for and not easily portable to other systems without
|
||||
a lot of work.
|
||||
|
||||
This, of cause, becomes a problem for graphical tools like @code{gtop} - making
|
||||
a GTK+ program setgid or even setuid would be a security hole as big as you can
|
||||
drive the entire X11 source code through. For the GNOME project, we also needed
|
||||
some kind of library which provides all the required information in a portable
|
||||
since there's more than just one single program that wants to use them - for
|
||||
instance @code{gtop} and the @code{multiload}, @code{cpumemusage} and
|
||||
@code{netload} panel applets.
|
||||
|
||||
@node Overview, , Introduction, White Paper
|
||||
@section Overview
|
||||
|
||||
This section should give you a short overview on how LibGTop was developed, which
|
||||
things needed to be considered and how it works.
|
||||
|
||||
@menu
|
||||
* Interface Design:: Things that need to be considered
|
||||
* Server Implementation:: The LibGTop "server"
|
||||
@end menu
|
||||
|
||||
@node Interface Design, Server Implementation, Overview, Overview
|
||||
@subsection Interface Design
|
||||
|
||||
At the very beginning, it was necessary to collect all the data the library part
|
||||
should provide and put them into some C structures. This was not that easiy as it
|
||||
might sound since LibGTop should be portable to any modern UNIX system with a common
|
||||
library part on all those systems, but the data that should be returned vary from
|
||||
system to system. For instance some systems support shared memory, but some others
|
||||
may not.
|
||||
|
||||
The header files where we define these C structures (which are system-independent) are
|
||||
shared between client and server. This way we can call the system dependent code
|
||||
directly where we do not need any special privileges to do so.
|
||||
|
||||
All of those structures contain a @code{flags} member which is interpreted as a bit
|
||||
mask and tells the caller of the library functions which of the fields in the returned
|
||||
structure are valid and which are not.
|
||||
|
||||
@node Server Implementation, , Interface Design, Overview
|
||||
@subsection Server Implementation
|
||||
|
||||
The LibGTop @dfn{server} is a setgid/setuid binary which contains all the system
|
||||
dependent code which needs special privileges. It is only build if it's required
|
||||
on the current system (for instance, the Linux kernel provides all the required
|
||||
data via its @file{/proc} filesystem so we do not need the server at all) and it
|
||||
only contains the @dfn{features} which need privileges.
|
||||
|
||||
Whenever we do not need any privileges to get all the data for some of the requested
|
||||
structures (here called @dfn{features}) the library calls the sysdeps code directly
|
||||
rather than using the server.
|
||||
243
examples/ChangeLog
Normal file
@@ -0,0 +1,243 @@
|
||||
2007-05-19 Benoît Dejean <benoit@placenet.org>
|
||||
|
||||
* Makefile.am:
|
||||
* mem.c: (main):
|
||||
* wd.c: (main):
|
||||
|
||||
Fixed wd and new simple mem example.
|
||||
|
||||
2006-02-27 Benoît Dejean <benoit@placenet.org>
|
||||
|
||||
* pprint.c: (pprint_get_proc_mem), (main):
|
||||
|
||||
Added proc_mem example.
|
||||
|
||||
2005-12-15 Benoît Dejean <benoit@placenet.org>
|
||||
|
||||
* proclist.c: (print_pids), (main):
|
||||
|
||||
Improved example.
|
||||
|
||||
2005-12-12 Benoît Dejean <benoit@placenet.org>
|
||||
|
||||
* .cvsignore:
|
||||
* Makefile.am:
|
||||
* proclist.c: (main):
|
||||
* procmap.c: (main):
|
||||
|
||||
Added quick example for glibtop_get_proclist()
|
||||
and updated procmap example to display smap.
|
||||
|
||||
2005-08-02 Benoît Dejean <TazForEver@dlfp.org>
|
||||
|
||||
* pprint.c: (pprint_get_cpu), (pprint_get_loadavg),
|
||||
(pprint_get_mem), (pprint_get_msg_limits), (pprint_get_netlist),
|
||||
(pprint_get_swap), (pprint_get_uptime), (pprint_get_proc_kernel),
|
||||
(main):
|
||||
|
||||
Added pprint_get_proc_kernel(pid).
|
||||
Fixed prototypes.
|
||||
|
||||
2005-01-22 Benoît Dejean <TazForEver@dlfp.org>
|
||||
|
||||
* openfiles.c: (show_open_files): Updated.
|
||||
|
||||
2004-12-23 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* netload.c: (main):
|
||||
* procmap.c: (main): s/glibtop_error/g_error/g
|
||||
|
||||
2004-11-15 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* netload.c: (hwaddress_format_for_display), (main): Updated.
|
||||
|
||||
2004-11-13 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* pprint.c: (pprint_get_fsusage), (pprint_get_mountlist),
|
||||
(pprint_get_netload), (pprint_get_netlist), (main): Updated.
|
||||
|
||||
2004-09-25 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* pprint.c: (main): Re-added pprint_get_msg_limits()
|
||||
|
||||
i2004-09-25 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* df.c: (main):
|
||||
* pprint.c: (main):
|
||||
* procargs.c: (main): Added missing call to glibgtop_init() / glibtop_close()
|
||||
|
||||
2004-09-24 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* .cvsignore:
|
||||
* Makefile.am:
|
||||
* ../configure.in
|
||||
* df.c: (print_fsusage), (main): Added new example, just like 'df'.
|
||||
|
||||
2004-09-22 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* pprint.c: (main): Disable pprint_get_msg_limits() because it can fail.
|
||||
|
||||
2004-09-21 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* pprint.c: (pprint_get_swap), (main): Updated.
|
||||
|
||||
2004-09-21 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* procargs.c: (show_args), (main): Updated.
|
||||
|
||||
2004-09-21 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* pprint.c: (pprint_get_mountlist), (pprint_get_netload),
|
||||
(pprint_get_uptime), (main): Updated.
|
||||
|
||||
2004-09-21 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* pprint.c: (pprint_get_mountlist): Updated.
|
||||
|
||||
2004-09-21 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* procargs.c: (show_args), (main): Updated.
|
||||
|
||||
2004-09-20 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* .cvsignore:
|
||||
* Makefile.am:
|
||||
* pprint.c: (pprint_get_cpu), (pprint_get_fsusage),
|
||||
(pprint_get_loadavg), (pprint_get_mem), (pprint_get_mountlist),
|
||||
(pprint_get_msg_limits), (main): Added new example : pretty prints
|
||||
the result of glibtop_*. Work in progress.
|
||||
|
||||
Now builds procargs.
|
||||
|
||||
* ../configure.in: Added to static list.
|
||||
|
||||
2004-07-07 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* procargs.c: Added glibtop_get_proc_argv demo.
|
||||
|
||||
2003-12-27 Ole Laursen <olau@hardworking.dk>
|
||||
|
||||
* mountlist.c: Updated to display block size too.
|
||||
|
||||
2004-03-04 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
* smp.c: use libgtop-i18n.h
|
||||
|
||||
2003-10-21 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
* Makefile.am:
|
||||
* smp.c:
|
||||
* sysdeps.c: (main): install only one library, libgtop-2.0
|
||||
Fix build-time warnings due to the redefinition of guint64
|
||||
Fix building smp.c and sysdeps.c
|
||||
|
||||
2003-10-20 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
* first.c:
|
||||
* mountlist.c:
|
||||
* netload.c:
|
||||
* procmap.c:
|
||||
* second.c:
|
||||
* smp.c:
|
||||
* sysdeps.c:
|
||||
* third.c:
|
||||
* timings.c: fixed compilation
|
||||
|
||||
2003-10-20 Bastien Nocera <hadess@hadess.net>
|
||||
|
||||
* Makefile.am: removed traces of guile, intllibs and libgnomesupport
|
||||
|
||||
2001-01-14 Abel Cheung <maddog@linux.org.hk>
|
||||
|
||||
* \*.c: bindtextdomain and textdomain uses GETTEXT_PACKAGE.
|
||||
|
||||
* Makefile.am, first.c, second.c, sysdeps.c: Make them at least
|
||||
compile for now, by disabling chunks which should belong to
|
||||
HEAD branch.
|
||||
|
||||
1999-05-28 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* first.c, second.c, sysdeps.c: Use LibGTop version conditionals
|
||||
so we can more easily merge the code into LIBGTOP_STABLE_1_0.
|
||||
|
||||
1999-05-07 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* timings.c (timersub): Renamed this to `libgtop_timersub' and define
|
||||
it on all systems.
|
||||
|
||||
Fri Apr 9 00:14:52 1999 Timur Bakeyev <timur@gnu.org>
|
||||
|
||||
* timings.c: Added timersub defenition, to make code compilable on
|
||||
BSDI.
|
||||
|
||||
1999-03-24 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* timings.c: New example.
|
||||
|
||||
1999-03-17 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* first.c, second.c: Fixed a bug that caused a core dump when
|
||||
the sysdeps code does not return all data.
|
||||
|
||||
1998-11-22 Martin Baulig <baulig@taurus.uni-trier.de>
|
||||
|
||||
* netload.c: Call inet_ntoa () to get address and subnet
|
||||
in quatted dot notation (like 136.199.14.201) and not just
|
||||
as a number (like 0xc90ec788).
|
||||
|
||||
1998-11-02 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* sysdeps.c: New example.
|
||||
|
||||
1998-10-26 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* netload.c: New file. Gets network load for the interface
|
||||
given as command line argument.
|
||||
|
||||
1998-10-26 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* first.c (glibtop_get_proc_args): Get command line arguments.
|
||||
* second.c: Likewise.
|
||||
|
||||
1998-10-25 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* first.c (glibtop_get_ppp): Get PPP/ISDN statistics.
|
||||
|
||||
1998-09-28 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* Makefile.am: Install everything in $(libexecdir)/libgtop.
|
||||
|
||||
1998-09-09 Martin Baulig <baulig@Stud.Informatik.uni-trier.de>
|
||||
|
||||
* smp.c: New file. Nice tool to show CPU statistics on SMP systems.
|
||||
|
||||
1998-08-25 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* first.c, second.c, procmap.c: Fixed some compiler warnings.
|
||||
|
||||
1998-08-18 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* procmap.c: We now display filenames when compiled
|
||||
`--with-libgtop-inodedb'.
|
||||
|
||||
1998-08-12 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* second.c: Works a little bit more like `ps' - you can
|
||||
give an optional command line argument to get information
|
||||
about a single process.
|
||||
|
||||
1998-07-22 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* mountlist.c: New file.
|
||||
|
||||
1998-06-12 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* test.scm: New file.
|
||||
|
||||
1998-06-07 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* Makefile.am (CFLAGS): Disable optimize.
|
||||
|
||||
* first.c (PROFILE_COUNT): Number of times each function
|
||||
should be called. Defaults to 1; to profile the code, you
|
||||
can increase this when compiling.
|
||||
69
examples/Makefile.am
Normal file
@@ -0,0 +1,69 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/sysdeps/$(sysdeps_dir) \
|
||||
-DGTOPLOCALEDIR=\"$(localedir)\" \
|
||||
$(GLIB_CFLAGS)
|
||||
|
||||
AM_LDFLAGS = $(LIBGTOP_EXTRA_LIBS)
|
||||
|
||||
noinst_PROGRAMS = first second pprint procargs df netlist \
|
||||
mountlist procmap netload sysdeps timings \
|
||||
openfiles smp proclist free wd affinity diskio
|
||||
|
||||
first_SOURCES = first.c
|
||||
first_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
second_SOURCES = second.c
|
||||
second_LDADD = $(top_builddir)/lib/libgtop-2.0.la -lm
|
||||
|
||||
procmap_SOURCES = procmap.c
|
||||
procmap_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
netload_SOURCES = netload.c
|
||||
netload_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
sysdeps_SOURCES = sysdeps.c
|
||||
sysdeps_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
mountlist_SOURCES = mountlist.c
|
||||
mountlist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
smp_SOURCES = smp.c
|
||||
smp_LDADD = $(top_builddir)/lib/libgtop-2.0.la -lm
|
||||
|
||||
timings_SOURCES = timings.c
|
||||
timings_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
pprint_SOURCES = pprint.c
|
||||
pprint_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
procargs_SOURCES = procargs.c
|
||||
procargs_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
|
||||
df_SOURCES = df.c
|
||||
df_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
netlist_SOURCES = netlist.c
|
||||
netlist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
openfiles_SOURCES = openfiles.c
|
||||
openfiles_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
proclist_SOURCES = proclist.c
|
||||
proclist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
wd_SOURCES = wd.c
|
||||
wd_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
free_SOURCE = mem.c
|
||||
free_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
affinity_SOURCES = affinity.c
|
||||
affinity_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
|
||||
diskio_SOURCES = diskio.c
|
||||
diskio_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
853
examples/Makefile.in
Normal file
@@ -0,0 +1,853 @@
|
||||
# Makefile.in generated by automake 1.15 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
noinst_PROGRAMS = first$(EXEEXT) second$(EXEEXT) pprint$(EXEEXT) \
|
||||
procargs$(EXEEXT) df$(EXEEXT) netlist$(EXEEXT) \
|
||||
mountlist$(EXEEXT) procmap$(EXEEXT) netload$(EXEEXT) \
|
||||
sysdeps$(EXEEXT) timings$(EXEEXT) openfiles$(EXEEXT) \
|
||||
smp$(EXEEXT) proclist$(EXEEXT) free$(EXEEXT) wd$(EXEEXT) \
|
||||
affinity$(EXEEXT) diskio$(EXEEXT)
|
||||
subdir = examples
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
|
||||
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \
|
||||
$(top_srcdir)/m4/intlmacosx.m4 \
|
||||
$(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/lib-ld.m4 \
|
||||
$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
|
||||
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
|
||||
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
|
||||
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
|
||||
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
|
||||
$(top_srcdir)/acinclude.m4 $(top_srcdir)/libgtop-sysdeps.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
PROGRAMS = $(noinst_PROGRAMS)
|
||||
am_affinity_OBJECTS = affinity.$(OBJEXT)
|
||||
affinity_OBJECTS = $(am_affinity_OBJECTS)
|
||||
affinity_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
AM_V_lt = $(am__v_lt_@AM_V@)
|
||||
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
|
||||
am__v_lt_0 = --silent
|
||||
am__v_lt_1 =
|
||||
am_df_OBJECTS = df.$(OBJEXT)
|
||||
df_OBJECTS = $(am_df_OBJECTS)
|
||||
df_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_diskio_OBJECTS = diskio.$(OBJEXT)
|
||||
diskio_OBJECTS = $(am_diskio_OBJECTS)
|
||||
diskio_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_first_OBJECTS = first.$(OBJEXT)
|
||||
first_OBJECTS = $(am_first_OBJECTS)
|
||||
first_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
free_SOURCES = free.c
|
||||
free_OBJECTS = free.$(OBJEXT)
|
||||
free_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_mountlist_OBJECTS = mountlist.$(OBJEXT)
|
||||
mountlist_OBJECTS = $(am_mountlist_OBJECTS)
|
||||
mountlist_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_netlist_OBJECTS = netlist.$(OBJEXT)
|
||||
netlist_OBJECTS = $(am_netlist_OBJECTS)
|
||||
netlist_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_netload_OBJECTS = netload.$(OBJEXT)
|
||||
netload_OBJECTS = $(am_netload_OBJECTS)
|
||||
netload_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_openfiles_OBJECTS = openfiles.$(OBJEXT)
|
||||
openfiles_OBJECTS = $(am_openfiles_OBJECTS)
|
||||
openfiles_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_pprint_OBJECTS = pprint.$(OBJEXT)
|
||||
pprint_OBJECTS = $(am_pprint_OBJECTS)
|
||||
pprint_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_procargs_OBJECTS = procargs.$(OBJEXT)
|
||||
procargs_OBJECTS = $(am_procargs_OBJECTS)
|
||||
procargs_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_proclist_OBJECTS = proclist.$(OBJEXT)
|
||||
proclist_OBJECTS = $(am_proclist_OBJECTS)
|
||||
proclist_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_procmap_OBJECTS = procmap.$(OBJEXT)
|
||||
procmap_OBJECTS = $(am_procmap_OBJECTS)
|
||||
procmap_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_second_OBJECTS = second.$(OBJEXT)
|
||||
second_OBJECTS = $(am_second_OBJECTS)
|
||||
second_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_smp_OBJECTS = smp.$(OBJEXT)
|
||||
smp_OBJECTS = $(am_smp_OBJECTS)
|
||||
smp_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_sysdeps_OBJECTS = sysdeps.$(OBJEXT)
|
||||
sysdeps_OBJECTS = $(am_sysdeps_OBJECTS)
|
||||
sysdeps_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_timings_OBJECTS = timings.$(OBJEXT)
|
||||
timings_OBJECTS = $(am_timings_OBJECTS)
|
||||
timings_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
am_wd_OBJECTS = wd.$(OBJEXT)
|
||||
wd_OBJECTS = $(am_wd_OBJECTS)
|
||||
wd_DEPENDENCIES = $(top_builddir)/lib/libgtop-2.0.la
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
am__mv = mv -f
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
|
||||
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
||||
$(AM_CFLAGS) $(CFLAGS)
|
||||
AM_V_CC = $(am__v_CC_@AM_V@)
|
||||
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
|
||||
am__v_CC_0 = @echo " CC " $@;
|
||||
am__v_CC_1 =
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
|
||||
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
|
||||
am__v_CCLD_0 = @echo " CCLD " $@;
|
||||
am__v_CCLD_1 =
|
||||
SOURCES = $(affinity_SOURCES) $(df_SOURCES) $(diskio_SOURCES) \
|
||||
$(first_SOURCES) free.c $(mountlist_SOURCES) \
|
||||
$(netlist_SOURCES) $(netload_SOURCES) $(openfiles_SOURCES) \
|
||||
$(pprint_SOURCES) $(procargs_SOURCES) $(proclist_SOURCES) \
|
||||
$(procmap_SOURCES) $(second_SOURCES) $(smp_SOURCES) \
|
||||
$(sysdeps_SOURCES) $(timings_SOURCES) $(wd_SOURCES)
|
||||
DIST_SOURCES = $(affinity_SOURCES) $(df_SOURCES) $(diskio_SOURCES) \
|
||||
$(first_SOURCES) free.c $(mountlist_SOURCES) \
|
||||
$(netlist_SOURCES) $(netload_SOURCES) $(openfiles_SOURCES) \
|
||||
$(pprint_SOURCES) $(procargs_SOURCES) $(proclist_SOURCES) \
|
||||
$(procmap_SOURCES) $(second_SOURCES) $(smp_SOURCES) \
|
||||
$(sysdeps_SOURCES) $(timings_SOURCES) $(wd_SOURCES)
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
# Read a list of newline-separated strings from the standard input,
|
||||
# and print each of them once, without duplicates. Input order is
|
||||
# *not* preserved.
|
||||
am__uniquify_input = $(AWK) '\
|
||||
BEGIN { nonempty = 0; } \
|
||||
{ items[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in items) print i; }; } \
|
||||
'
|
||||
# Make sure the list of sources is unique. This is necessary because,
|
||||
# e.g., the same source file might be shared among _SOURCES variables
|
||||
# for different programs/libraries.
|
||||
am__define_uniq_tagged_files = \
|
||||
list='$(am__tagged_files)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | $(am__uniquify_input)`
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
|
||||
ChangeLog
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
|
||||
ALLOCA = @ALLOCA@
|
||||
AMTAR = @AMTAR@
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/sysdeps/$(sysdeps_dir) \
|
||||
-DGTOPLOCALEDIR=\"$(localedir)\" \
|
||||
$(GLIB_CFLAGS)
|
||||
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DL_LIB = @DL_LIB@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
|
||||
GLIB_CFLAGS = @GLIB_CFLAGS@
|
||||
GLIB_LIBS = @GLIB_LIBS@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GMSGFMT_015 = @GMSGFMT_015@
|
||||
GREP = @GREP@
|
||||
GTKDOC_CHECK = @GTKDOC_CHECK@
|
||||
GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
|
||||
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
|
||||
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
|
||||
GTKDOC_MKPDF = @GTKDOC_MKPDF@
|
||||
GTKDOC_REBASE = @GTKDOC_REBASE@
|
||||
HTML_DIR = @HTML_DIR@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
|
||||
INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
|
||||
INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
|
||||
INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
|
||||
INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
|
||||
INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
|
||||
INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
|
||||
INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
|
||||
INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
|
||||
KVM_LIBS = @KVM_LIBS@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBGTOP_BINDIR = @LIBGTOP_BINDIR@
|
||||
LIBGTOP_EXTRA_LIBS = @LIBGTOP_EXTRA_LIBS@
|
||||
LIBGTOP_INCS = @LIBGTOP_INCS@
|
||||
LIBGTOP_LIBS = @LIBGTOP_LIBS@
|
||||
LIBGTOP_MAJOR_VERSION = @LIBGTOP_MAJOR_VERSION@
|
||||
LIBGTOP_MICRO_VERSION = @LIBGTOP_MICRO_VERSION@
|
||||
LIBGTOP_MINOR_VERSION = @LIBGTOP_MINOR_VERSION@
|
||||
LIBGTOP_SERVER = @LIBGTOP_SERVER@
|
||||
LIBGTOP_SERVER_VERSION = @LIBGTOP_SERVER_VERSION@
|
||||
LIBGTOP_VERSION = @LIBGTOP_VERSION@
|
||||
LIBGTOP_VERSION_CODE = @LIBGTOP_VERSION_CODE@
|
||||
LIBICONV = @LIBICONV@
|
||||
LIBINTL = @LIBINTL@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBICONV = @LTLIBICONV@
|
||||
LTLIBINTL = @LTLIBINTL@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||
LT_VERSION_INFO = @LT_VERSION_INFO@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGFMT_015 = @MSGFMT_015@
|
||||
MSGMERGE = @MSGMERGE@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PERL = @PERL@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
|
||||
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
|
||||
XMKMF = @XMKMF@
|
||||
X_CFLAGS = @X_CFLAGS@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_LIBS = @X_LIBS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_AR = @ac_ct_AR@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
libgtop_have_sysinfo = @libgtop_have_sysinfo@
|
||||
libgtop_need_server = @libgtop_need_server@
|
||||
libgtop_postinstall = @libgtop_postinstall@
|
||||
libgtop_sysdeps_dir = @libgtop_sysdeps_dir@
|
||||
libgtop_top_builddir = @libgtop_top_builddir@
|
||||
libs_xauth = @libs_xauth@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
server_programs = @server_programs@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sysdeps_dir = @sysdeps_dir@
|
||||
sysdeps_suid_lib = @sysdeps_suid_lib@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
AM_LDFLAGS = $(LIBGTOP_EXTRA_LIBS)
|
||||
first_SOURCES = first.c
|
||||
first_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
second_SOURCES = second.c
|
||||
second_LDADD = $(top_builddir)/lib/libgtop-2.0.la -lm
|
||||
procmap_SOURCES = procmap.c
|
||||
procmap_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
netload_SOURCES = netload.c
|
||||
netload_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
sysdeps_SOURCES = sysdeps.c
|
||||
sysdeps_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
mountlist_SOURCES = mountlist.c
|
||||
mountlist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
smp_SOURCES = smp.c
|
||||
smp_LDADD = $(top_builddir)/lib/libgtop-2.0.la -lm
|
||||
timings_SOURCES = timings.c
|
||||
timings_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
pprint_SOURCES = pprint.c
|
||||
pprint_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
procargs_SOURCES = procargs.c
|
||||
procargs_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
df_SOURCES = df.c
|
||||
df_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
netlist_SOURCES = netlist.c
|
||||
netlist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
openfiles_SOURCES = openfiles.c
|
||||
openfiles_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
proclist_SOURCES = proclist.c
|
||||
proclist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
wd_SOURCES = wd.c
|
||||
wd_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
free_SOURCE = mem.c
|
||||
free_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
affinity_SOURCES = affinity.c
|
||||
affinity_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
diskio_SOURCES = diskio.c
|
||||
diskio_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .lo .o .obj
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu examples/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
clean-noinstPROGRAMS:
|
||||
@list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
|
||||
echo " rm -f" $$list; \
|
||||
rm -f $$list || exit $$?; \
|
||||
test -n "$(EXEEXT)" || exit 0; \
|
||||
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
|
||||
echo " rm -f" $$list; \
|
||||
rm -f $$list
|
||||
|
||||
affinity$(EXEEXT): $(affinity_OBJECTS) $(affinity_DEPENDENCIES) $(EXTRA_affinity_DEPENDENCIES)
|
||||
@rm -f affinity$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(affinity_OBJECTS) $(affinity_LDADD) $(LIBS)
|
||||
|
||||
df$(EXEEXT): $(df_OBJECTS) $(df_DEPENDENCIES) $(EXTRA_df_DEPENDENCIES)
|
||||
@rm -f df$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(df_OBJECTS) $(df_LDADD) $(LIBS)
|
||||
|
||||
diskio$(EXEEXT): $(diskio_OBJECTS) $(diskio_DEPENDENCIES) $(EXTRA_diskio_DEPENDENCIES)
|
||||
@rm -f diskio$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(diskio_OBJECTS) $(diskio_LDADD) $(LIBS)
|
||||
|
||||
first$(EXEEXT): $(first_OBJECTS) $(first_DEPENDENCIES) $(EXTRA_first_DEPENDENCIES)
|
||||
@rm -f first$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(first_OBJECTS) $(first_LDADD) $(LIBS)
|
||||
|
||||
free$(EXEEXT): $(free_OBJECTS) $(free_DEPENDENCIES) $(EXTRA_free_DEPENDENCIES)
|
||||
@rm -f free$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(free_OBJECTS) $(free_LDADD) $(LIBS)
|
||||
|
||||
mountlist$(EXEEXT): $(mountlist_OBJECTS) $(mountlist_DEPENDENCIES) $(EXTRA_mountlist_DEPENDENCIES)
|
||||
@rm -f mountlist$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(mountlist_OBJECTS) $(mountlist_LDADD) $(LIBS)
|
||||
|
||||
netlist$(EXEEXT): $(netlist_OBJECTS) $(netlist_DEPENDENCIES) $(EXTRA_netlist_DEPENDENCIES)
|
||||
@rm -f netlist$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(netlist_OBJECTS) $(netlist_LDADD) $(LIBS)
|
||||
|
||||
netload$(EXEEXT): $(netload_OBJECTS) $(netload_DEPENDENCIES) $(EXTRA_netload_DEPENDENCIES)
|
||||
@rm -f netload$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(netload_OBJECTS) $(netload_LDADD) $(LIBS)
|
||||
|
||||
openfiles$(EXEEXT): $(openfiles_OBJECTS) $(openfiles_DEPENDENCIES) $(EXTRA_openfiles_DEPENDENCIES)
|
||||
@rm -f openfiles$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(openfiles_OBJECTS) $(openfiles_LDADD) $(LIBS)
|
||||
|
||||
pprint$(EXEEXT): $(pprint_OBJECTS) $(pprint_DEPENDENCIES) $(EXTRA_pprint_DEPENDENCIES)
|
||||
@rm -f pprint$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(pprint_OBJECTS) $(pprint_LDADD) $(LIBS)
|
||||
|
||||
procargs$(EXEEXT): $(procargs_OBJECTS) $(procargs_DEPENDENCIES) $(EXTRA_procargs_DEPENDENCIES)
|
||||
@rm -f procargs$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(procargs_OBJECTS) $(procargs_LDADD) $(LIBS)
|
||||
|
||||
proclist$(EXEEXT): $(proclist_OBJECTS) $(proclist_DEPENDENCIES) $(EXTRA_proclist_DEPENDENCIES)
|
||||
@rm -f proclist$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(proclist_OBJECTS) $(proclist_LDADD) $(LIBS)
|
||||
|
||||
procmap$(EXEEXT): $(procmap_OBJECTS) $(procmap_DEPENDENCIES) $(EXTRA_procmap_DEPENDENCIES)
|
||||
@rm -f procmap$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(procmap_OBJECTS) $(procmap_LDADD) $(LIBS)
|
||||
|
||||
second$(EXEEXT): $(second_OBJECTS) $(second_DEPENDENCIES) $(EXTRA_second_DEPENDENCIES)
|
||||
@rm -f second$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(second_OBJECTS) $(second_LDADD) $(LIBS)
|
||||
|
||||
smp$(EXEEXT): $(smp_OBJECTS) $(smp_DEPENDENCIES) $(EXTRA_smp_DEPENDENCIES)
|
||||
@rm -f smp$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(smp_OBJECTS) $(smp_LDADD) $(LIBS)
|
||||
|
||||
sysdeps$(EXEEXT): $(sysdeps_OBJECTS) $(sysdeps_DEPENDENCIES) $(EXTRA_sysdeps_DEPENDENCIES)
|
||||
@rm -f sysdeps$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(sysdeps_OBJECTS) $(sysdeps_LDADD) $(LIBS)
|
||||
|
||||
timings$(EXEEXT): $(timings_OBJECTS) $(timings_DEPENDENCIES) $(EXTRA_timings_DEPENDENCIES)
|
||||
@rm -f timings$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(timings_OBJECTS) $(timings_LDADD) $(LIBS)
|
||||
|
||||
wd$(EXEEXT): $(wd_OBJECTS) $(wd_DEPENDENCIES) $(EXTRA_wd_DEPENDENCIES)
|
||||
@rm -f wd$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(wd_OBJECTS) $(wd_LDADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/affinity.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/df.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/diskio.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/first.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/free.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mountlist.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/netlist.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/netload.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openfiles.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pprint.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/procargs.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/proclist.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/procmap.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/second.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smp.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sysdeps.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timings.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wd.Po@am__quote@
|
||||
|
||||
.c.o:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
|
||||
|
||||
.c.obj:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
|
||||
.c.lo:
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
ID: $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||
tags: tags-am
|
||||
TAGS: tags
|
||||
|
||||
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
$(am__define_uniq_tagged_files); \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: ctags-am
|
||||
|
||||
CTAGS: ctags
|
||||
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
cscopelist: cscopelist-am
|
||||
|
||||
cscopelist-am: $(am__tagged_files)
|
||||
list='$(am__tagged_files)'; \
|
||||
case "$(srcdir)" in \
|
||||
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||
esac; \
|
||||
for i in $$list; do \
|
||||
if test -f "$$i"; then \
|
||||
echo "$(subdir)/$$i"; \
|
||||
else \
|
||||
echo "$$sdir/$$i"; \
|
||||
fi; \
|
||||
done >> $(top_builddir)/cscope.files
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(PROGRAMS)
|
||||
installdirs:
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
|
||||
mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -rf ./$(DEPDIR)
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
|
||||
clean-libtool clean-noinstPROGRAMS cscopelist-am ctags \
|
||||
ctags-am distclean distclean-compile distclean-generic \
|
||||
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
||||
html-am info info-am install install-am install-data \
|
||||
install-data-am install-dvi install-dvi-am install-exec \
|
||||
install-exec-am install-html install-html-am install-info \
|
||||
install-info-am install-man install-pdf install-pdf-am \
|
||||
install-ps install-ps-am install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags tags-am uninstall uninstall-am
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
34
examples/affinity.c
Normal file
@@ -0,0 +1,34 @@
|
||||
#include <glibtop.h>
|
||||
#include <glibtop/procaffinity.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
pid_t pid;
|
||||
glibtop_proc_affinity buf;
|
||||
guint16 *cpus;
|
||||
size_t i;
|
||||
|
||||
if (argc < 2 || !(pid = strtoul(argv[1], NULL, 0)))
|
||||
pid = getpid();
|
||||
|
||||
glibtop_init();
|
||||
|
||||
cpus = glibtop_get_proc_affinity(&buf, pid);
|
||||
|
||||
g_print("Process %u:\n"
|
||||
" - all: %d\n",
|
||||
(unsigned)pid, buf.all);
|
||||
|
||||
for (i = 0; i != buf.number; ++i)
|
||||
g_print(" - CPU#%u is set\n", cpus[i]);
|
||||
|
||||
g_free(cpus);
|
||||
|
||||
glibtop_close();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
76
examples/df.c
Normal file
@@ -0,0 +1,76 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include <glibtop.h>
|
||||
|
||||
#include <glibtop/fsusage.h>
|
||||
#include <glibtop/mountlist.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
static void print_fsusage(const char *mountpoint)
|
||||
{
|
||||
glibtop_fsusage buf;
|
||||
|
||||
enum { SIZE, USED, FREE, AVAIL, READ, WRITE, MAX };
|
||||
char **a = g_new0(char*, MAX);
|
||||
|
||||
glibtop_get_fsusage(&buf, mountpoint);
|
||||
|
||||
|
||||
#define I(X) a[(X)]
|
||||
I(SIZE) = g_format_size_full(buf.blocks * buf.block_size, G_FORMAT_SIZE_IEC_UNITS);
|
||||
I(USED) = g_format_size_full((buf.blocks - buf.bavail) * buf.block_size, G_FORMAT_SIZE_IEC_UNITS);
|
||||
I(FREE) = g_format_size_full(buf.bfree * buf.block_size, G_FORMAT_SIZE_IEC_UNITS);
|
||||
I(AVAIL) = g_format_size_full(buf.bavail * buf.block_size, G_FORMAT_SIZE_IEC_UNITS);
|
||||
I(READ) = g_format_size_full(buf.read, G_FORMAT_SIZE_IEC_UNITS);
|
||||
I(WRITE) = g_format_size_full(buf.write, G_FORMAT_SIZE_IEC_UNITS);
|
||||
|
||||
printf("%#7x %10s %10s %10s %10s %5.1f%% %10s %10s %8lu %8lu %s\n",
|
||||
(unsigned)buf.flags,
|
||||
I(SIZE),
|
||||
I(USED),
|
||||
I(FREE),
|
||||
I(AVAIL),
|
||||
(buf.blocks - buf.bavail) * 100.0 / (buf.blocks ? buf.blocks : 1.0),
|
||||
I(READ),
|
||||
I(WRITE),
|
||||
(unsigned long)buf.files,
|
||||
(unsigned long)buf.ffree,
|
||||
mountpoint
|
||||
);
|
||||
|
||||
g_strfreev(a);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
glibtop_mountlist buf;
|
||||
|
||||
glibtop_init();
|
||||
|
||||
printf("%-6s %10s %10s %10s %10s %5s %10s %10s %10s %10s %s\n",
|
||||
"(flags)", "Size", "Used", "Free", "Avail", "Use%", "Read", "Write", "Files", "Files Free", "Mountpoint");
|
||||
|
||||
if (argc > 1) {
|
||||
while (*++argv)
|
||||
print_fsusage(*argv);
|
||||
} else {
|
||||
glibtop_mountentry *entries;
|
||||
size_t i;
|
||||
|
||||
entries = glibtop_get_mountlist(&buf, TRUE);
|
||||
|
||||
for(i = 0; i < buf.number; ++i)
|
||||
{
|
||||
print_fsusage(entries[i].mountdir);
|
||||
}
|
||||
|
||||
g_free(entries);
|
||||
}
|
||||
|
||||
glibtop_close();
|
||||
|
||||
return 0;
|
||||
}
|
||||
39
examples/diskio.c
Normal file
@@ -0,0 +1,39 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <glibtop.h>
|
||||
#include <glibtop/procio.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
static void show_diskio(pid_t pid)
|
||||
{
|
||||
glibtop_proc_io io;
|
||||
|
||||
glibtop_get_proc_io (&io, pid);
|
||||
|
||||
printf("<%ld>\t", (long)pid);
|
||||
|
||||
printf("flags: %08lx disk_rchar : %lu, disk_wchar : %lu, disk_read_bytes : %lu, disk_write_bytes : %lu\n", (unsigned long)io.flags, io.disk_rchar, io.disk_wchar, io.disk_rbytes, io.disk_wbytes);
|
||||
|
||||
}
|
||||
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
glibtop_init();
|
||||
|
||||
while(*++argv)
|
||||
{
|
||||
pid_t pid = strtol(*argv, NULL, 10);
|
||||
show_diskio(pid);
|
||||
}
|
||||
|
||||
glibtop_close();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
578
examples/first.c
Normal file
@@ -0,0 +1,578 @@
|
||||
/* Copyright (C) 1998-99 Martin Baulig
|
||||
This file is part of LibGTop 1.0.
|
||||
|
||||
Contributed by Martin Baulig <martin@home-of-linux.org>, April 1998.
|
||||
|
||||
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.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <locale.h>
|
||||
#include <libintl.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <glibtop.h>
|
||||
#include <glibtop/open.h>
|
||||
#include <glibtop/close.h>
|
||||
|
||||
#include <glibtop/parameter.h>
|
||||
|
||||
#include <glibtop/union.h>
|
||||
#include <glibtop/sysdeps.h>
|
||||
|
||||
#include <sys/resource.h>
|
||||
|
||||
#ifndef PROFILE_COUNT
|
||||
#define PROFILE_COUNT 1
|
||||
#endif
|
||||
|
||||
int
|
||||
main (int argc, char *argv [])
|
||||
{
|
||||
glibtop_union data;
|
||||
glibtop_sysdeps sysdeps;
|
||||
unsigned c, method, count, port, i;
|
||||
char buffer [BUFSIZ];
|
||||
pid_t pid, ppid, *ptr;
|
||||
char *args;
|
||||
|
||||
count = PROFILE_COUNT;
|
||||
|
||||
setlocale (LC_ALL, "");
|
||||
bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR);
|
||||
textdomain (GETTEXT_PACKAGE);
|
||||
|
||||
glibtop_init_r (&glibtop_global_server, 0, GLIBTOP_INIT_NO_OPEN);
|
||||
|
||||
glibtop_get_parameter (GLIBTOP_PARAM_METHOD, &method, sizeof (method));
|
||||
|
||||
printf ("Method = %d\n", method);
|
||||
|
||||
count = glibtop_get_parameter (GLIBTOP_PARAM_COMMAND, buffer, BUFSIZ);
|
||||
buffer [count] = 0;
|
||||
|
||||
printf ("Command = '%s'\n", buffer);
|
||||
|
||||
count = glibtop_get_parameter (GLIBTOP_PARAM_HOST, buffer, BUFSIZ);
|
||||
buffer [count] = 0;
|
||||
|
||||
glibtop_get_parameter (GLIBTOP_PARAM_PORT, &port, sizeof (port));
|
||||
|
||||
printf ("Host = '%s' - %u\n\n", buffer, port);
|
||||
|
||||
glibtop_init_r (&glibtop_global_server, 0, 0);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_cpu (&data.cpu);
|
||||
|
||||
printf ("CPU (0x%08lx): %lu, %lu, %lu, %lu, %lu, %lu\n",
|
||||
(unsigned long) data.cpu.flags,
|
||||
(unsigned long) data.cpu.total,
|
||||
(unsigned long) data.cpu.user,
|
||||
(unsigned long) data.cpu.nice,
|
||||
(unsigned long) data.cpu.sys,
|
||||
(unsigned long) data.cpu.idle,
|
||||
(unsigned long) data.cpu.frequency);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_mem (&data.mem);
|
||||
|
||||
printf ("Memory (0x%08lx): "
|
||||
"%lu, %lu, %lu, %lu, %lu, %lu, %lu, %lu\n",
|
||||
(unsigned long) data.mem.flags,
|
||||
(unsigned long) data.mem.total,
|
||||
(unsigned long) data.mem.used,
|
||||
(unsigned long) data.mem.free,
|
||||
(unsigned long) data.mem.shared,
|
||||
(unsigned long) data.mem.buffer,
|
||||
(unsigned long) data.mem.cached,
|
||||
(unsigned long) data.mem.user,
|
||||
(unsigned long) data.mem.locked);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_swap (&data.swap);
|
||||
|
||||
printf ("Swap (0x%08lx): %lu, %lu, %lu, %lu, %lu\n",
|
||||
(unsigned long) data.swap.flags,
|
||||
(unsigned long) data.swap.total,
|
||||
(unsigned long) data.swap.used,
|
||||
(unsigned long) data.swap.free,
|
||||
(unsigned long) data.swap.pagein,
|
||||
(unsigned long) data.swap.pageout);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_uptime (&data.uptime);
|
||||
|
||||
printf ("Uptime (0x%08lx): %f, %f\n",
|
||||
(unsigned long) data.uptime.flags,
|
||||
data.uptime.uptime, data.uptime.idletime);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_loadavg (&data.loadavg);
|
||||
|
||||
printf ("Loadavg (0x%08lx): %f, %f, %f - %lu, %lu, %lu\n",
|
||||
(unsigned long) data.loadavg.flags,
|
||||
(double) data.loadavg.loadavg [0],
|
||||
(double) data.loadavg.loadavg [1],
|
||||
(double) data.loadavg.loadavg [2],
|
||||
(unsigned long) data.loadavg.nr_running,
|
||||
(unsigned long) data.loadavg.nr_tasks,
|
||||
(unsigned long) data.loadavg.last_pid);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_shm_limits (&data.shm_limits);
|
||||
|
||||
printf ("Shm Limits (0x%08lx): %lu, %lu, %lu, %lu, %lu\n",
|
||||
(unsigned long) data.shm_limits.flags,
|
||||
(unsigned long) data.shm_limits.shmmax,
|
||||
(unsigned long) data.shm_limits.shmmin,
|
||||
(unsigned long) data.shm_limits.shmmni,
|
||||
(unsigned long) data.shm_limits.shmseg,
|
||||
(unsigned long) data.shm_limits.shmall);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_msg_limits (&data.msg_limits);
|
||||
|
||||
printf ("Msg Limits (0x%08lx): %lu, %lu, %lu, %lu, %lu, %lu, %lu\n",
|
||||
(unsigned long) data.msg_limits.flags,
|
||||
(unsigned long) data.msg_limits.msgpool,
|
||||
(unsigned long) data.msg_limits.msgmap,
|
||||
(unsigned long) data.msg_limits.msgmax,
|
||||
(unsigned long) data.msg_limits.msgmnb,
|
||||
(unsigned long) data.msg_limits.msgmni,
|
||||
(unsigned long) data.msg_limits.msgssz,
|
||||
(unsigned long) data.msg_limits.msgtql);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_sem_limits (&data.sem_limits);
|
||||
|
||||
printf ("Sem Limits (0x%08lx): "
|
||||
"%lu, %lu, %lu, %lu, %lu, %lu, %lu, %lu, %lu, %lu\n",
|
||||
(unsigned long) data.sem_limits.flags,
|
||||
(unsigned long) data.sem_limits.semmap,
|
||||
(unsigned long) data.sem_limits.semmni,
|
||||
(unsigned long) data.sem_limits.semmns,
|
||||
(unsigned long) data.sem_limits.semmnu,
|
||||
(unsigned long) data.sem_limits.semmsl,
|
||||
(unsigned long) data.sem_limits.semopm,
|
||||
(unsigned long) data.sem_limits.semume,
|
||||
(unsigned long) data.sem_limits.semusz,
|
||||
(unsigned long) data.sem_limits.semvmx,
|
||||
(unsigned long) data.sem_limits.semaem);
|
||||
|
||||
printf ("\n");
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_ppp (&data.ppp, 0);
|
||||
|
||||
printf ("PPP (0x%08lx): %lu, %lu, %lu\n",
|
||||
(unsigned long) data.ppp.flags,
|
||||
(unsigned long) data.ppp.state,
|
||||
(unsigned long) data.ppp.bytes_in,
|
||||
(unsigned long) data.ppp.bytes_out);
|
||||
|
||||
printf ("\n");
|
||||
|
||||
glibtop_get_sysdeps (&sysdeps);
|
||||
|
||||
printf ("Sysdeps (0x%08lx): %lu, %lu, %lu, %lu, %lu, "
|
||||
"%lu, %lu, %lu, %lu, %lu, %lu, %lu, %lu, %lu, %lu, %lu, "
|
||||
"%lu, %lu, %lu, %lu, %lu, %lu\n",
|
||||
(unsigned long) sysdeps.flags,
|
||||
(unsigned long) sysdeps.cpu,
|
||||
(unsigned long) sysdeps.mem,
|
||||
(unsigned long) sysdeps.swap,
|
||||
(unsigned long) sysdeps.uptime,
|
||||
(unsigned long) sysdeps.loadavg,
|
||||
(unsigned long) sysdeps.shm_limits,
|
||||
(unsigned long) sysdeps.msg_limits,
|
||||
(unsigned long) sysdeps.sem_limits,
|
||||
(unsigned long) sysdeps.proclist,
|
||||
(unsigned long) sysdeps.proc_state,
|
||||
(unsigned long) sysdeps.proc_uid,
|
||||
(unsigned long) sysdeps.proc_mem,
|
||||
(unsigned long) sysdeps.proc_time,
|
||||
(unsigned long) sysdeps.proc_signal,
|
||||
(unsigned long) sysdeps.proc_kernel,
|
||||
(unsigned long) sysdeps.proc_segment,
|
||||
(unsigned long) sysdeps.proc_args,
|
||||
(unsigned long) sysdeps.proc_map,
|
||||
(unsigned long) sysdeps.mountlist,
|
||||
(unsigned long) sysdeps.fsusage,
|
||||
(unsigned long) sysdeps.netload,
|
||||
(unsigned long) sysdeps.ppp);
|
||||
|
||||
printf ("\n");
|
||||
|
||||
ptr = glibtop_get_proclist (&data.proclist, 0, 0);
|
||||
|
||||
printf ("Proclist (0x%08lx): %lu, %lu, %lu\n",
|
||||
(unsigned long) data.proclist.flags,
|
||||
(unsigned long) data.proclist.number,
|
||||
(unsigned long) data.proclist.size,
|
||||
(unsigned long) data.proclist.total);
|
||||
|
||||
if (ptr) {
|
||||
printf ("\nProcess: ");
|
||||
for (i = 0; i < data.proclist.number; i++)
|
||||
printf ("%s%u", i ? ", " : "", ptr [i]);
|
||||
printf ("\n");
|
||||
}
|
||||
|
||||
g_free (ptr);
|
||||
|
||||
pid = getpid ();
|
||||
ppid = getppid ();
|
||||
|
||||
printf ("\n");
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_state (&data.proc_state, pid);
|
||||
|
||||
printf ("Proc_State PID %5d (0x%08lx): '%s', %c, %lu, %lu\n",
|
||||
(int) pid, (unsigned long) data.proc_state.flags,
|
||||
data.proc_state.cmd, data.proc_state.state,
|
||||
(unsigned long) data.proc_state.uid,
|
||||
(unsigned long) data.proc_state.gid);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_uid (&data.proc_uid, pid);
|
||||
|
||||
printf ("Proc_Uid PID %5d (0x%08lx): "
|
||||
"%d %d %d %d %d %d %d %d %d %d %d %d\n", (int) pid,
|
||||
(unsigned long) data.proc_uid.flags,
|
||||
data.proc_uid.uid, data.proc_uid.euid,
|
||||
data.proc_uid.gid, data.proc_uid.egid,
|
||||
data.proc_uid.pid, data.proc_uid.ppid,
|
||||
data.proc_uid.pgrp, data.proc_uid.session,
|
||||
data.proc_uid.tty, data.proc_uid.tpgid,
|
||||
data.proc_uid.priority, data.proc_uid.nice);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_mem (&data.proc_mem, pid);
|
||||
|
||||
printf ("Proc_Mem PID %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu %lu %lu\n", (int) pid,
|
||||
(unsigned long) data.proc_mem.flags,
|
||||
(unsigned long) data.proc_mem.size,
|
||||
(unsigned long) data.proc_mem.vsize,
|
||||
(unsigned long) data.proc_mem.resident,
|
||||
(unsigned long) data.proc_mem.share,
|
||||
(unsigned long) data.proc_mem.rss,
|
||||
(unsigned long) data.proc_mem.rss_rlim);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_segment (&data.proc_segment, pid);
|
||||
|
||||
printf ("Proc_Segment PID %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu %lu %lu %lu %lu\n", (int) pid,
|
||||
(unsigned long) data.proc_segment.flags,
|
||||
(unsigned long) data.proc_segment.text_rss,
|
||||
(unsigned long) data.proc_segment.shlib_rss,
|
||||
(unsigned long) data.proc_segment.data_rss,
|
||||
(unsigned long) data.proc_segment.stack_rss,
|
||||
(unsigned long) data.proc_segment.dirty_size,
|
||||
(unsigned long) data.proc_segment.start_code,
|
||||
(unsigned long) data.proc_segment.end_code,
|
||||
(unsigned long) data.proc_segment.start_stack);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_time (&data.proc_time, pid);
|
||||
|
||||
printf ("Proc_Time PID %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu %lu %lu %lu %lu %lu\n", (int) pid,
|
||||
(unsigned long) data.proc_time.flags,
|
||||
(unsigned long) data.proc_time.start_time,
|
||||
(unsigned long) data.proc_time.rtime,
|
||||
(unsigned long) data.proc_time.utime,
|
||||
(unsigned long) data.proc_time.stime,
|
||||
(unsigned long) data.proc_time.cutime,
|
||||
(unsigned long) data.proc_time.cstime,
|
||||
(unsigned long) data.proc_time.timeout,
|
||||
(unsigned long) data.proc_time.it_real_value,
|
||||
(unsigned long) data.proc_time.frequency);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_signal (&data.proc_signal, pid);
|
||||
|
||||
printf ("Proc_Signal PID %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu\n", (int) pid,
|
||||
(unsigned long) data.proc_signal.flags,
|
||||
(unsigned long) data.proc_signal.signal,
|
||||
(unsigned long) data.proc_signal.blocked,
|
||||
(unsigned long) data.proc_signal.sigignore,
|
||||
(unsigned long) data.proc_signal.sigcatch);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_kernel (&data.proc_kernel, pid);
|
||||
|
||||
printf ("Proc_Kernel PID %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu %lu 0x%lx 0x%lx 0x%lx (%s)\n", (int) pid,
|
||||
(unsigned long) data.proc_kernel.flags,
|
||||
(unsigned long) data.proc_kernel.k_flags,
|
||||
(unsigned long) data.proc_kernel.min_flt,
|
||||
(unsigned long) data.proc_kernel.maj_flt,
|
||||
(unsigned long) data.proc_kernel.cmin_flt,
|
||||
(unsigned long) data.proc_kernel.cmaj_flt,
|
||||
(unsigned long) data.proc_kernel.kstk_esp,
|
||||
(unsigned long) data.proc_kernel.kstk_eip,
|
||||
(unsigned long) data.proc_kernel.nwchan,
|
||||
data.proc_kernel.wchan);
|
||||
|
||||
printf ("\n");
|
||||
|
||||
args = glibtop_get_proc_args (&data.proc_args, pid, 0);
|
||||
|
||||
for (i = 0; i < data.proc_args.size; i++) {
|
||||
if (args [i]) continue;
|
||||
args [i] = '|';
|
||||
}
|
||||
|
||||
printf ("Proc_Args PID %5d (0x%08lx): %lu - '%s'\n", (int) pid,
|
||||
(unsigned long) data.proc_args.flags,
|
||||
(unsigned long) data.proc_args.size,
|
||||
args ? args : "");
|
||||
|
||||
g_free (args);
|
||||
|
||||
printf ("\n");
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_state (&data.proc_state, ppid);
|
||||
|
||||
printf ("Proc_State PPID %5d (0x%08lx): '%s', %c, %lu, %lu\n",
|
||||
(int) ppid, (unsigned long) data.proc_state.flags,
|
||||
data.proc_state.cmd, data.proc_state.state,
|
||||
(unsigned long) data.proc_state.uid,
|
||||
(unsigned long) data.proc_state.gid);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_uid (&data.proc_uid, ppid);
|
||||
|
||||
printf ("Proc_Uid PPID %5d (0x%08lx): "
|
||||
"%d %d %d %d %d %d %d %d %d %d %d %d\n", (int) ppid,
|
||||
(unsigned long) data.proc_uid.flags,
|
||||
data.proc_uid.uid, data.proc_uid.euid,
|
||||
data.proc_uid.gid, data.proc_uid.egid,
|
||||
data.proc_uid.pid, data.proc_uid.ppid,
|
||||
data.proc_uid.pgrp, data.proc_uid.session,
|
||||
data.proc_uid.tty, data.proc_uid.tpgid,
|
||||
data.proc_uid.priority, data.proc_uid.nice);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_mem (&data.proc_mem, ppid);
|
||||
|
||||
printf ("Proc_Mem PPID %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu %lu %lu\n", (int) ppid,
|
||||
(unsigned long) data.proc_mem.flags,
|
||||
(unsigned long) data.proc_mem.size,
|
||||
(unsigned long) data.proc_mem.vsize,
|
||||
(unsigned long) data.proc_mem.resident,
|
||||
(unsigned long) data.proc_mem.share,
|
||||
(unsigned long) data.proc_mem.rss,
|
||||
(unsigned long) data.proc_mem.rss_rlim);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_segment (&data.proc_segment, ppid);
|
||||
|
||||
printf ("Proc_Segment PPID %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu %lu %lu %lu %lu\n", (int) ppid,
|
||||
(unsigned long) data.proc_segment.flags,
|
||||
(unsigned long) data.proc_segment.text_rss,
|
||||
(unsigned long) data.proc_segment.shlib_rss,
|
||||
(unsigned long) data.proc_segment.data_rss,
|
||||
(unsigned long) data.proc_segment.stack_rss,
|
||||
(unsigned long) data.proc_segment.dirty_size,
|
||||
(unsigned long) data.proc_segment.start_code,
|
||||
(unsigned long) data.proc_segment.end_code,
|
||||
(unsigned long) data.proc_segment.start_stack);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_time (&data.proc_time, ppid);
|
||||
|
||||
printf ("Proc_Time PPID %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu %lu %lu %lu %lu %lu\n", (int) ppid,
|
||||
(unsigned long) data.proc_time.flags,
|
||||
(unsigned long) data.proc_time.start_time,
|
||||
(unsigned long) data.proc_time.rtime,
|
||||
(unsigned long) data.proc_time.utime,
|
||||
(unsigned long) data.proc_time.stime,
|
||||
(unsigned long) data.proc_time.cutime,
|
||||
(unsigned long) data.proc_time.cstime,
|
||||
(unsigned long) data.proc_time.timeout,
|
||||
(unsigned long) data.proc_time.it_real_value,
|
||||
(unsigned long) data.proc_time.frequency);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_signal (&data.proc_signal, ppid);
|
||||
|
||||
printf ("Proc_Signal PPID %5d (0x%08lx): %lu %lu %lu %lu\n",
|
||||
(int) ppid, (unsigned long) data.proc_signal.flags,
|
||||
(unsigned long) data.proc_signal.signal,
|
||||
(unsigned long) data.proc_signal.blocked,
|
||||
(unsigned long) data.proc_signal.sigignore,
|
||||
(unsigned long) data.proc_signal.sigcatch);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_kernel (&data.proc_kernel, ppid);
|
||||
|
||||
printf ("Proc_Kernel PPID %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu %lu 0x%lx 0x%lx 0x%lx (%s)\n", (int) ppid,
|
||||
(unsigned long) data.proc_kernel.flags,
|
||||
(unsigned long) data.proc_kernel.k_flags,
|
||||
(unsigned long) data.proc_kernel.min_flt,
|
||||
(unsigned long) data.proc_kernel.maj_flt,
|
||||
(unsigned long) data.proc_kernel.cmin_flt,
|
||||
(unsigned long) data.proc_kernel.cmaj_flt,
|
||||
(unsigned long) data.proc_kernel.kstk_esp,
|
||||
(unsigned long) data.proc_kernel.kstk_eip,
|
||||
(unsigned long) data.proc_kernel.nwchan,
|
||||
data.proc_kernel.wchan);
|
||||
|
||||
printf ("\n");
|
||||
|
||||
args = glibtop_get_proc_args (&data.proc_args, ppid, 0);
|
||||
|
||||
for (i = 0; i < data.proc_args.size; i++) {
|
||||
if (args [i]) continue;
|
||||
args [i] = '|';
|
||||
}
|
||||
|
||||
printf ("Proc_Args PID %5d (0x%08lx): %lu - '%s'\n", (int) ppid,
|
||||
(unsigned long) data.proc_args.flags,
|
||||
(unsigned long) data.proc_args.size,
|
||||
args ? args : "");
|
||||
|
||||
g_free (args);
|
||||
|
||||
printf ("\n");
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_state (&data.proc_state, 1);
|
||||
|
||||
printf ("Proc_State INIT %5d (0x%08lx): '%s', %c, %lu, %lu\n", 1,
|
||||
(unsigned long) data.proc_state.flags,
|
||||
data.proc_state.cmd, data.proc_state.state,
|
||||
(unsigned long) data.proc_state.uid,
|
||||
(unsigned long) data.proc_state.gid);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_uid (&data.proc_uid, 1);
|
||||
|
||||
printf ("Proc_Uid INIT %5d (0x%08lx): "
|
||||
"%d %d %d %d %d %d %d %d %d %d %d %d\n", 1,
|
||||
(unsigned long) data.proc_uid.flags,
|
||||
data.proc_uid.uid, data.proc_uid.euid,
|
||||
data.proc_uid.gid, data.proc_uid.egid,
|
||||
data.proc_uid.pid, data.proc_uid.ppid,
|
||||
data.proc_uid.pgrp, data.proc_uid.session,
|
||||
data.proc_uid.tty, data.proc_uid.tpgid,
|
||||
data.proc_uid.priority, data.proc_uid.nice);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_mem (&data.proc_mem, 1);
|
||||
|
||||
printf ("Proc_Mem INIT %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu %lu %lu\n", 1,
|
||||
(unsigned long) data.proc_mem.flags,
|
||||
(unsigned long) data.proc_mem.size,
|
||||
(unsigned long) data.proc_mem.vsize,
|
||||
(unsigned long) data.proc_mem.resident,
|
||||
(unsigned long) data.proc_mem.share,
|
||||
(unsigned long) data.proc_mem.rss,
|
||||
(unsigned long) data.proc_mem.rss_rlim);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_segment (&data.proc_segment, 1);
|
||||
|
||||
printf ("Proc_Segment INIT %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu %lu %lu %lu %lu\n", 1,
|
||||
(unsigned long) data.proc_segment.flags,
|
||||
(unsigned long) data.proc_segment.text_rss,
|
||||
(unsigned long) data.proc_segment.shlib_rss,
|
||||
(unsigned long) data.proc_segment.data_rss,
|
||||
(unsigned long) data.proc_segment.stack_rss,
|
||||
(unsigned long) data.proc_segment.dirty_size,
|
||||
(unsigned long) data.proc_segment.start_code,
|
||||
(unsigned long) data.proc_segment.end_code,
|
||||
(unsigned long) data.proc_segment.start_stack);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_time (&data.proc_time, 1);
|
||||
|
||||
printf ("Proc_Time INIT %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu %lu %lu %lu %lu %lu\n", 1,
|
||||
(unsigned long) data.proc_time.flags,
|
||||
(unsigned long) data.proc_time.start_time,
|
||||
(unsigned long) data.proc_time.rtime,
|
||||
(unsigned long) data.proc_time.utime,
|
||||
(unsigned long) data.proc_time.stime,
|
||||
(unsigned long) data.proc_time.cutime,
|
||||
(unsigned long) data.proc_time.cstime,
|
||||
(unsigned long) data.proc_time.timeout,
|
||||
(unsigned long) data.proc_time.it_real_value,
|
||||
(unsigned long) data.proc_time.frequency);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_signal (&data.proc_signal, 1);
|
||||
|
||||
printf ("Proc_Signal INIT %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu\n", 1,
|
||||
(unsigned long) data.proc_signal.flags,
|
||||
(unsigned long) data.proc_signal.signal,
|
||||
(unsigned long) data.proc_signal.blocked,
|
||||
(unsigned long) data.proc_signal.sigignore,
|
||||
(unsigned long) data.proc_signal.sigcatch);
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++)
|
||||
glibtop_get_proc_kernel (&data.proc_kernel, 1);
|
||||
|
||||
printf ("Proc_Kernel INIT %5d (0x%08lx): "
|
||||
"%lu %lu %lu %lu %lu 0x%lx 0x%lx 0x%lx (%s)\n", 1,
|
||||
(unsigned long) data.proc_kernel.flags,
|
||||
(unsigned long) data.proc_kernel.k_flags,
|
||||
(unsigned long) data.proc_kernel.min_flt,
|
||||
(unsigned long) data.proc_kernel.maj_flt,
|
||||
(unsigned long) data.proc_kernel.cmin_flt,
|
||||
(unsigned long) data.proc_kernel.cmaj_flt,
|
||||
(unsigned long) data.proc_kernel.kstk_esp,
|
||||
(unsigned long) data.proc_kernel.kstk_eip,
|
||||
(unsigned long) data.proc_kernel.nwchan,
|
||||
data.proc_kernel.wchan);
|
||||
|
||||
printf ("\n");
|
||||
|
||||
args = glibtop_get_proc_args (&data.proc_args, 1, 0);
|
||||
|
||||
for (i = 0; i < data.proc_args.size; i++) {
|
||||
if (args [i]) continue;
|
||||
args [i] = '|';
|
||||
}
|
||||
|
||||
printf ("Proc_Args PID %5d (0x%08lx): %lu - '%s'\n", 1,
|
||||
(unsigned long) data.proc_args.flags,
|
||||
(unsigned long) data.proc_args.size,
|
||||
args ? args : "");
|
||||
|
||||
g_free (args);
|
||||
|
||||
glibtop_close ();
|
||||
|
||||
exit (0);
|
||||
}
|
||||
44
examples/free.c
Normal file
@@ -0,0 +1,44 @@
|
||||
#include <glibtop.h>
|
||||
#include <glibtop/mem.h>
|
||||
#include <glibtop/swap.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
static unsigned mb(guint64 n)
|
||||
{
|
||||
return n >> 20;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
glibtop_mem mem;
|
||||
glibtop_swap swap;
|
||||
|
||||
glibtop_init();
|
||||
|
||||
glibtop_get_mem(&mem);
|
||||
glibtop_get_swap(&swap);
|
||||
|
||||
printf(" total used free shared buff/cache available\n");
|
||||
|
||||
printf("%-7s %11u %11u %11u %11u %11u %11u\n",
|
||||
"Mem:",
|
||||
mb(mem.total),
|
||||
mb(mem.used - mem.buffer - mem.cached),
|
||||
mb(mem.free),
|
||||
mb(mem.shared),
|
||||
mb(mem.buffer + mem.cached),
|
||||
mb(mem.total - mem.user));
|
||||
|
||||
printf("%-7s %11u %11u %11u\n",
|
||||
"Swap:",
|
||||
mb(swap.total),
|
||||
mb(swap.used),
|
||||
mb(swap.free));
|
||||
|
||||
glibtop_close();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
116
examples/mountlist.c
Normal file
@@ -0,0 +1,116 @@
|
||||
/* Copyright (C) 1998-99 Martin Baulig
|
||||
This file is part of LibGTop 1.0.
|
||||
|
||||
Contributed by Martin Baulig <martin@home-of-linux.org>, April 1998.
|
||||
|
||||
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.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <locale.h>
|
||||
#include <libintl.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <glibtop.h>
|
||||
#include <glibtop/open.h>
|
||||
#include <glibtop/close.h>
|
||||
|
||||
#include <glibtop/parameter.h>
|
||||
|
||||
#include <glibtop/mountlist.h>
|
||||
#include <glibtop/fsusage.h>
|
||||
|
||||
#ifndef PROFILE_COUNT
|
||||
#define PROFILE_COUNT 1000
|
||||
#endif
|
||||
|
||||
int
|
||||
main (int argc, char *argv [])
|
||||
{
|
||||
glibtop_fsusage fsusage;
|
||||
glibtop_mountlist mount_list;
|
||||
glibtop_mountentry *mount_entries;
|
||||
unsigned c, index, method, count, port;
|
||||
char buffer [BUFSIZ];
|
||||
|
||||
setlocale (LC_ALL, "");
|
||||
bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR);
|
||||
textdomain (GETTEXT_PACKAGE);
|
||||
|
||||
glibtop_init_r (&glibtop_global_server, 0, GLIBTOP_INIT_NO_OPEN);
|
||||
|
||||
glibtop_get_parameter (GLIBTOP_PARAM_METHOD, &method, sizeof (method));
|
||||
|
||||
printf ("Method = %d\n", method);
|
||||
|
||||
count = glibtop_get_parameter (GLIBTOP_PARAM_COMMAND, buffer, BUFSIZ);
|
||||
buffer [count] = 0;
|
||||
|
||||
printf ("Command = '%s'\n", buffer);
|
||||
|
||||
count = glibtop_get_parameter (GLIBTOP_PARAM_HOST, buffer, BUFSIZ);
|
||||
buffer [count] = 0;
|
||||
|
||||
glibtop_get_parameter (GLIBTOP_PARAM_PORT, &port, sizeof (port));
|
||||
|
||||
printf ("Host = '%s' - %u\n\n", buffer, port);
|
||||
|
||||
printf ("sbrk (0) = %p\n\n", sbrk (0));
|
||||
|
||||
for (c = 0; c < PROFILE_COUNT; c++) {
|
||||
mount_entries = glibtop_get_mountlist (&mount_list, 1);
|
||||
|
||||
g_free (mount_entries);
|
||||
}
|
||||
|
||||
printf ("sbrk (0) = %p\n\n", sbrk (0));
|
||||
|
||||
mount_entries = glibtop_get_mountlist (&mount_list, 1);
|
||||
|
||||
if (mount_entries == NULL)
|
||||
_exit (1);
|
||||
|
||||
for (index = 0; index < mount_list.number; index++)
|
||||
printf ("Mount_Entry: %-30s %-10s %-20s\n",
|
||||
mount_entries [index].mountdir,
|
||||
mount_entries [index].type,
|
||||
mount_entries [index].devname);
|
||||
|
||||
printf ("\n\n%-16s %9s %9s %9s %9s %9s %9s\n",
|
||||
"Mount", "Blocks", "Free", "Avail", "Files", "Free", "BlockSz");
|
||||
|
||||
for (index = 0; index < mount_list.number; index++) {
|
||||
glibtop_get_fsusage (&fsusage,
|
||||
mount_entries [index].mountdir);
|
||||
|
||||
printf ("%-16s %9Lu %9Lu %9Lu %9Lu %9Lu %9d\n",
|
||||
mount_entries [index].mountdir,
|
||||
fsusage.blocks, fsusage.bfree,
|
||||
fsusage.bavail, fsusage.files,
|
||||
fsusage.ffree, fsusage.block_size);
|
||||
}
|
||||
|
||||
g_free (mount_entries);
|
||||
|
||||
printf ("\nsbrk (0) = %p\n\n", sbrk (0));
|
||||
|
||||
glibtop_close ();
|
||||
|
||||
exit (0);
|
||||
}
|
||||
50
examples/netlist.c
Normal file
@@ -0,0 +1,50 @@
|
||||
/* Copyright (C) 2004 Benoît Dejean
|
||||
This file is part of LibGTop 2.0.
|
||||
|
||||
|
||||
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.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <glibtop.h>
|
||||
#include <glibtop/netlist.h>
|
||||
|
||||
|
||||
int main(int argc, char *argv [])
|
||||
{
|
||||
glibtop_netlist buf;
|
||||
char **devices;
|
||||
guint32 i;
|
||||
|
||||
glibtop_init();
|
||||
|
||||
devices = glibtop_get_netlist(&buf);
|
||||
|
||||
for(i = 0; i < buf.number; ++i)
|
||||
{
|
||||
printf("net device '%s'\n", devices[i]);
|
||||
}
|
||||
|
||||
g_strfreev(devices);
|
||||
|
||||
glibtop_close();
|
||||
return 0;
|
||||
}
|
||||