Martin Baulig


    
  

Germán Poó-Caamaño


    
  

for libgtop 2.40.0

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, 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 GNU Free Documentation License from the Free Software Foundation by visiting their Web site or by writing to: Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

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.

Abstract

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.


White paper
Introduction
Overview
Interface Design: Things that need to be considered
Server Implementation: The LibGTop "server"
Libgtop Library Reference
GlibTop — Server initilization
Close
Command
GlibTop Server
Net Load — Network Load.
PPP — PPP Usage.
Shared Memory Limits
Uptime
Net List — Network Devices List.
open
parameter
Process Arguments — Get process command line arguments
procmem
procopenfiles
procsegment
procsignal
sysdeps
procstate
procuid
Process Time — Get process time information
signal
procmap
sysinfo
union
version
Process List — List running processes
sem_limits
prockernel
fsusage
loadavg
mem
mountlist
msg_limits
cpu
swap