Compare commits
56 Commits
LIBGTOP_2_
...
linux_daem
Author | SHA1 | Date | |
---|---|---|---|
|
6c95195787 | ||
|
ef34cfb38a | ||
|
1e0ba1d7aa | ||
|
6b0bafcafb | ||
|
c0856a39bd | ||
|
270820a05c | ||
|
358660837c | ||
|
e387c66aad | ||
|
e774440e77 | ||
|
c7295cd5f0 | ||
|
65fe248d66 | ||
|
5c479c9a45 | ||
|
6509ddff4c | ||
|
ee78aaf29c | ||
|
a5f59cb81a | ||
|
a99011fd5c | ||
|
598374bb1c | ||
|
b1acd4461e | ||
|
0e2fe6158c | ||
|
f8b9e6f7cc | ||
|
8fc7451000 | ||
|
aaab91cc20 | ||
|
cde89c59b1 | ||
|
0ce04dd037 | ||
|
8e4c6df830 | ||
|
da54431af5 | ||
|
ace68aa492 | ||
|
eee0cad2b6 | ||
|
785b30aeb6 | ||
|
3eb958dc6c | ||
|
cd389851b9 | ||
|
7ee8dae9c5 | ||
|
4b9bb4ee71 | ||
|
aa9fafe5c3 | ||
|
e0c1214cdd | ||
|
82612af053 | ||
|
2f6439a239 | ||
|
44ff5b7599 | ||
|
eb6c8b696f | ||
|
177d1aa841 | ||
|
021153bc49 | ||
|
89810a70ec | ||
|
504ff4ec59 | ||
|
04a5531a46 | ||
|
5a15e409cf | ||
|
747438e334 | ||
|
10211bf7da | ||
|
09f8aaec1e | ||
|
9f509067d4 | ||
|
a085c85db6 | ||
|
c6a7459bc9 | ||
|
3d06443c2c | ||
|
3f49e555fc | ||
|
e156172e7c | ||
|
c9385972bd | ||
|
b411ee115f |
48
.cvsignore
48
.cvsignore
@@ -1,48 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
aclocal.m4
|
|
||||||
config.cache
|
|
||||||
config.h
|
|
||||||
config.h.in
|
|
||||||
config.log
|
|
||||||
config.sub
|
|
||||||
config.guess
|
|
||||||
config.status
|
|
||||||
configure
|
|
||||||
gtopConf.sh
|
|
||||||
i386-bsdi
|
|
||||||
i686-pc-linux-gnu
|
|
||||||
intl
|
|
||||||
libgtop-mirror.sh.swp
|
|
||||||
libgtopConf.sh
|
|
||||||
libtool
|
|
||||||
ltconfig
|
|
||||||
ltmain.sh
|
|
||||||
macros
|
|
||||||
stamp-h
|
|
||||||
stamp-h.in
|
|
||||||
sun4
|
|
||||||
sun4sol2
|
|
||||||
support
|
|
||||||
i386-freebsd
|
|
||||||
alpha-dec-osf3.0
|
|
||||||
i686-pc-linux-gnu-linux
|
|
||||||
libgtop-config
|
|
||||||
ABOUT-NLS
|
|
||||||
libgtop.spec
|
|
||||||
libgtop*.tar.gz
|
|
||||||
*-debstamp
|
|
||||||
libgtop*.pc
|
|
||||||
autom4te.cache
|
|
||||||
COPYING
|
|
||||||
INSTALL
|
|
||||||
install-sh
|
|
||||||
missing
|
|
||||||
mkinstalldirs
|
|
||||||
libgtopconfig.h
|
|
||||||
intltool-extract.in
|
|
||||||
intltool-extract
|
|
||||||
intltool-merge.in
|
|
||||||
intltool-merge
|
|
||||||
intltool-update.in
|
|
||||||
intltool-update
|
|
133
ChangeLog
133
ChangeLog
@@ -1,3 +1,136 @@
|
|||||||
|
2007-05-19 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* features.def:
|
||||||
|
* include/glibtop/proclist.h:
|
||||||
|
|
||||||
|
Small API change.
|
||||||
|
get_proclist returns pid_t instead of unsigned for consistency.
|
||||||
|
I have checked many archs and this doesn't break the ABI.
|
||||||
|
|
||||||
|
2007-05-17 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* configure.in:
|
||||||
|
|
||||||
|
Bumped version number.
|
||||||
|
|
||||||
|
2007-05-14 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* include/glibtop/Makefile.am:
|
||||||
|
* lib/Makefile.am:
|
||||||
|
|
||||||
|
Fixed dist.
|
||||||
|
|
||||||
|
2007-05-13 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* NEWS:
|
||||||
|
* configure.in:
|
||||||
|
|
||||||
|
Released 2.19.2.
|
||||||
|
|
||||||
|
2007-05-10 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* lib/libgtop.sym:
|
||||||
|
|
||||||
|
Added missing *_p symbols.
|
||||||
|
|
||||||
|
2007-05-07 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* configure.in:
|
||||||
|
* lib/Makefile.am:
|
||||||
|
* lib/libgtop.sym:
|
||||||
|
|
||||||
|
Updated libtool version.
|
||||||
|
Now uses a symbol list instead of a regex.
|
||||||
|
|
||||||
|
2007-05-07 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* New API to get cwd, root and exe path
|
||||||
|
of a process. API not frozen yet.
|
||||||
|
|
||||||
|
2007-04-27 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
Got rid of InodeDB.
|
||||||
|
This feature was optionnal and i have never heard of anyone using
|
||||||
|
it. I have never touched it so it may be broken since 2.6.
|
||||||
|
|
||||||
|
2007-04-11 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* *:
|
||||||
|
|
||||||
|
Renamed all glibtop_init_xxx functions
|
||||||
|
to _glibtop_init_xxx so they get internal visibility.
|
||||||
|
|
||||||
|
* configure.in:
|
||||||
|
|
||||||
|
Bumped version number.
|
||||||
|
|
||||||
|
2007-03-13 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* MAINTAINERS:
|
||||||
|
|
||||||
|
Updated.
|
||||||
|
|
||||||
|
2007-02-25 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* NEWS:
|
||||||
|
|
||||||
|
Released 2.14.8.
|
||||||
|
|
||||||
|
2007-02-20 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* *:
|
||||||
|
|
||||||
|
Removed noisy $Id$.
|
||||||
|
|
||||||
|
2007-02-18 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* configure.in:
|
||||||
|
* libgtop-sysdeps.m4:
|
||||||
|
* sysdeps/Makefile.am:
|
||||||
|
|
||||||
|
Huge (k)FreeBSD update.
|
||||||
|
(k)FreeBSD support is freebsd/
|
||||||
|
Other BSD are in bsd/
|
||||||
|
|
||||||
|
Patch by Joe Marcus Clarke <marcus@freebsd.org>
|
||||||
|
Alexander Nedotsukov <bland@FreeBSD.org>
|
||||||
|
|
||||||
|
Closes #407693.
|
||||||
|
|
||||||
|
2007-02-14 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* lib/read.c: (glibtop_read_l):
|
||||||
|
* lib/write.c: (glibtop_write_l):
|
||||||
|
|
||||||
|
Handle EINTR.
|
||||||
|
|
||||||
|
* configure.in:
|
||||||
|
|
||||||
|
Post release version bump.
|
||||||
|
|
||||||
|
2007-02-10 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* NEWS:
|
||||||
|
* configure.in:
|
||||||
|
|
||||||
|
Released 2.14.7.
|
||||||
|
|
||||||
|
2007-01-14 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* NEWS:
|
||||||
|
|
||||||
|
Released 2.14.6.
|
||||||
|
|
||||||
|
2007-01-11 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* configure.in:
|
||||||
|
|
||||||
|
Bumped version number to 2.14.6.
|
||||||
|
|
||||||
|
* *:
|
||||||
|
|
||||||
|
Got rid of CVS admin files.
|
||||||
|
|
||||||
2006-12-03 Benoît Dejean <benoit@placenet.org>
|
2006-12-03 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
* doc/reference/libgtop-docs.xml:
|
* doc/reference/libgtop-docs.xml:
|
||||||
|
@@ -1,3 +1 @@
|
|||||||
Email: martin@home-of-linux.org
|
Benoît Dejean (benoit@placenet.org)
|
||||||
Email: dave@srce.hr
|
|
||||||
Current maintainer : Benoît Dejean (benoit@placenet.org)
|
|
||||||
|
44
NEWS
44
NEWS
@@ -1,3 +1,47 @@
|
|||||||
|
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
|
December 3, 2006: Overview of changes in 2.14.5
|
||||||
===============================================
|
===============================================
|
||||||
* Added kfreebsd support (Petr Salinger <Petr.Salinger@seznam.cz>).
|
* Added kfreebsd support (Petr Salinger <Petr.Salinger@seznam.cz>).
|
||||||
|
41
configure.in
41
configure.in
@@ -3,12 +3,12 @@ dnl Configure script for the Gnome library
|
|||||||
dnl
|
dnl
|
||||||
|
|
||||||
m4_define([libgtop_major_version], [2])
|
m4_define([libgtop_major_version], [2])
|
||||||
m4_define([libgtop_minor_version], [14])
|
m4_define([libgtop_minor_version], [19])
|
||||||
m4_define([libgtop_micro_version], [5])
|
m4_define([libgtop_micro_version], [4])
|
||||||
m4_define([libgtop_version], [libgtop_major_version.libgtop_minor_version.libgtop_micro_version])
|
m4_define([libgtop_version], [libgtop_major_version.libgtop_minor_version.libgtop_micro_version])
|
||||||
|
|
||||||
dnl increment if the interface has additions, changes, removals.
|
dnl increment if the interface has additions, changes, removals.
|
||||||
m4_define([libgtop_current], [7])
|
m4_define([libgtop_current], [8])
|
||||||
|
|
||||||
dnl increment any time the source changes; set to
|
dnl increment any time the source changes; set to
|
||||||
dnl 0 if you increment CURRENT
|
dnl 0 if you increment CURRENT
|
||||||
@@ -17,7 +17,7 @@ m4_define([libgtop_revision], [0])
|
|||||||
dnl increment if any interfaces have been added; set to 0
|
dnl increment if any interfaces have been added; set to 0
|
||||||
dnl if any interfaces have been removed. removal has
|
dnl if any interfaces have been removed. removal has
|
||||||
dnl precedence over adding, so set to 0 if both happened.
|
dnl precedence over adding, so set to 0 if both happened.
|
||||||
m4_define([libgtop_age], [0])
|
m4_define([libgtop_age], [1])
|
||||||
|
|
||||||
# Increase each time you change the client/server protocol.
|
# Increase each time you change the client/server protocol.
|
||||||
m4_define([libgtop_server_version], [5])
|
m4_define([libgtop_server_version], [5])
|
||||||
@@ -87,39 +87,12 @@ AM_CONDITIONAL(CROSS_COMPILING, test "x$cross_compiling" = xyes)
|
|||||||
GNOME_LIBGTOP_SYSDEPS
|
GNOME_LIBGTOP_SYSDEPS
|
||||||
GNOME_LIBGTOP_TYPES
|
GNOME_LIBGTOP_TYPES
|
||||||
|
|
||||||
AC_ARG_WITH(libgtop-inodedb,
|
|
||||||
AS_HELP_STRING([--with-libgtop-inodedb],
|
|
||||||
[Build the inodedb stuff @<:@default=no@:>@]),
|
|
||||||
[build_inodedb="$withval"],
|
|
||||||
[build_inodedb=no])
|
|
||||||
|
|
||||||
LIBGTOP_EXTRA_LIBS=
|
|
||||||
|
|
||||||
if test x$build_inodedb = xyes ; then
|
|
||||||
AC_CHECK_LIB(gdbm, gdbm_open, LIBGTOP_EXTRA_LIBS='-lgdbm', build_inodedb=no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AM_CONDITIONAL(INODEDB, test x$build_inodedb = xyes)
|
|
||||||
|
|
||||||
if test x$build_inodedb = xyes ; then
|
|
||||||
AC_DEFINE(GLIBTOP_INODEDB, 1,
|
|
||||||
[Define if the libgtop inodedb should be built])
|
|
||||||
fi
|
|
||||||
|
|
||||||
GLIB_REQUIRED=2.6.0
|
GLIB_REQUIRED=2.6.0
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
|
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED)
|
||||||
AC_SUBST(GLIB_CFLAGS)
|
AC_SUBST(GLIB_CFLAGS)
|
||||||
AC_SUBST(GLIB_LIBS)
|
AC_SUBST(GLIB_LIBS)
|
||||||
|
|
||||||
AC_CHECK_HEADER(popt.h,[POPT=yes],[POPT=no])
|
|
||||||
AC_MSG_CHECKING(for popt.h)
|
|
||||||
if test x$POPT = xyes ; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR([libgtop requires the popt development libraries])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_CHECK_HEADER(ifaddrs.h, [HAVE_IFADDRS_H=yes], [HAVE_IFADDRS_H=no])
|
AC_CHECK_HEADER(ifaddrs.h, [HAVE_IFADDRS_H=yes], [HAVE_IFADDRS_H=no])
|
||||||
if test x$HAVE_IFADDRS_H = xyes ; then
|
if test x$HAVE_IFADDRS_H = xyes ; then
|
||||||
AC_DEFINE(HAVE_IFADDRS_H, 1, [defined if you have ifaddrs.h])
|
AC_DEFINE(HAVE_IFADDRS_H, 1, [defined if you have ifaddrs.h])
|
||||||
@@ -300,10 +273,6 @@ if test x$libgtop_use_machine_h = xyes ; then
|
|||||||
LIBGTOP_INCS="$LIBGTOP_INCS -DHAVE_GLIBTOP_MACHINE_H"
|
LIBGTOP_INCS="$LIBGTOP_INCS -DHAVE_GLIBTOP_MACHINE_H"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$build_inodedb = xyes ; then
|
|
||||||
LIBGTOP_INCS="$LIBGTOP_INCS -DGLIBTOP_INODEDB"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x$libgtop_smp = xyes ; then
|
if test x$libgtop_smp = xyes ; then
|
||||||
LIBGTOP_INCS="$LIBGTOP_INCS -DHAVE_LIBGTOP_SMP"
|
LIBGTOP_INCS="$LIBGTOP_INCS -DHAVE_LIBGTOP_SMP"
|
||||||
fi
|
fi
|
||||||
@@ -410,9 +379,9 @@ sysdeps/linux/Makefile
|
|||||||
sysdeps/freebsd/Makefile
|
sysdeps/freebsd/Makefile
|
||||||
sysdeps/solaris/Makefile
|
sysdeps/solaris/Makefile
|
||||||
sysdeps/aix/Makefile
|
sysdeps/aix/Makefile
|
||||||
|
sysdeps/bsd/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/daemon/Makefile
|
src/daemon/Makefile
|
||||||
src/inodedb/Makefile
|
|
||||||
lib/Makefile
|
lib/Makefile
|
||||||
examples/Makefile
|
examples/Makefile
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
|
9
debian/.cvsignore
vendored
9
debian/.cvsignore
vendored
@@ -1,9 +0,0 @@
|
|||||||
control
|
|
||||||
rules
|
|
||||||
build
|
|
||||||
tmp
|
|
||||||
*.postinst
|
|
||||||
*.debhelper
|
|
||||||
*.files
|
|
||||||
files
|
|
||||||
substvars
|
|
@@ -1,11 +0,0 @@
|
|||||||
texinfo.tex
|
|
||||||
*.info
|
|
||||||
Makefile.in
|
|
||||||
Makefile
|
|
||||||
*.log *.toc *.dvi *.aux *.cp *.fn *.vr *.tp *.ky *.pg
|
|
||||||
*.ps
|
|
||||||
auto-macros.texi
|
|
||||||
version.texi
|
|
||||||
stamp-vti
|
|
||||||
*.html *.pdf
|
|
||||||
mdate-sh
|
|
@@ -1,3 +1,9 @@
|
|||||||
|
2007-02-15 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* reference/Makefile.am:
|
||||||
|
|
||||||
|
Fixed distcheck.
|
||||||
|
|
||||||
2006-02-21 Benoît Dejean <benoit@placenet.org>
|
2006-02-21 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
* reference.texi: Fixed glibtop_get_proc_state doc.
|
* reference.texi: Fixed glibtop_get_proc_state doc.
|
||||||
|
@@ -15,25 +15,25 @@ SCAN_OPTIONS=
|
|||||||
|
|
||||||
# Extra options to supply to gtkdoc-mkdb.
|
# Extra options to supply to gtkdoc-mkdb.
|
||||||
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
|
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
|
||||||
MKDB_OPTIONS=--sgml-mode --output-format=xml --source-dir=../../sysdeps/common
|
MKDB_OPTIONS=--sgml-mode --output-format=xml --source-dir=$(top_srcdir)/sysdeps/common
|
||||||
|
|
||||||
# The directory containing the source code. Relative to $(srcdir).
|
# The directory containing the source code. Relative to $(srcdir).
|
||||||
# gtk-doc will search all .c & .h files beneath here for inline comments
|
# gtk-doc will search all .c & .h files beneath here for inline comments
|
||||||
# documenting the functions and macros.
|
# documenting the functions and macros.
|
||||||
# e.g. DOC_SOURCE_DIR=../../../gtk
|
# e.g. DOC_SOURCE_DIR=../../../gtk
|
||||||
DOC_SOURCE_DIR=../../include/glibtop
|
DOC_SOURCE_DIR=$(top_srcdir)/include/glibtop
|
||||||
|
|
||||||
# Used for dependencies. The docs will be rebuilt if any of these change.
|
# Used for dependencies. The docs will be rebuilt if any of these change.
|
||||||
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
|
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
|
||||||
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
|
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
|
||||||
HFILE_GLOB=../../include/glibtop/*.h
|
HFILE_GLOB=$(top_srcdir)/include/glibtop/*.h
|
||||||
CFILE_GLOB=../../sysdeps/common/*.c
|
CFILE_GLOB=$(top_srcdir)/sysdeps/common/*.c
|
||||||
|
|
||||||
# Header files to ignore when scanning.
|
# Header files to ignore when scanning.
|
||||||
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
|
# 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
|
IGNORE_HFILES=error.h global.h gnuserv.h init_hooks.h write.h read.h read_data.h config.h libgtopconfig.h
|
||||||
|
|
||||||
EXTRA_HFILES=../../glibtop.h
|
EXTRA_HFILES=$(top_srcdir)/glibtop.h
|
||||||
|
|
||||||
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
|
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
|
||||||
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
|
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
|
||||||
|
@@ -171,7 +171,6 @@ rather than using the server.</para>
|
|||||||
<xi:include href="xml/close.xml"/>
|
<xi:include href="xml/close.xml"/>
|
||||||
<xi:include href="xml/command.xml"/>
|
<xi:include href="xml/command.xml"/>
|
||||||
<xi:include href="xml/glibtop-server.xml"/>
|
<xi:include href="xml/glibtop-server.xml"/>
|
||||||
<xi:include href="xml/inodedb.xml"/>
|
|
||||||
<xi:include href="xml/netload.xml"/>
|
<xi:include href="xml/netload.xml"/>
|
||||||
<xi:include href="xml/ppp.xml"/>
|
<xi:include href="xml/ppp.xml"/>
|
||||||
<xi:include href="xml/shm_limits.xml"/>
|
<xi:include href="xml/shm_limits.xml"/>
|
||||||
|
@@ -73,24 +73,6 @@ glibtop_server_ref
|
|||||||
glibtop_server_unref
|
glibtop_server_unref
|
||||||
</SECTION>
|
</SECTION>
|
||||||
|
|
||||||
<INCLUDE>glibtop/inodedb.h</INCLUDE>
|
|
||||||
<SECTION>
|
|
||||||
<FILE>inodedb</FILE>
|
|
||||||
<TITLE>Inode DB</TITLE>
|
|
||||||
GLIBTOP_INODEDB_SYSTEM
|
|
||||||
GLIBTOP_INODEDB_USER
|
|
||||||
GLIBTOP_INODEDB_CACHE
|
|
||||||
GLIBTOP_INODEDB_ALL
|
|
||||||
glibtop_inodedb
|
|
||||||
glibtop_inodedb_key
|
|
||||||
glibtop_inodedb_open
|
|
||||||
glibtop_inodedb_lookup
|
|
||||||
glibtop_inodedb_close
|
|
||||||
glibtop_inodedb_open_s
|
|
||||||
glibtop_inodedb_lookup_s
|
|
||||||
glibtop_inodedb_close_s
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<INCLUDE>glibtop/netload.h</INCLUDE>
|
<INCLUDE>glibtop/netload.h</INCLUDE>
|
||||||
<SECTION>
|
<SECTION>
|
||||||
<FILE>netload</FILE>
|
<FILE>netload</FILE>
|
||||||
|
@@ -1,27 +0,0 @@
|
|||||||
.deps
|
|
||||||
.libs
|
|
||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
first
|
|
||||||
first_linux
|
|
||||||
first_static
|
|
||||||
second
|
|
||||||
third
|
|
||||||
third_linux
|
|
||||||
third_static
|
|
||||||
second_static
|
|
||||||
second_linux
|
|
||||||
smp_static sysdeps_static netload_static procmap_static mountlist_static
|
|
||||||
smp sysdeps netload procmap mountlist
|
|
||||||
timings timings_static
|
|
||||||
pprint
|
|
||||||
pprint_static
|
|
||||||
procargs
|
|
||||||
procargs_static
|
|
||||||
proclist
|
|
||||||
df
|
|
||||||
df_static
|
|
||||||
netlist
|
|
||||||
netlist_static
|
|
||||||
openfiles
|
|
||||||
openfiles_static
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
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>
|
2006-02-27 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
* pprint.c: (pprint_get_proc_mem), (main):
|
* pprint.c: (pprint_get_proc_mem), (main):
|
||||||
|
@@ -8,7 +8,7 @@ DEFS = @DEFS@
|
|||||||
|
|
||||||
noinst_PROGRAMS = first second pprint procargs df netlist \
|
noinst_PROGRAMS = first second pprint procargs df netlist \
|
||||||
mountlist procmap netload sysdeps timings \
|
mountlist procmap netload sysdeps timings \
|
||||||
openfiles smp proclist
|
openfiles smp proclist mem wd
|
||||||
|
|
||||||
first_SOURCES = first.c
|
first_SOURCES = first.c
|
||||||
first_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
first_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||||
@@ -51,3 +51,10 @@ openfiles_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
|||||||
|
|
||||||
proclist_SOURCES = proclist.c
|
proclist_SOURCES = proclist.c
|
||||||
proclist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
proclist_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||||
|
|
||||||
|
wd_SOURCES = wd.c
|
||||||
|
wd_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||||
|
|
||||||
|
mem_SOURCE = mem.c
|
||||||
|
mem_LDADD = $(top_builddir)/lib/libgtop-2.0.la
|
||||||
|
|
||||||
|
0
examples/affinity.c
Normal file
0
examples/affinity.c
Normal file
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
21
examples/mem.c
Normal file
21
examples/mem.c
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
#include <glibtop.h>
|
||||||
|
#include <glibtop/mem.h>
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
glibtop_mem buf;
|
||||||
|
|
||||||
|
glibtop_init();
|
||||||
|
|
||||||
|
g_print("%lx\n", glibtop_global_server->features);
|
||||||
|
|
||||||
|
glibtop_get_mem(&buf);
|
||||||
|
|
||||||
|
glibtop_close();
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -37,9 +35,6 @@
|
|||||||
|
|
||||||
#include <glibtop/procmap.h>
|
#include <glibtop/procmap.h>
|
||||||
|
|
||||||
#ifdef GLIBTOP_INODEDB
|
|
||||||
#include <glibtop/inodedb.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
@@ -51,9 +46,6 @@
|
|||||||
int
|
int
|
||||||
main (int argc, char *argv [])
|
main (int argc, char *argv [])
|
||||||
{
|
{
|
||||||
#ifdef GLIBTOP_INODEDB
|
|
||||||
glibtop_inodedb *inodedb;
|
|
||||||
#endif
|
|
||||||
glibtop_proc_map procmap;
|
glibtop_proc_map procmap;
|
||||||
glibtop_map_entry *maps;
|
glibtop_map_entry *maps;
|
||||||
unsigned method, count, port, i;
|
unsigned method, count, port, i;
|
||||||
@@ -89,10 +81,6 @@ main (int argc, char *argv [])
|
|||||||
if ((argc != 2) || (sscanf (argv [1], "%d", (int *) &pid) != 1))
|
if ((argc != 2) || (sscanf (argv [1], "%d", (int *) &pid) != 1))
|
||||||
g_error ("Usage: %s pid", argv [0]);
|
g_error ("Usage: %s pid", argv [0]);
|
||||||
|
|
||||||
#ifdef GLIBTOP_INODEDB
|
|
||||||
inodedb = glibtop_inodedb_open (0, 0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
fprintf (stderr, "Getting memory maps for pid %d.\n\n", (int) pid);
|
fprintf (stderr, "Getting memory maps for pid %d.\n\n", (int) pid);
|
||||||
|
|
||||||
maps = glibtop_get_proc_map (&procmap, pid);
|
maps = glibtop_get_proc_map (&procmap, pid);
|
||||||
@@ -105,12 +93,6 @@ main (int argc, char *argv [])
|
|||||||
if (maps [i].flags & (1L << GLIBTOP_MAP_ENTRY_FILENAME))
|
if (maps [i].flags & (1L << GLIBTOP_MAP_ENTRY_FILENAME))
|
||||||
filename = maps [i].filename;
|
filename = maps [i].filename;
|
||||||
|
|
||||||
#ifdef GLIBTOP_INODEDB
|
|
||||||
if (inodedb && !filename)
|
|
||||||
filename = glibtop_inodedb_lookup
|
|
||||||
(inodedb, maps [i].device, maps [i].inode);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
perm [0] = (maps [i].perm & GLIBTOP_MAP_PERM_READ) ? 'r' : '-';
|
perm [0] = (maps [i].perm & GLIBTOP_MAP_PERM_READ) ? 'r' : '-';
|
||||||
perm [1] = (maps [i].perm & GLIBTOP_MAP_PERM_WRITE) ? 'w' : '-';
|
perm [1] = (maps [i].perm & GLIBTOP_MAP_PERM_WRITE) ? 'w' : '-';
|
||||||
perm [2] = (maps [i].perm & GLIBTOP_MAP_PERM_EXECUTE) ? 'x' : '-';
|
perm [2] = (maps [i].perm & GLIBTOP_MAP_PERM_EXECUTE) ? 'x' : '-';
|
||||||
@@ -158,9 +140,9 @@ main (int argc, char *argv [])
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
g_print("smaps flags:%#llx size:%llu rss:%llu "
|
g_print("smaps flags:%#llx size:%lluKiB rss:%lluKiB "
|
||||||
"shared_clean:%llu shared_dirty:%llu "
|
"shared_clean:%lluKib shared_dirty:%lluKiB "
|
||||||
"private_clean:%llu private_dirty: %llu\n",
|
"private_clean:%lluKiB private_dirty: %lluKiB\n",
|
||||||
maps[i].flags,
|
maps[i].flags,
|
||||||
maps[i].size >> 10,
|
maps[i].size >> 10,
|
||||||
maps[i].rss >> 10,
|
maps[i].rss >> 10,
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
35
examples/wd.c
Normal file
35
examples/wd.c
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
#include <glibtop.h>
|
||||||
|
#include <glibtop/procwd.h>
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
int main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
pid_t pid;
|
||||||
|
glibtop_proc_wd buf;
|
||||||
|
char **dirs, **dir;
|
||||||
|
|
||||||
|
if (argc < 2 || !(pid = strtoul(argv[1], NULL, 0)))
|
||||||
|
pid = getpid();
|
||||||
|
|
||||||
|
glibtop_init();
|
||||||
|
|
||||||
|
dirs = glibtop_get_proc_wd(&buf, pid);
|
||||||
|
|
||||||
|
g_print("Process %u:\n"
|
||||||
|
" - root: '%s'\n"
|
||||||
|
" - exe: '%s'\n"
|
||||||
|
" - working directories:\n",
|
||||||
|
(unsigned)pid, buf.root, buf.exe);
|
||||||
|
|
||||||
|
for (dir = dirs; *dir; ++dir)
|
||||||
|
g_print(" - '%s'\n", *dir);
|
||||||
|
|
||||||
|
g_strfreev(dirs);
|
||||||
|
|
||||||
|
glibtop_close();
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
@@ -6,7 +6,7 @@ void|loadavg|double(loadavg[3]):ulong(nr_running,nr_tasks,last_pid)
|
|||||||
void|shm_limits|ulong(shmmax,shmmin,shmmni,shmseg,shmall)
|
void|shm_limits|ulong(shmmax,shmmin,shmmni,shmseg,shmall)
|
||||||
void|msg_limits|ulong(msgpool,msgmap,msgmax,msgmnb,msgmni,msgssz,msgtql)
|
void|msg_limits|ulong(msgpool,msgmap,msgmax,msgmnb,msgmni,msgssz,msgtql)
|
||||||
void|sem_limits|ulong(semmap,semmni,semmns,semmnu,semmsl,semopm,semume,semusz,semvmx,semaem)
|
void|sem_limits|ulong(semmap,semmni,semmns,semmnu,semmsl,semopm,semume,semusz,semvmx,semaem)
|
||||||
unsigned *|proclist|ulong(number,size,total)|long(which,arg)
|
pid_t*|proclist|ulong(number,size,total)|long(which,arg)
|
||||||
void|proc_state|str(cmd):char(state):ulong(uid,gid)|pid_t(pid)
|
void|proc_state|str(cmd):char(state):ulong(uid,gid)|pid_t(pid)
|
||||||
void|proc_uid|long(uid,euid,gid,egid,pid,ppid,pgrp,session,tty,tpgid,priority,nice)|pid_t(pid)
|
void|proc_uid|long(uid,euid,gid,egid,pid,ppid,pgrp,session,tty,tpgid,priority,nice)|pid_t(pid)
|
||||||
void|proc_mem|long(size,vsize,resident,share,rss,rss_rlim)|pid_t(pid)
|
void|proc_mem|long(size,vsize,resident,share,rss,rss_rlim)|pid_t(pid)
|
||||||
@@ -22,4 +22,5 @@ void|@fsusage|ulong(blocks,bfree,bavail,files,ffree)|string|mount_dir
|
|||||||
void|netload|ulong(if_flags,mtu,subnet,address,packets_in,packets_out,packets_total,bytes_in,bytes_out,bytes_total,errors_in,errors_out,errors_total,collisions)|string|interface
|
void|netload|ulong(if_flags,mtu,subnet,address,packets_in,packets_out,packets_total,bytes_in,bytes_out,bytes_total,errors_in,errors_out,errors_total,collisions)|string|interface
|
||||||
void|ppp|ulong(state,bytes_in,bytes_out)|ushort(device)
|
void|ppp|ulong(state,bytes_in,bytes_out)|ushort(device)
|
||||||
char **|netlist|unsigned(number)
|
char **|netlist|unsigned(number)
|
||||||
|
char **|proc_wd|ulong(number),str(root),str(exe)|pid_t(pid)
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
155
gtk-doc.make
155
gtk-doc.make
@@ -1,155 +0,0 @@
|
|||||||
# -*- mode: makefile -*-
|
|
||||||
|
|
||||||
####################################
|
|
||||||
# Everything below here is generic #
|
|
||||||
####################################
|
|
||||||
|
|
||||||
if GTK_DOC_USE_LIBTOOL
|
|
||||||
GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
|
|
||||||
else
|
|
||||||
GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# 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)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
$(content_files) \
|
|
||||||
$(HTML_IMAGES) \
|
|
||||||
$(DOC_MAIN_SGML_FILE) \
|
|
||||||
$(DOC_MODULE)-sections.txt \
|
|
||||||
$(DOC_MODULE)-overrides.txt
|
|
||||||
|
|
||||||
DOC_STAMPS=scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \
|
|
||||||
$(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp
|
|
||||||
|
|
||||||
SCANOBJ_FILES = \
|
|
||||||
$(DOC_MODULE).args \
|
|
||||||
$(DOC_MODULE).hierarchy \
|
|
||||||
$(DOC_MODULE).interfaces \
|
|
||||||
$(DOC_MODULE).prerequisites \
|
|
||||||
$(DOC_MODULE).signals
|
|
||||||
|
|
||||||
CLEANFILES = $(SCANOBJ_FILES) $(DOC_MODULE)-unused.txt $(DOC_STAMPS)
|
|
||||||
|
|
||||||
if ENABLE_GTK_DOC
|
|
||||||
all-local: html-build.stamp
|
|
||||||
else
|
|
||||||
all-local:
|
|
||||||
endif
|
|
||||||
|
|
||||||
docs: html-build.stamp
|
|
||||||
|
|
||||||
#### scan ####
|
|
||||||
|
|
||||||
scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
|
|
||||||
@echo 'gtk-doc: Scanning header files'
|
|
||||||
@-chmod -R u+w $(srcdir)
|
|
||||||
if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
|
|
||||||
CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
|
|
||||||
else \
|
|
||||||
cd $(srcdir) ; \
|
|
||||||
for i in $(SCANOBJ_FILES) ; do \
|
|
||||||
test -f $$i || touch $$i ; \
|
|
||||||
done \
|
|
||||||
fi
|
|
||||||
cd $(srcdir) && \
|
|
||||||
gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
|
|
||||||
touch scan-build.stamp
|
|
||||||
|
|
||||||
$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp
|
|
||||||
@true
|
|
||||||
|
|
||||||
#### templates ####
|
|
||||||
|
|
||||||
tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
|
|
||||||
@echo 'gtk-doc: Rebuilding template files'
|
|
||||||
@-chmod -R u+w $(srcdir)
|
|
||||||
cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
|
|
||||||
touch tmpl-build.stamp
|
|
||||||
|
|
||||||
tmpl.stamp: tmpl-build.stamp
|
|
||||||
@true
|
|
||||||
|
|
||||||
#### xml ####
|
|
||||||
|
|
||||||
sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
|
|
||||||
@echo 'gtk-doc: Building XML'
|
|
||||||
@-chmod -R u+w $(srcdir)
|
|
||||||
cd $(srcdir) && \
|
|
||||||
gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS)
|
|
||||||
touch sgml-build.stamp
|
|
||||||
|
|
||||||
sgml.stamp: sgml-build.stamp
|
|
||||||
@true
|
|
||||||
|
|
||||||
#### html ####
|
|
||||||
|
|
||||||
html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
|
|
||||||
@echo 'gtk-doc: Building HTML'
|
|
||||||
@-chmod -R u+w $(srcdir)
|
|
||||||
rm -rf $(srcdir)/html
|
|
||||||
mkdir $(srcdir)/html
|
|
||||||
cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
|
|
||||||
test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )
|
|
||||||
@echo 'gtk-doc: Fixing cross-references'
|
|
||||||
cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
|
|
||||||
touch html-build.stamp
|
|
||||||
|
|
||||||
##############
|
|
||||||
|
|
||||||
clean-local:
|
|
||||||
rm -f *~ *.bak
|
|
||||||
rm -rf .libs
|
|
||||||
|
|
||||||
maintainer-clean-local: clean
|
|
||||||
cd $(srcdir) && rm -rf xml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
|
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
installfiles=`echo $(srcdir)/html/*`; \
|
|
||||||
if test "$$installfiles" = '$(srcdir)/html/*'; \
|
|
||||||
then echo '-- Nothing to install' ; \
|
|
||||||
else \
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \
|
|
||||||
for i in $$installfiles; do \
|
|
||||||
echo '-- Installing '$$i ; \
|
|
||||||
$(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
|
|
||||||
done; \
|
|
||||||
echo '-- Installing $(srcdir)/html/index.sgml' ; \
|
|
||||||
$(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-local:
|
|
||||||
rm -f $(DESTDIR)$(TARGET_DIR)/*
|
|
||||||
|
|
||||||
#
|
|
||||||
# Require gtk-doc when making dist
|
|
||||||
#
|
|
||||||
if ENABLE_GTK_DOC
|
|
||||||
dist-check-gtkdoc:
|
|
||||||
else
|
|
||||||
dist-check-gtkdoc:
|
|
||||||
@echo "*** gtk-doc must be installed and enabled in order to make dist"
|
|
||||||
@false
|
|
||||||
endif
|
|
||||||
|
|
||||||
dist-hook: dist-check-gtkdoc dist-hook-local
|
|
||||||
mkdir $(distdir)/tmpl
|
|
||||||
mkdir $(distdir)/xml
|
|
||||||
mkdir $(distdir)/html
|
|
||||||
-cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
|
|
||||||
-cp $(srcdir)/xml/*.xml $(distdir)/xml
|
|
||||||
-cp $(srcdir)/html/* $(distdir)/html
|
|
||||||
if test -f $(srcdir)/$(DOC_MODULE).types; then \
|
|
||||||
cp $(srcdir)/$(DOC_MODULE).types $(distdir)/$(DOC_MODULE).types; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
.PHONY : dist-hook-local docs
|
|
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
@@ -1,2 +0,0 @@
|
|||||||
Makefile
|
|
||||||
Makefile.in
|
|
@@ -7,7 +7,8 @@ glibtop_HEADERS = close.h loadavg.h prockernel.h procstate.h \
|
|||||||
procsegment.h sysdeps.h global.h \
|
procsegment.h sysdeps.h global.h \
|
||||||
procsignal.h union.h gnuserv.h \
|
procsignal.h union.h gnuserv.h \
|
||||||
parameter.h mountlist.h fsusage.h procmap.h signal.h \
|
parameter.h mountlist.h fsusage.h procmap.h signal.h \
|
||||||
inodedb.h sysinfo.h ppp.h procargs.h netload.h \
|
sysinfo.h ppp.h procargs.h netload.h \
|
||||||
|
procwd.h \
|
||||||
netlist.h procopenfiles.h open.h
|
netlist.h procopenfiles.h open.h
|
||||||
|
|
||||||
noinst_HEADERS = error.h write.h read_data.h read.h init_hooks.h
|
noinst_HEADERS = error.h write.h read_data.h read.h init_hooks.h
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
@@AUTOGEN_COMMENT@@
|
@@AUTOGEN_COMMENT@@
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -59,8 +57,9 @@ G_BEGIN_DECLS
|
|||||||
#define GLIBTOP_CMND_PPP 23
|
#define GLIBTOP_CMND_PPP 23
|
||||||
#define GLIBTOP_CMND_NETLIST 24
|
#define GLIBTOP_CMND_NETLIST 24
|
||||||
#define GLIBTOP_CMND_PROC_OPEN_FILES 25
|
#define GLIBTOP_CMND_PROC_OPEN_FILES 25
|
||||||
|
#define GLIBTOP_CMND_PROC_WD 26
|
||||||
|
|
||||||
#define GLIBTOP_MAX_CMND 26
|
#define GLIBTOP_MAX_CMND 27
|
||||||
|
|
||||||
#define _GLIBTOP_PARAM_SIZE 16
|
#define _GLIBTOP_PARAM_SIZE 16
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -94,10 +92,10 @@ void glibtop_get_cpu(glibtop_cpu *buf);
|
|||||||
void glibtop_get_cpu_l (glibtop *server, glibtop_cpu *buf);
|
void glibtop_get_cpu_l (glibtop *server, glibtop_cpu *buf);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_CPU
|
#if GLIBTOP_SUID_CPU
|
||||||
void glibtop_init_cpu_p (glibtop *server);
|
void _glibtop_init_cpu_p (glibtop *server);
|
||||||
void glibtop_get_cpu_p (glibtop *server, glibtop_cpu *buf);
|
void glibtop_get_cpu_p (glibtop *server, glibtop_cpu *buf);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_cpu_s (glibtop *server);
|
void _glibtop_init_cpu_s (glibtop *server);
|
||||||
void glibtop_get_cpu_s (glibtop *server, glibtop_cpu *buf);
|
void glibtop_get_cpu_s (glibtop *server, glibtop_cpu *buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -33,20 +31,20 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
void glibtop_error_vr (glibtop *server, const char *format, va_list args) G_GNUC_INTERNAL G_GNUC_NORETURN;
|
void glibtop_error_vr (glibtop *server, const char *format, va_list args) G_GNUC_NORETURN;
|
||||||
void glibtop_warn_vr (glibtop *server, const char *format, va_list args) G_GNUC_INTERNAL;
|
void glibtop_warn_vr (glibtop *server, const char *format, va_list args);
|
||||||
void glibtop_error_io_vr (glibtop *server, const char *format, int, va_list args) G_GNUC_INTERNAL G_GNUC_NORETURN;
|
void glibtop_error_io_vr (glibtop *server, const char *format, int, va_list args) G_GNUC_NORETURN;
|
||||||
void glibtop_warn_io_vr (glibtop *server, const char *format, int, va_list args) G_GNUC_INTERNAL;
|
void glibtop_warn_io_vr (glibtop *server, const char *format, int, va_list args);
|
||||||
|
|
||||||
void glibtop_error_r (glibtop *server, const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(2, 3) G_GNUC_NORETURN;
|
void glibtop_error_r (glibtop *server, const char *format, ...) G_GNUC_PRINTF(2, 3) G_GNUC_NORETURN;
|
||||||
void glibtop_warn_r (glibtop *server, const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(2, 3);
|
void glibtop_warn_r (glibtop *server, const char *format, ...) G_GNUC_PRINTF(2, 3);
|
||||||
void glibtop_error_io_r (glibtop *server, const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(2, 3) G_GNUC_NORETURN;
|
void glibtop_error_io_r (glibtop *server, const char *format, ...) G_GNUC_PRINTF(2, 3) G_GNUC_NORETURN;
|
||||||
void glibtop_warn_io_r (glibtop *server, const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(2, 3);
|
void glibtop_warn_io_r (glibtop *server, const char *format, ...) G_GNUC_PRINTF(2, 3);
|
||||||
|
|
||||||
void glibtop_error (const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(1, 2) G_GNUC_NORETURN;
|
void glibtop_error (const char *format, ...) G_GNUC_PRINTF(1, 2) G_GNUC_NORETURN;
|
||||||
void glibtop_warn (const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(1, 2);
|
void glibtop_warn (const char *format, ...) G_GNUC_PRINTF(1, 2);
|
||||||
void glibtop_error_io (const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(1, 2) G_GNUC_NORETURN;
|
void glibtop_error_io (const char *format, ...) G_GNUC_PRINTF(1, 2) G_GNUC_NORETURN;
|
||||||
void glibtop_warn_io (const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(1, 2);
|
void glibtop_warn_io (const char *format, ...) G_GNUC_PRINTF(1, 2);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
|
|
||||||
Contributed by Martin Baulig <martin@home-of-linux.org>, April 1998.
|
Contributed by Martin Baulig <martin@home-of-linux.org>, April 1998.
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 2.0.
|
This file is part of LibGTop 2.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -5,10 +5,10 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef void (*glibtop_init_func_t)(glibtop *);
|
typedef void (*_glibtop_init_func_t)(glibtop *);
|
||||||
|
|
||||||
extern const glibtop_init_func_t _glibtop_init_hook_s[];
|
extern const _glibtop_init_func_t _glibtop_init_hook_s[];
|
||||||
extern const glibtop_init_func_t _glibtop_init_hook_p[];
|
extern const _glibtop_init_func_t _glibtop_init_hook_p[];
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
@@ -1,67 +0,0 @@
|
|||||||
/* 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., 59 Temple Place - Suite 330,
|
|
||||||
Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GLIBTOP_INODEDB_H__
|
|
||||||
#define __GLIBTOP_INODEDB_H__
|
|
||||||
|
|
||||||
#include <glibtop.h>
|
|
||||||
#include <gdbm.h>
|
|
||||||
|
|
||||||
#define GLIBTOP_INODEDB_SYSTEM 1
|
|
||||||
#define GLIBTOP_INODEDB_USER 2
|
|
||||||
#define GLIBTOP_INODEDB_CACHE 4
|
|
||||||
|
|
||||||
#define GLIBTOP_INODEDB_ALL 7
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
typedef struct _glibtop_inodedb glibtop_inodedb;
|
|
||||||
|
|
||||||
typedef struct _glibtop_inodedb_key glibtop_inodedb_key;
|
|
||||||
|
|
||||||
struct _glibtop_inodedb_key
|
|
||||||
{
|
|
||||||
guint64 device, inode;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _glibtop_inodedb
|
|
||||||
{
|
|
||||||
GDBM_FILE system_dbf, user_dbf;
|
|
||||||
};
|
|
||||||
|
|
||||||
#define glibtop_inodedb_open(p1,p2) glibtop_inodedb_open_s(glibtop_global_server, p1, p2)
|
|
||||||
#define glibtop_inodedb_lookup(p1,p2,p3) glibtop_inodedb_lookup_s(glibtop_global_server, p1, p2, p3)
|
|
||||||
#define glibtop_inodedb_close(p1) glibtop_inodedb_close_s(glibtop_global_server)
|
|
||||||
|
|
||||||
glibtop_inodedb *
|
|
||||||
glibtop_inodedb_open_s (glibtop *server, unsigned databases, unsigned long cache_size);
|
|
||||||
|
|
||||||
const char *
|
|
||||||
glibtop_inodedb_lookup_s (glibtop *server,
|
|
||||||
glibtop_inodedb *inodedb,
|
|
||||||
guint64 device, guint64 inode);
|
|
||||||
|
|
||||||
void
|
|
||||||
glibtop_inodedb_close_s (glibtop *server, glibtop_inodedb *inodedb);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif
|
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -58,10 +56,10 @@ void glibtop_get_loadavg(glibtop_loadavg *buf);
|
|||||||
void glibtop_get_loadavg_l (glibtop *server, glibtop_loadavg *buf);
|
void glibtop_get_loadavg_l (glibtop *server, glibtop_loadavg *buf);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_LOADAVG
|
#if GLIBTOP_SUID_LOADAVG
|
||||||
void glibtop_init_loadavg_p (glibtop *server);
|
void _glibtop_init_loadavg_p (glibtop *server);
|
||||||
void glibtop_get_loadavg_p (glibtop *server, glibtop_loadavg *buf);
|
void glibtop_get_loadavg_p (glibtop *server, glibtop_loadavg *buf);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_loadavg_s (glibtop *server);
|
void _glibtop_init_loadavg_s (glibtop *server);
|
||||||
void glibtop_get_loadavg_s (glibtop *server, glibtop_loadavg *buf);
|
void glibtop_get_loadavg_s (glibtop *server, glibtop_loadavg *buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -66,10 +64,10 @@ void glibtop_get_mem(glibtop_mem *buf);
|
|||||||
void glibtop_get_mem_l (glibtop *server, glibtop_mem *buf);
|
void glibtop_get_mem_l (glibtop *server, glibtop_mem *buf);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_MEM
|
#if GLIBTOP_SUID_MEM
|
||||||
void glibtop_init_mem_p (glibtop *server);
|
void _glibtop_init_mem_p (glibtop *server);
|
||||||
void glibtop_get_mem_p (glibtop *server, glibtop_mem *buf);
|
void glibtop_get_mem_p (glibtop *server, glibtop_mem *buf);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_mem_s (glibtop *server);
|
void _glibtop_init_mem_s (glibtop *server);
|
||||||
void glibtop_get_mem_s (glibtop *server, glibtop_mem *buf);
|
void glibtop_get_mem_s (glibtop *server, glibtop_mem *buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -64,10 +62,10 @@ void glibtop_get_msg_limits(glibtop_msg_limits *buf);
|
|||||||
void glibtop_get_msg_limits_l (glibtop *server, glibtop_msg_limits *buf);
|
void glibtop_get_msg_limits_l (glibtop *server, glibtop_msg_limits *buf);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_MSG_LIMITS
|
#if GLIBTOP_SUID_MSG_LIMITS
|
||||||
void glibtop_init_msg_limits_p (glibtop *server);
|
void _glibtop_init_msg_limits_p (glibtop *server);
|
||||||
void glibtop_get_msg_limits_p (glibtop *server, glibtop_msg_limits *buf);
|
void glibtop_get_msg_limits_p (glibtop *server, glibtop_msg_limits *buf);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_msg_limits_s (glibtop *server);
|
void _glibtop_init_msg_limits_s (glibtop *server);
|
||||||
void glibtop_get_msg_limits_s (glibtop *server, glibtop_msg_limits *buf);
|
void glibtop_get_msg_limits_s (glibtop *server, glibtop_msg_limits *buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -48,10 +48,10 @@ char** glibtop_get_netlist(glibtop_netlist *buf);
|
|||||||
char** glibtop_get_netlist_l (glibtop *server, glibtop_netlist *buf);
|
char** glibtop_get_netlist_l (glibtop *server, glibtop_netlist *buf);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_NETLIST
|
#if GLIBTOP_SUID_NETLIST
|
||||||
void glibtop_init_netlist_p (glibtop *server);
|
void _glibtop_init_netlist_p (glibtop *server);
|
||||||
char** glibtop_get_netlist_p (glibtop *server, glibtop_netlist *buf);
|
char** glibtop_get_netlist_p (glibtop *server, glibtop_netlist *buf);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_netlist_s (glibtop *server);
|
void _glibtop_init_netlist_s (glibtop *server);
|
||||||
char** glibtop_get_netlist_s (glibtop *server, glibtop_netlist *buf);
|
char** glibtop_get_netlist_s (glibtop *server, glibtop_netlist *buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -119,10 +117,10 @@ void glibtop_get_netload(glibtop_netload *buf, const char *interface);
|
|||||||
void glibtop_get_netload_l (glibtop *server, glibtop_netload *buf, const char *interface);
|
void glibtop_get_netload_l (glibtop *server, glibtop_netload *buf, const char *interface);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_NETLOAD
|
#if GLIBTOP_SUID_NETLOAD
|
||||||
void glibtop_init_netload_p (glibtop *server);
|
void _glibtop_init_netload_p (glibtop *server);
|
||||||
void glibtop_get_netload_p (glibtop *server, glibtop_netload *buf, const char *interface);
|
void glibtop_get_netload_p (glibtop *server, glibtop_netload *buf, const char *interface);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_netload_s (glibtop *server);
|
void _glibtop_init_netload_s (glibtop *server);
|
||||||
void glibtop_get_netload_s (glibtop *server, glibtop_netload *buf, const char *interface);
|
void glibtop_get_netload_s (glibtop *server, glibtop_netload *buf, const char *interface);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -62,10 +60,10 @@ void glibtop_get_ppp(glibtop_ppp *buf, unsigned short device);
|
|||||||
void glibtop_get_ppp_l (glibtop *server, glibtop_ppp *buf, unsigned short device);
|
void glibtop_get_ppp_l (glibtop *server, glibtop_ppp *buf, unsigned short device);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PPP
|
#if GLIBTOP_SUID_PPP
|
||||||
void glibtop_init_ppp_p (glibtop *server);
|
void _glibtop_init_ppp_p (glibtop *server);
|
||||||
void glibtop_get_ppp_p (glibtop *server, glibtop_ppp *buf, unsigned short device);
|
void glibtop_get_ppp_p (glibtop *server, glibtop_ppp *buf, unsigned short device);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_ppp_s (glibtop *server);
|
void _glibtop_init_ppp_s (glibtop *server);
|
||||||
void glibtop_get_ppp_s (glibtop *server, glibtop_ppp *buf, unsigned short device);
|
void glibtop_get_ppp_s (glibtop *server, glibtop_ppp *buf, unsigned short device);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
0
include/glibtop/procaffinity.h
Normal file
0
include/glibtop/procaffinity.h
Normal file
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -53,7 +51,7 @@ glibtop_get_proc_args (glibtop_proc_args *buf, pid_t pid, unsigned max_len);
|
|||||||
|
|
||||||
# define glibtop_get_proc_args_r glibtop_get_proc_args_p
|
# define glibtop_get_proc_args_r glibtop_get_proc_args_p
|
||||||
|
|
||||||
void glibtop_init_proc_args_p (glibtop *server);
|
void _glibtop_init_proc_args_p (glibtop *server);
|
||||||
|
|
||||||
char *
|
char *
|
||||||
glibtop_get_proc_args_p (glibtop *server, glibtop_proc_args *buf,
|
glibtop_get_proc_args_p (glibtop *server, glibtop_proc_args *buf,
|
||||||
@@ -64,7 +62,7 @@ glibtop_get_proc_args (glibtop_proc_args *buf, pid_t pid, unsigned max_len);
|
|||||||
|
|
||||||
# define glibtop_get_proc_args_r glibtop_get_proc_args_s
|
# define glibtop_get_proc_args_r glibtop_get_proc_args_s
|
||||||
|
|
||||||
void glibtop_init_proc_args_s (glibtop *server);
|
void _glibtop_init_proc_args_s (glibtop *server);
|
||||||
|
|
||||||
char *
|
char *
|
||||||
glibtop_get_proc_args_s (glibtop *server, glibtop_proc_args *buf,
|
glibtop_get_proc_args_s (glibtop *server, glibtop_proc_args *buf,
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -75,10 +73,10 @@ void glibtop_get_proc_kernel(glibtop_proc_kernel *buf, pid_t pid);
|
|||||||
void glibtop_get_proc_kernel_l (glibtop *server, glibtop_proc_kernel *buf, pid_t pid);
|
void glibtop_get_proc_kernel_l (glibtop *server, glibtop_proc_kernel *buf, pid_t pid);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PROC_KERNEL
|
#if GLIBTOP_SUID_PROC_KERNEL
|
||||||
void glibtop_init_proc_kernel_p (glibtop *server);
|
void _glibtop_init_proc_kernel_p (glibtop *server);
|
||||||
void glibtop_get_proc_kernel_p (glibtop *server, glibtop_proc_kernel *buf, pid_t pid);
|
void glibtop_get_proc_kernel_p (glibtop *server, glibtop_proc_kernel *buf, pid_t pid);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_proc_kernel_s (glibtop *server);
|
void _glibtop_init_proc_kernel_s (glibtop *server);
|
||||||
void glibtop_get_proc_kernel_s (glibtop *server, glibtop_proc_kernel *buf, pid_t pid);
|
void glibtop_get_proc_kernel_s (glibtop *server, glibtop_proc_kernel *buf, pid_t pid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -62,7 +60,7 @@ struct _glibtop_proclist
|
|||||||
guint64 size; /* GLIBTOP_PROCLIST_SIZE */
|
guint64 size; /* GLIBTOP_PROCLIST_SIZE */
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned *
|
pid_t*
|
||||||
glibtop_get_proclist(glibtop_proclist *buf, gint64 which, gint64 arg);
|
glibtop_get_proclist(glibtop_proclist *buf, gint64 which, gint64 arg);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PROCLIST
|
#if GLIBTOP_SUID_PROCLIST
|
||||||
@@ -71,20 +69,20 @@ glibtop_get_proclist(glibtop_proclist *buf, gint64 which, gint64 arg);
|
|||||||
#define glibtop_get_proclist_r glibtop_get_proclist_s
|
#define glibtop_get_proclist_r glibtop_get_proclist_s
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
unsigned *
|
pid_t*
|
||||||
glibtop_get_proclist_l (glibtop *server, glibtop_proclist *buf,
|
glibtop_get_proclist_l (glibtop *server, glibtop_proclist *buf,
|
||||||
gint64 which, gint64 arg);
|
gint64 which, gint64 arg);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PROCLIST
|
#if GLIBTOP_SUID_PROCLIST
|
||||||
void glibtop_init_proclist_p (glibtop *server);
|
void _glibtop_init_proclist_p (glibtop *server);
|
||||||
|
|
||||||
unsigned *
|
pid_t*
|
||||||
glibtop_get_proclist_p (glibtop *server, glibtop_proclist *buf,
|
glibtop_get_proclist_p (glibtop *server, glibtop_proclist *buf,
|
||||||
gint64 which, gint64 arg);
|
gint64 which, gint64 arg);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_proclist_s (glibtop *server);
|
void _glibtop_init_proclist_s (glibtop *server);
|
||||||
|
|
||||||
unsigned *
|
pid_t*
|
||||||
glibtop_get_proclist_s (glibtop *server, glibtop_proclist *buf,
|
glibtop_get_proclist_s (glibtop *server, glibtop_proclist *buf,
|
||||||
gint64 which, gint64 arg);
|
gint64 which, gint64 arg);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -104,12 +102,12 @@ glibtop_map_entry *
|
|||||||
glibtop_get_proc_map_l (glibtop *server, glibtop_proc_map *buf, pid_t pid);
|
glibtop_get_proc_map_l (glibtop *server, glibtop_proc_map *buf, pid_t pid);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PROC_MAP
|
#if GLIBTOP_SUID_PROC_MAP
|
||||||
void glibtop_init_proc_map_p (glibtop *server);
|
void _glibtop_init_proc_map_p (glibtop *server);
|
||||||
|
|
||||||
glibtop_map_entry *
|
glibtop_map_entry *
|
||||||
glibtop_get_proc_map_p (glibtop *server, glibtop_proc_map *buf, pid_t pid);
|
glibtop_get_proc_map_p (glibtop *server, glibtop_proc_map *buf, pid_t pid);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_proc_map_s (glibtop *server);
|
void _glibtop_init_proc_map_s (glibtop *server);
|
||||||
|
|
||||||
glibtop_map_entry *
|
glibtop_map_entry *
|
||||||
glibtop_get_proc_map_s (glibtop *server, glibtop_proc_map *buf, pid_t pid);
|
glibtop_get_proc_map_s (glibtop *server, glibtop_proc_map *buf, pid_t pid);
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -66,10 +64,10 @@ void glibtop_get_proc_mem(glibtop_proc_mem *buf, pid_t pid);
|
|||||||
void glibtop_get_proc_mem_l (glibtop *server, glibtop_proc_mem *buf, pid_t pid);
|
void glibtop_get_proc_mem_l (glibtop *server, glibtop_proc_mem *buf, pid_t pid);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PROC_MEM
|
#if GLIBTOP_SUID_PROC_MEM
|
||||||
void glibtop_init_proc_mem_p (glibtop *server);
|
void _glibtop_init_proc_mem_p (glibtop *server);
|
||||||
void glibtop_get_proc_mem_p (glibtop *server, glibtop_proc_mem *buf, pid_t pid);
|
void glibtop_get_proc_mem_p (glibtop *server, glibtop_proc_mem *buf, pid_t pid);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_proc_mem_s (glibtop *server);
|
void _glibtop_init_proc_mem_s (glibtop *server);
|
||||||
void glibtop_get_proc_mem_s (glibtop *server, glibtop_proc_mem *buf, pid_t pid);
|
void glibtop_get_proc_mem_s (glibtop *server, glibtop_proc_mem *buf, pid_t pid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
Copyright (C) 2004 Nicolás Lichtmaier
|
Copyright (C) 2004 Nicolás Lichtmaier
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
@@ -107,12 +105,12 @@ glibtop_open_files_entry *
|
|||||||
glibtop_get_proc_open_files_l (glibtop *server, glibtop_proc_open_files *buf, pid_t pid);
|
glibtop_get_proc_open_files_l (glibtop *server, glibtop_proc_open_files *buf, pid_t pid);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PROC_FILE
|
#if GLIBTOP_SUID_PROC_FILE
|
||||||
void glibtop_init_proc_open_files_p (glibtop *server);
|
void _glibtop_init_proc_open_files_p (glibtop *server);
|
||||||
|
|
||||||
glibtop_open_files_entry *
|
glibtop_open_files_entry *
|
||||||
glibtop_get_proc_open_files_p (glibtop *server, glibtop_proc_open_files *buf, pid_t pid);
|
glibtop_get_proc_open_files_p (glibtop *server, glibtop_proc_open_files *buf, pid_t pid);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_proc_open_files_s (glibtop *server);
|
void _glibtop_init_proc_open_files_s (glibtop *server);
|
||||||
|
|
||||||
glibtop_open_files_entry *
|
glibtop_open_files_entry *
|
||||||
glibtop_get_proc_open_files_s (glibtop *server, glibtop_proc_open_files *buf, pid_t pid);
|
glibtop_get_proc_open_files_s (glibtop *server, glibtop_proc_open_files *buf, pid_t pid);
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -69,10 +67,10 @@ void glibtop_get_proc_segment(glibtop_proc_segment *buf, pid_t pid);
|
|||||||
void glibtop_get_proc_segment_l (glibtop *server, glibtop_proc_segment *buf, pid_t pid);
|
void glibtop_get_proc_segment_l (glibtop *server, glibtop_proc_segment *buf, pid_t pid);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PROC_SEGMENT
|
#if GLIBTOP_SUID_PROC_SEGMENT
|
||||||
void glibtop_init_proc_segment_p (glibtop *server);
|
void _glibtop_init_proc_segment_p (glibtop *server);
|
||||||
void glibtop_get_proc_segment_p (glibtop *server, glibtop_proc_segment *buf, pid_t pid);
|
void glibtop_get_proc_segment_p (glibtop *server, glibtop_proc_segment *buf, pid_t pid);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_proc_segment_s (glibtop *server);
|
void _glibtop_init_proc_segment_s (glibtop *server);
|
||||||
void glibtop_get_proc_segment_s (glibtop *server, glibtop_proc_segment *buf, pid_t pid);
|
void glibtop_get_proc_segment_s (glibtop *server, glibtop_proc_segment *buf, pid_t pid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -60,10 +58,10 @@ void glibtop_get_proc_signal(glibtop_proc_signal *buf, pid_t pid);
|
|||||||
void glibtop_get_proc_signal_l (glibtop *server, glibtop_proc_signal *buf, pid_t pid);
|
void glibtop_get_proc_signal_l (glibtop *server, glibtop_proc_signal *buf, pid_t pid);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PROC_SIGNAL
|
#if GLIBTOP_SUID_PROC_SIGNAL
|
||||||
void glibtop_init_proc_signal_p (glibtop *server);
|
void _glibtop_init_proc_signal_p (glibtop *server);
|
||||||
void glibtop_get_proc_signal_p (glibtop *server, glibtop_proc_signal *buf, pid_t pid);
|
void glibtop_get_proc_signal_p (glibtop *server, glibtop_proc_signal *buf, pid_t pid);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_proc_signal_s (glibtop *server);
|
void _glibtop_init_proc_signal_s (glibtop *server);
|
||||||
void glibtop_get_proc_signal_s (glibtop *server, glibtop_proc_signal *buf, pid_t pid);
|
void glibtop_get_proc_signal_s (glibtop *server, glibtop_proc_signal *buf, pid_t pid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -84,10 +82,10 @@ void glibtop_get_proc_state(glibtop_proc_state *buf, pid_t pid);
|
|||||||
void glibtop_get_proc_state_l (glibtop *server, glibtop_proc_state *buf, pid_t pid);
|
void glibtop_get_proc_state_l (glibtop *server, glibtop_proc_state *buf, pid_t pid);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PROC_STATE
|
#if GLIBTOP_SUID_PROC_STATE
|
||||||
void glibtop_init_proc_state_p (glibtop *server);
|
void _glibtop_init_proc_state_p (glibtop *server);
|
||||||
void glibtop_get_proc_state_p (glibtop *server, glibtop_proc_state *buf, pid_t pid);
|
void glibtop_get_proc_state_p (glibtop *server, glibtop_proc_state *buf, pid_t pid);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_proc_state_s (glibtop *server);
|
void _glibtop_init_proc_state_s (glibtop *server);
|
||||||
void glibtop_get_proc_state_s (glibtop *server, glibtop_proc_state *buf, pid_t pid);
|
void glibtop_get_proc_state_s (glibtop *server, glibtop_proc_state *buf, pid_t pid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -82,10 +80,10 @@ void glibtop_get_proc_time(glibtop_proc_time *buf, pid_t pid);
|
|||||||
void glibtop_get_proc_time_l (glibtop *server, glibtop_proc_time *buf, pid_t pid);
|
void glibtop_get_proc_time_l (glibtop *server, glibtop_proc_time *buf, pid_t pid);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PROC_TIME
|
#if GLIBTOP_SUID_PROC_TIME
|
||||||
void glibtop_init_proc_time_p (glibtop *server);
|
void _glibtop_init_proc_time_p (glibtop *server);
|
||||||
void glibtop_get_proc_time_p (glibtop *server, glibtop_proc_time *buf, pid_t pid);
|
void glibtop_get_proc_time_p (glibtop *server, glibtop_proc_time *buf, pid_t pid);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_proc_time_s (glibtop *server);
|
void _glibtop_init_proc_time_s (glibtop *server);
|
||||||
void glibtop_get_proc_time_s (glibtop *server, glibtop_proc_time *buf, pid_t pid);
|
void glibtop_get_proc_time_s (glibtop *server, glibtop_proc_time *buf, pid_t pid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -91,10 +89,10 @@ void glibtop_get_proc_uid(glibtop_proc_uid *buf, pid_t pid);
|
|||||||
void glibtop_get_proc_uid_l (glibtop *server, glibtop_proc_uid *buf, pid_t pid);
|
void glibtop_get_proc_uid_l (glibtop *server, glibtop_proc_uid *buf, pid_t pid);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_PROC_UID
|
#if GLIBTOP_SUID_PROC_UID
|
||||||
void glibtop_init_proc_uid_p (glibtop *server);
|
void _glibtop_init_proc_uid_p (glibtop *server);
|
||||||
void glibtop_get_proc_uid_p (glibtop *server, glibtop_proc_uid *buf, pid_t pid);
|
void glibtop_get_proc_uid_p (glibtop *server, glibtop_proc_uid *buf, pid_t pid);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_proc_uid_s (glibtop *server);
|
void _glibtop_init_proc_uid_s (glibtop *server);
|
||||||
void glibtop_get_proc_uid_s (glibtop *server, glibtop_proc_uid *buf, pid_t pid);
|
void glibtop_get_proc_uid_s (glibtop *server, glibtop_proc_uid *buf, pid_t pid);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
69
include/glibtop/procwd.h
Normal file
69
include/glibtop/procwd.h
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
/* Copyright (C) 2007 Benoît Dejean
|
||||||
|
This file is part of LibGTop 2.
|
||||||
|
|
||||||
|
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., 59 Temple Place - Suite 330,
|
||||||
|
Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __GLIBTOP_PROCWD_H__
|
||||||
|
#define __GLIBTOP_PROCWD_H__
|
||||||
|
|
||||||
|
#include <glibtop.h>
|
||||||
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
typedef struct _glibtop_proc_wd glibtop_proc_wd;
|
||||||
|
|
||||||
|
#define GLIBTOP_PROC_WD_NUMBER 0
|
||||||
|
#define GLIBTOP_PROC_WD_ROOT 1
|
||||||
|
#define GLIBTOP_PROC_WD_EXE 2
|
||||||
|
#define GLIBTOP_PROC_WD_MAX 3
|
||||||
|
|
||||||
|
#define GLIBTOP_PROC_WD_ROOT_LEN 215
|
||||||
|
#define GLIBTOP_PROC_WD_EXE_LEN 215
|
||||||
|
|
||||||
|
struct _glibtop_proc_wd
|
||||||
|
{
|
||||||
|
guint64 flags;
|
||||||
|
guint32 number;
|
||||||
|
char root[GLIBTOP_PROC_WD_ROOT_LEN+1];
|
||||||
|
char exe[GLIBTOP_PROC_WD_EXE_LEN+1];
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
char ** glibtop_get_proc_wd(glibtop_proc_wd *buf, pid_t pid);
|
||||||
|
char ** glibtop_get_proc_wd_l(glibtop *server, glibtop_proc_wd *buf, pid_t pid);
|
||||||
|
|
||||||
|
|
||||||
|
#if GLIBTOP_SUID_PROC_WD
|
||||||
|
|
||||||
|
#define glibtop_get_proc_wd_r glibtop_get_proc_wd_p
|
||||||
|
void _glibtop_init_proc_wd_p(glibtop *server);
|
||||||
|
char ** glibtop_get_proc_wd_p(glibtop *server, glibtop_proc_wd *buf, pid_t pid);
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#define glibtop_get_proc_wd_r glibtop_get_proc_wd_s
|
||||||
|
void _glibtop_init_proc_wd_s(glibtop *server);
|
||||||
|
char ** glibtop_get_proc_wd_s(glibtop *server, glibtop_proc_wd *buf, pid_t pid);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -70,10 +68,10 @@ void glibtop_get_sem_limits(glibtop_sem_limits *buf);
|
|||||||
void glibtop_get_sem_limits_l (glibtop *server, glibtop_sem_limits *buf);
|
void glibtop_get_sem_limits_l (glibtop *server, glibtop_sem_limits *buf);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_SEM_LIMITS
|
#if GLIBTOP_SUID_SEM_LIMITS
|
||||||
void glibtop_init_sem_limits_p (glibtop *server);
|
void _glibtop_init_sem_limits_p (glibtop *server);
|
||||||
void glibtop_get_sem_limits_p (glibtop *server, glibtop_sem_limits *buf);
|
void glibtop_get_sem_limits_p (glibtop *server, glibtop_sem_limits *buf);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_sem_limits_s (glibtop *server);
|
void _glibtop_init_sem_limits_s (glibtop *server);
|
||||||
void glibtop_get_sem_limits_s (glibtop *server, glibtop_sem_limits *buf);
|
void glibtop_get_sem_limits_s (glibtop *server, glibtop_sem_limits *buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -60,10 +58,10 @@ void glibtop_get_shm_limits(glibtop_shm_limits *buf);
|
|||||||
void glibtop_get_shm_limits_l (glibtop *server, glibtop_shm_limits *buf);
|
void glibtop_get_shm_limits_l (glibtop *server, glibtop_shm_limits *buf);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_SHM_LIMITS
|
#if GLIBTOP_SUID_SHM_LIMITS
|
||||||
void glibtop_init_shm_limits_p (glibtop *server);
|
void _glibtop_init_shm_limits_p (glibtop *server);
|
||||||
void glibtop_get_shm_limits_p (glibtop *, glibtop_shm_limits *buf);
|
void glibtop_get_shm_limits_p (glibtop *, glibtop_shm_limits *buf);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_shm_limits_s (glibtop *server);
|
void _glibtop_init_shm_limits_s (glibtop *server);
|
||||||
void glibtop_get_shm_limits_s (glibtop *server, glibtop_shm_limits *buf);
|
void glibtop_get_shm_limits_s (glibtop *server, glibtop_shm_limits *buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -61,10 +59,10 @@ glibtop_get_swap(glibtop_swap *buf);
|
|||||||
void glibtop_get_swap_l (glibtop *server, glibtop_swap *buf);
|
void glibtop_get_swap_l (glibtop *server, glibtop_swap *buf);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_SWAP
|
#if GLIBTOP_SUID_SWAP
|
||||||
void glibtop_init_swap_p (glibtop *server);
|
void _glibtop_init_swap_p (glibtop *server);
|
||||||
void glibtop_get_swap_p (glibtop *server, glibtop_swap *buf);
|
void glibtop_get_swap_p (glibtop *server, glibtop_swap *buf);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_swap_s (glibtop *server);
|
void _glibtop_init_swap_s (glibtop *server);
|
||||||
void glibtop_get_swap_s (glibtop *server, glibtop_swap *buf);
|
void glibtop_get_swap_s (glibtop *server, glibtop_swap *buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -53,8 +51,9 @@ G_BEGIN_DECLS
|
|||||||
#define GLIBTOP_SYSDEPS_PPP 22
|
#define GLIBTOP_SYSDEPS_PPP 22
|
||||||
#define GLIBTOP_SYSDEPS_NETLIST 23
|
#define GLIBTOP_SYSDEPS_NETLIST 23
|
||||||
#define GLIBTOP_SYSDEPS_PROC_OPEN_FILES 24
|
#define GLIBTOP_SYSDEPS_PROC_OPEN_FILES 24
|
||||||
|
#define GLIBTOP_SYSDEPS_PROC_WD 25
|
||||||
|
|
||||||
#define GLIBTOP_MAX_SYSDEPS 25
|
#define GLIBTOP_MAX_SYSDEPS 26
|
||||||
|
|
||||||
#define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1)
|
#define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1)
|
||||||
|
|
||||||
@@ -88,6 +87,7 @@ struct _glibtop_sysdeps
|
|||||||
guint64 netlist; /* glibtop_netlist */
|
guint64 netlist; /* glibtop_netlist */
|
||||||
guint64 netload; /* glibtop_netload */
|
guint64 netload; /* glibtop_netload */
|
||||||
guint64 ppp; /* glibtop_ppp */
|
guint64 ppp; /* glibtop_ppp */
|
||||||
|
guint64 proc_wd; /* glibtop_proc_wd */
|
||||||
};
|
};
|
||||||
|
|
||||||
void glibtop_get_sysdeps (glibtop_sysdeps *buf);
|
void glibtop_get_sysdeps (glibtop_sysdeps *buf);
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -44,6 +42,7 @@
|
|||||||
#include <glibtop/procargs.h>
|
#include <glibtop/procargs.h>
|
||||||
#include <glibtop/procmap.h>
|
#include <glibtop/procmap.h>
|
||||||
#include <glibtop/procopenfiles.h>
|
#include <glibtop/procopenfiles.h>
|
||||||
|
#include <glibtop/procwd.h>
|
||||||
|
|
||||||
#include <glibtop/mountlist.h>
|
#include <glibtop/mountlist.h>
|
||||||
#include <glibtop/fsusage.h>
|
#include <glibtop/fsusage.h>
|
||||||
@@ -82,6 +81,7 @@ union _glibtop_union
|
|||||||
glibtop_netload netload;
|
glibtop_netload netload;
|
||||||
glibtop_ppp ppp;
|
glibtop_ppp ppp;
|
||||||
glibtop_proc_open_files proc_open_files;
|
glibtop_proc_open_files proc_open_files;
|
||||||
|
glibtop_proc_wd proc_wd;
|
||||||
};
|
};
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -56,10 +54,10 @@ void glibtop_get_uptime (glibtop_uptime *buf);
|
|||||||
void glibtop_get_uptime_l (glibtop *server, glibtop_uptime *buf);
|
void glibtop_get_uptime_l (glibtop *server, glibtop_uptime *buf);
|
||||||
|
|
||||||
#if GLIBTOP_SUID_UPTIME
|
#if GLIBTOP_SUID_UPTIME
|
||||||
void glibtop_init_uptime_p (glibtop *server);
|
void _glibtop_init_uptime_p (glibtop *server);
|
||||||
void glibtop_get_uptime_p (glibtop *server, glibtop_uptime *buf);
|
void glibtop_get_uptime_p (glibtop *server, glibtop_uptime *buf);
|
||||||
#else
|
#else
|
||||||
void glibtop_init_uptime_s (glibtop *server);
|
void _glibtop_init_uptime_s (glibtop *server);
|
||||||
void glibtop_get_uptime_s (glibtop *server, glibtop_uptime *buf);
|
void glibtop_get_uptime_s (glibtop *server, glibtop_uptime *buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,8 +0,0 @@
|
|||||||
.deps
|
|
||||||
.libs
|
|
||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
libgtop.la
|
|
||||||
*.lo
|
|
||||||
lib.c
|
|
||||||
error.loT
|
|
@@ -7,7 +7,7 @@ libgtop_2_0_la_SOURCES = init.c open.c close.c command.c read.c \
|
|||||||
read_data.c write.c lib.c parameter.c \
|
read_data.c write.c lib.c parameter.c \
|
||||||
sysdeps.c
|
sysdeps.c
|
||||||
|
|
||||||
libgtop_2_0_la_LDFLAGS = $(LT_VERSION_INFO) -export-symbols-regex "^[^_].*"
|
libgtop_2_0_la_LDFLAGS = $(LT_VERSION_INFO) -export-symbols $(srcdir)/libgtop.sym
|
||||||
libgtop_2_0_la_LIBADD = $(GLIB_LIBS) $(top_builddir)/sysdeps/common/libgtop_common-2.0.la $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la $(sysdeps_suid_lib)
|
libgtop_2_0_la_LIBADD = $(GLIB_LIBS) $(top_builddir)/sysdeps/common/libgtop_common-2.0.la $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la $(sysdeps_suid_lib)
|
||||||
|
|
||||||
BUILT_SOURCES = lib.c
|
BUILT_SOURCES = lib.c
|
||||||
@@ -16,7 +16,7 @@ lib.c: lib.pl $(top_builddir)/config.h $(top_srcdir)/features.def
|
|||||||
$(PERL) $(srcdir)/lib.pl < $(top_srcdir)/features.def > lib-t
|
$(PERL) $(srcdir)/lib.pl < $(top_srcdir)/features.def > lib-t
|
||||||
mv lib-t lib.c
|
mv lib-t lib.c
|
||||||
|
|
||||||
EXTRA_DIST = lib.pl
|
EXTRA_DIST = lib.pl libgtop.sym
|
||||||
|
|
||||||
CLEANFILES = lib.c
|
CLEANFILES = lib.c
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 2.0.
|
This file is part of LibGTop 2.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -221,7 +219,7 @@ glibtop *
|
|||||||
glibtop_init_s (glibtop **server_ptr, unsigned long features, unsigned flags)
|
glibtop_init_s (glibtop **server_ptr, unsigned long features, unsigned flags)
|
||||||
{
|
{
|
||||||
glibtop *server;
|
glibtop *server;
|
||||||
const glibtop_init_func_t *init_fkt;
|
const _glibtop_init_func_t *init_fkt;
|
||||||
|
|
||||||
if (server_ptr == NULL)
|
if (server_ptr == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
117
lib/inodedb.c
117
lib/inodedb.c
@@ -1,117 +0,0 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* 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., 59 Temple Place - Suite 330,
|
|
||||||
Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <glibtop.h>
|
|
||||||
#include <glibtop/error.h>
|
|
||||||
#include <glibtop/inodedb.h>
|
|
||||||
|
|
||||||
#include <pwd.h>
|
|
||||||
#include <gdbm.h>
|
|
||||||
|
|
||||||
#ifndef SYSTEM_INODEDB
|
|
||||||
#define SYSTEM_INODEDB "/usr/var/libgtop/inodedb.db"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
glibtop_inodedb *
|
|
||||||
glibtop_inodedb_open_s (glibtop *server, unsigned databases,
|
|
||||||
unsigned long cachesize)
|
|
||||||
{
|
|
||||||
glibtop_inodedb *inodedb;
|
|
||||||
char filename [BUFSIZ];
|
|
||||||
struct passwd *pwd;
|
|
||||||
struct stat statb;
|
|
||||||
|
|
||||||
if (!databases)
|
|
||||||
databases = GLIBTOP_INODEDB_ALL;
|
|
||||||
|
|
||||||
inodedb = g_malloc (sizeof (glibtop_inodedb));
|
|
||||||
|
|
||||||
if (stat (SYSTEM_INODEDB, &statb))
|
|
||||||
databases &= ~GLIBTOP_INODEDB_SYSTEM;
|
|
||||||
|
|
||||||
if (databases & GLIBTOP_INODEDB_SYSTEM) {
|
|
||||||
inodedb->system_dbf = gdbm_open
|
|
||||||
(SYSTEM_INODEDB, 0, GDBM_READER, 0, 0);
|
|
||||||
if (!inodedb->system_dbf)
|
|
||||||
glibtop_error_io_r
|
|
||||||
(server, "gdbm_open (%s)", SYSTEM_INODEDB);
|
|
||||||
}
|
|
||||||
|
|
||||||
pwd = getpwuid (getuid ());
|
|
||||||
if (!pwd) glibtop_error_io_r (server, "getpwuid");
|
|
||||||
|
|
||||||
sprintf (filename, "%s/var/libgtop/inodedb.db", pwd->pw_dir);
|
|
||||||
|
|
||||||
if (stat (filename, &statb))
|
|
||||||
databases &= ~GLIBTOP_INODEDB_USER;
|
|
||||||
|
|
||||||
if (databases & GLIBTOP_INODEDB_USER) {
|
|
||||||
inodedb->user_dbf = gdbm_open
|
|
||||||
(filename, 0, GDBM_READER, 0, 0);
|
|
||||||
if (!inodedb->user_dbf)
|
|
||||||
glibtop_error_io_r
|
|
||||||
(server, "gdbm_open (%s)", filename);
|
|
||||||
}
|
|
||||||
|
|
||||||
return inodedb;
|
|
||||||
}
|
|
||||||
|
|
||||||
const char *
|
|
||||||
glibtop_inodedb_lookup_s (glibtop *server,
|
|
||||||
glibtop_inodedb *inodedb,
|
|
||||||
guint64 device, guint64 inode)
|
|
||||||
{
|
|
||||||
glibtop_inodedb_key key;
|
|
||||||
datum d_key, d_content;
|
|
||||||
|
|
||||||
d_key.dptr = (void *) &key;
|
|
||||||
d_key.dsize = sizeof (key);
|
|
||||||
|
|
||||||
key.device = device;
|
|
||||||
key.inode = inode;
|
|
||||||
|
|
||||||
if (inodedb->system_dbf) {
|
|
||||||
d_content = gdbm_fetch (inodedb->system_dbf, d_key);
|
|
||||||
if (d_content.dptr) return d_content.dptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (inodedb->user_dbf) {
|
|
||||||
d_content = gdbm_fetch (inodedb->user_dbf, d_key);
|
|
||||||
if (d_content.dptr) return d_content.dptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
glibtop_inodedb_close_s (glibtop *server, glibtop_inodedb *inodedb)
|
|
||||||
{
|
|
||||||
if (inodedb->system_dbf)
|
|
||||||
gdbm_close (inodedb->system_dbf);
|
|
||||||
|
|
||||||
if (inodedb->user_dbf)
|
|
||||||
gdbm_close (inodedb->user_dbf);
|
|
||||||
|
|
||||||
g_free (inodedb);
|
|
||||||
}
|
|
130
lib/libgtop.sym
Normal file
130
lib/libgtop.sym
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
glibtop_call_l
|
||||||
|
glibtop_call_p
|
||||||
|
glibtop_close
|
||||||
|
glibtop_close_p
|
||||||
|
glibtop_close_r
|
||||||
|
glibtop_close_s
|
||||||
|
glibtop_get_cpu
|
||||||
|
glibtop_get_cpu_l
|
||||||
|
glibtop_get_cpu_p
|
||||||
|
glibtop_get_cpu_s
|
||||||
|
glibtop_get_fsusage
|
||||||
|
glibtop_get_fsusage_l
|
||||||
|
glibtop_get_fsusage_p
|
||||||
|
glibtop_get_fsusage_s
|
||||||
|
glibtop_get_loadavg
|
||||||
|
glibtop_get_loadavg_l
|
||||||
|
glibtop_get_loadavg_p
|
||||||
|
glibtop_get_loadavg_s
|
||||||
|
glibtop_get_mem
|
||||||
|
glibtop_get_mem_l
|
||||||
|
glibtop_get_mem_p
|
||||||
|
glibtop_get_mem_s
|
||||||
|
glibtop_get_mountlist
|
||||||
|
glibtop_get_mountlist_l
|
||||||
|
glibtop_get_mountlist_p
|
||||||
|
glibtop_get_mountlist_s
|
||||||
|
glibtop_get_msg_limits
|
||||||
|
glibtop_get_msg_limits_l
|
||||||
|
glibtop_get_msg_limits_p
|
||||||
|
glibtop_get_msg_limits_s
|
||||||
|
glibtop_get_netlist
|
||||||
|
glibtop_get_netlist_l
|
||||||
|
glibtop_get_netlist_p
|
||||||
|
glibtop_get_netlist_s
|
||||||
|
glibtop_get_netload
|
||||||
|
glibtop_get_netload_l
|
||||||
|
glibtop_get_netload_p
|
||||||
|
glibtop_get_netload_s
|
||||||
|
glibtop_get_parameter_l
|
||||||
|
glibtop_get_parameter_p
|
||||||
|
glibtop_get_ppp
|
||||||
|
glibtop_get_ppp_l
|
||||||
|
glibtop_get_ppp_p
|
||||||
|
glibtop_get_ppp_s
|
||||||
|
glibtop_get_proc_args
|
||||||
|
glibtop_get_proc_args_l
|
||||||
|
glibtop_get_proc_args_p
|
||||||
|
glibtop_get_proc_args_s
|
||||||
|
glibtop_get_proc_argv
|
||||||
|
glibtop_get_proc_argv_l
|
||||||
|
glibtop_get_proc_argv_p
|
||||||
|
glibtop_get_proc_kernel
|
||||||
|
glibtop_get_proc_kernel_l
|
||||||
|
glibtop_get_proc_kernel_p
|
||||||
|
glibtop_get_proc_kernel_s
|
||||||
|
glibtop_get_proclist
|
||||||
|
glibtop_get_proclist_l
|
||||||
|
glibtop_get_proclist_p
|
||||||
|
glibtop_get_proclist_s
|
||||||
|
glibtop_get_proc_map
|
||||||
|
glibtop_get_proc_map_l
|
||||||
|
glibtop_get_proc_map_p
|
||||||
|
glibtop_get_proc_map_s
|
||||||
|
glibtop_get_proc_mem
|
||||||
|
glibtop_get_proc_mem_l
|
||||||
|
glibtop_get_proc_mem_p
|
||||||
|
glibtop_get_proc_mem_s
|
||||||
|
glibtop_get_proc_open_files
|
||||||
|
glibtop_get_proc_open_files_l
|
||||||
|
glibtop_get_proc_open_files_p
|
||||||
|
glibtop_get_proc_open_files_s
|
||||||
|
glibtop_get_proc_segment
|
||||||
|
glibtop_get_proc_segment_l
|
||||||
|
glibtop_get_proc_segment_p
|
||||||
|
glibtop_get_proc_segment_s
|
||||||
|
glibtop_get_proc_signal
|
||||||
|
glibtop_get_proc_signal_l
|
||||||
|
glibtop_get_proc_signal_p
|
||||||
|
glibtop_get_proc_signal_s
|
||||||
|
glibtop_get_proc_state
|
||||||
|
glibtop_get_proc_state_l
|
||||||
|
glibtop_get_proc_state_p
|
||||||
|
glibtop_get_proc_state_s
|
||||||
|
glibtop_get_proc_time
|
||||||
|
glibtop_get_proc_time_l
|
||||||
|
glibtop_get_proc_time_p
|
||||||
|
glibtop_get_proc_time_s
|
||||||
|
glibtop_get_proc_uid
|
||||||
|
glibtop_get_proc_uid_l
|
||||||
|
glibtop_get_proc_uid_p
|
||||||
|
glibtop_get_proc_uid_s
|
||||||
|
glibtop_get_proc_wd
|
||||||
|
glibtop_get_proc_wd_l
|
||||||
|
glibtop_get_proc_wd_p
|
||||||
|
glibtop_get_proc_wd_s
|
||||||
|
glibtop_get_sem_limits
|
||||||
|
glibtop_get_sem_limits_l
|
||||||
|
glibtop_get_sem_limits_p
|
||||||
|
glibtop_get_sem_limits_s
|
||||||
|
glibtop_get_shm_limits
|
||||||
|
glibtop_get_shm_limits_l
|
||||||
|
glibtop_get_shm_limits_p
|
||||||
|
glibtop_get_shm_limits_s
|
||||||
|
glibtop_get_swap
|
||||||
|
glibtop_get_swap_l
|
||||||
|
glibtop_get_swap_p
|
||||||
|
glibtop_get_swap_s
|
||||||
|
glibtop_get_sysdeps
|
||||||
|
glibtop_get_sysdeps_r
|
||||||
|
glibtop_get_sysinfo
|
||||||
|
glibtop_get_sysinfo_p
|
||||||
|
glibtop_get_sysinfo_s
|
||||||
|
glibtop_get_uptime
|
||||||
|
glibtop_get_uptime_l
|
||||||
|
glibtop_get_uptime_p
|
||||||
|
glibtop_get_uptime_s
|
||||||
|
glibtop_global_server
|
||||||
|
glibtop_init
|
||||||
|
glibtop_init_p
|
||||||
|
glibtop_init_r
|
||||||
|
glibtop_init_s
|
||||||
|
glibtop_internet_addr
|
||||||
|
glibtop_make_connection
|
||||||
|
glibtop_open_l
|
||||||
|
glibtop_open_p
|
||||||
|
glibtop_open_s
|
||||||
|
glibtop_server_features
|
||||||
|
glibtop_set_parameter_l
|
||||||
|
glibtop_set_parameter_p
|
||||||
|
glibtop_sys_siglist
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
41
lib/read.c
41
lib/read.c
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -22,48 +20,39 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
#include <errno.h>
|
||||||
#include <glibtop/read.h>
|
#include <glibtop/read.h>
|
||||||
#include <glibtop/error.h>
|
#include <glibtop/error.h>
|
||||||
#include <glib/gi18n-lib.h>
|
#include <glib/gi18n-lib.h>
|
||||||
|
|
||||||
|
|
||||||
/* Reads some data from server. */
|
|
||||||
|
|
||||||
static void
|
|
||||||
do_read (int s, void *ptr, size_t total_size)
|
|
||||||
{
|
|
||||||
ssize_t nread;
|
|
||||||
|
|
||||||
if(!total_size) return;
|
|
||||||
|
|
||||||
while (total_size && (nread = recv (s, ptr, total_size, 0)) > 0) {
|
|
||||||
total_size -= nread;
|
|
||||||
ptr = (char*)ptr + nread;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(nread == 0)
|
|
||||||
close (s);
|
|
||||||
else if (nread < 0)
|
|
||||||
glibtop_error_io ("recv");
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
glibtop_read_l (glibtop *server, size_t size, void *buf)
|
glibtop_read_l (glibtop *server, size_t size, void *buf)
|
||||||
{
|
{
|
||||||
|
int fd;
|
||||||
glibtop_init_r (&server, 0, 0);
|
glibtop_init_r (&server, 0, 0);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf (stderr, "LIBRARY: really reading %d bytes.\n", (int)size);
|
fprintf (stderr, "LIBRARY: really reading %d bytes.\n", (int)size);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (server->socket) {
|
fd = server->socket ? server->socket : server->input[0];
|
||||||
do_read (server->socket, buf, size);
|
|
||||||
} else {
|
while (size) {
|
||||||
if(read (server->input [0], buf, size) < 0)
|
ssize_t nread = read(fd, buf, size);
|
||||||
glibtop_error_io_r (
|
|
||||||
|
if (nread < 0 && errno == EINTR)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
if (nread <= 0)
|
||||||
|
glibtop_error_io_r(
|
||||||
server,
|
server,
|
||||||
ngettext ("read %d byte",
|
ngettext ("read %d byte",
|
||||||
"read %d bytes", size),
|
"read %d bytes", size),
|
||||||
(int)size);
|
(int)size);
|
||||||
|
|
||||||
|
size -= nread;
|
||||||
|
buf = (char *)buf + nread;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
@@ -46,138 +46,145 @@ GLIBTOP_SUID_PROC_ARGS +
|
|||||||
GLIBTOP_SUID_PROC_MAP +
|
GLIBTOP_SUID_PROC_MAP +
|
||||||
GLIBTOP_SUID_NETLOAD +
|
GLIBTOP_SUID_NETLOAD +
|
||||||
GLIBTOP_SUID_NETLIST +
|
GLIBTOP_SUID_NETLIST +
|
||||||
|
GLIBTOP_SUID_PROC_WD +
|
||||||
GLIBTOP_SUID_PPP;
|
GLIBTOP_SUID_PPP;
|
||||||
|
|
||||||
const glibtop_init_func_t _glibtop_init_hook_s [] = {
|
const _glibtop_init_func_t _glibtop_init_hook_s [] = {
|
||||||
#if !GLIBTOP_SUID_CPU
|
#if !GLIBTOP_SUID_CPU
|
||||||
glibtop_init_cpu_s,
|
_glibtop_init_cpu_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_MEM
|
#if !GLIBTOP_SUID_MEM
|
||||||
glibtop_init_mem_s,
|
_glibtop_init_mem_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_SWAP
|
#if !GLIBTOP_SUID_SWAP
|
||||||
glibtop_init_swap_s,
|
_glibtop_init_swap_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_UPTIME
|
#if !GLIBTOP_SUID_UPTIME
|
||||||
glibtop_init_uptime_s,
|
_glibtop_init_uptime_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_LOADAVG
|
#if !GLIBTOP_SUID_LOADAVG
|
||||||
glibtop_init_loadavg_s,
|
_glibtop_init_loadavg_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_SHM_LIMITS
|
#if !GLIBTOP_SUID_SHM_LIMITS
|
||||||
glibtop_init_shm_limits_s,
|
_glibtop_init_shm_limits_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_MSG_LIMITS
|
#if !GLIBTOP_SUID_MSG_LIMITS
|
||||||
glibtop_init_msg_limits_s,
|
_glibtop_init_msg_limits_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_SEM_LIMITS
|
#if !GLIBTOP_SUID_SEM_LIMITS
|
||||||
glibtop_init_sem_limits_s,
|
_glibtop_init_sem_limits_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_PROCLIST
|
#if !GLIBTOP_SUID_PROCLIST
|
||||||
glibtop_init_proclist_s,
|
_glibtop_init_proclist_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_PROC_STATE
|
#if !GLIBTOP_SUID_PROC_STATE
|
||||||
glibtop_init_proc_state_s,
|
_glibtop_init_proc_state_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_PROC_UID
|
#if !GLIBTOP_SUID_PROC_UID
|
||||||
glibtop_init_proc_uid_s,
|
_glibtop_init_proc_uid_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_PROC_MEM
|
#if !GLIBTOP_SUID_PROC_MEM
|
||||||
glibtop_init_proc_mem_s,
|
_glibtop_init_proc_mem_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_PROC_TIME
|
#if !GLIBTOP_SUID_PROC_TIME
|
||||||
glibtop_init_proc_time_s,
|
_glibtop_init_proc_time_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_PROC_SIGNAL
|
#if !GLIBTOP_SUID_PROC_SIGNAL
|
||||||
glibtop_init_proc_signal_s,
|
_glibtop_init_proc_signal_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_PROC_KERNEL
|
#if !GLIBTOP_SUID_PROC_KERNEL
|
||||||
glibtop_init_proc_kernel_s,
|
_glibtop_init_proc_kernel_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_PROC_SEGMENT
|
#if !GLIBTOP_SUID_PROC_SEGMENT
|
||||||
glibtop_init_proc_segment_s,
|
_glibtop_init_proc_segment_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_PROC_ARGS
|
#if !GLIBTOP_SUID_PROC_ARGS
|
||||||
glibtop_init_proc_args_s,
|
_glibtop_init_proc_args_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_PROC_MAP
|
#if !GLIBTOP_SUID_PROC_MAP
|
||||||
glibtop_init_proc_map_s,
|
_glibtop_init_proc_map_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_NETLOAD
|
#if !GLIBTOP_SUID_NETLOAD
|
||||||
glibtop_init_netload_s,
|
_glibtop_init_netload_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_NETLIST
|
#if !GLIBTOP_SUID_NETLIST
|
||||||
glibtop_init_netlist_s,
|
_glibtop_init_netlist_s,
|
||||||
|
#endif
|
||||||
|
#if !GLIBTOP_SUID_PROC_WD
|
||||||
|
_glibtop_init_proc_wd_s,
|
||||||
#endif
|
#endif
|
||||||
#if !GLIBTOP_SUID_PPP
|
#if !GLIBTOP_SUID_PPP
|
||||||
glibtop_init_ppp_s,
|
_glibtop_init_ppp_s,
|
||||||
#endif
|
#endif
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
const glibtop_init_func_t _glibtop_init_hook_p [] = {
|
const _glibtop_init_func_t _glibtop_init_hook_p [] = {
|
||||||
#if GLIBTOP_SUID_CPU
|
#if GLIBTOP_SUID_CPU
|
||||||
glibtop_init_cpu_p,
|
_glibtop_init_cpu_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_MEM
|
#if GLIBTOP_SUID_MEM
|
||||||
glibtop_init_mem_p,
|
_glibtop_init_mem_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_SWAP
|
#if GLIBTOP_SUID_SWAP
|
||||||
glibtop_init_swap_p,
|
_glibtop_init_swap_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_UPTIME
|
#if GLIBTOP_SUID_UPTIME
|
||||||
glibtop_init_uptime_p,
|
_glibtop_init_uptime_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_LOADAVG
|
#if GLIBTOP_SUID_LOADAVG
|
||||||
glibtop_init_loadavg_p,
|
_glibtop_init_loadavg_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_SHM_LIMITS
|
#if GLIBTOP_SUID_SHM_LIMITS
|
||||||
glibtop_init_shm_limits_p,
|
_glibtop_init_shm_limits_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_MSG_LIMITS
|
#if GLIBTOP_SUID_MSG_LIMITS
|
||||||
glibtop_init_msg_limits_p,
|
_glibtop_init_msg_limits_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_SEM_LIMITS
|
#if GLIBTOP_SUID_SEM_LIMITS
|
||||||
glibtop_init_sem_limits_p,
|
_glibtop_init_sem_limits_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_PROCLIST
|
#if GLIBTOP_SUID_PROCLIST
|
||||||
glibtop_init_proclist_p,
|
_glibtop_init_proclist_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_PROC_STATE
|
#if GLIBTOP_SUID_PROC_STATE
|
||||||
glibtop_init_proc_state_p,
|
_glibtop_init_proc_state_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_PROC_UID
|
#if GLIBTOP_SUID_PROC_UID
|
||||||
glibtop_init_proc_uid_p,
|
_glibtop_init_proc_uid_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_PROC_MEM
|
#if GLIBTOP_SUID_PROC_MEM
|
||||||
glibtop_init_proc_mem_p,
|
_glibtop_init_proc_mem_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_PROC_TIME
|
#if GLIBTOP_SUID_PROC_TIME
|
||||||
glibtop_init_proc_time_p,
|
_glibtop_init_proc_time_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_PROC_SIGNAL
|
#if GLIBTOP_SUID_PROC_SIGNAL
|
||||||
glibtop_init_proc_signal_p,
|
_glibtop_init_proc_signal_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_PROC_KERNEL
|
#if GLIBTOP_SUID_PROC_KERNEL
|
||||||
glibtop_init_proc_kernel_p,
|
_glibtop_init_proc_kernel_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_PROC_SEGMENT
|
#if GLIBTOP_SUID_PROC_SEGMENT
|
||||||
glibtop_init_proc_segment_p,
|
_glibtop_init_proc_segment_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_PROC_ARGS
|
#if GLIBTOP_SUID_PROC_ARGS
|
||||||
glibtop_init_proc_args_p,
|
_glibtop_init_proc_args_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_PROC_MAP
|
#if GLIBTOP_SUID_PROC_MAP
|
||||||
glibtop_init_proc_map_p,
|
_glibtop_init_proc_map_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_NETLOAD
|
#if GLIBTOP_SUID_NETLOAD
|
||||||
glibtop_init_netload_p,
|
_glibtop_init_netload_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_NETLIST
|
#if GLIBTOP_SUID_NETLIST
|
||||||
glibtop_init_netlist_p,
|
_glibtop_init_netlist_p,
|
||||||
|
#endif
|
||||||
|
#if GLIBTOP_SUID_PROC_WD
|
||||||
|
_glibtop_init_proc_wd_p,
|
||||||
#endif
|
#endif
|
||||||
#if GLIBTOP_SUID_PPP
|
#if GLIBTOP_SUID_PPP
|
||||||
glibtop_init_ppp_p,
|
_glibtop_init_ppp_p,
|
||||||
#endif
|
#endif
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
14
lib/write.c
14
lib/write.c
@@ -1,5 +1,3 @@
|
|||||||
/* $Id$ */
|
|
||||||
|
|
||||||
/* Copyright (C) 1998-99 Martin Baulig
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
This file is part of LibGTop 1.0.
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
@@ -22,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
#include <errno.h>
|
||||||
#include <glibtop/write.h>
|
#include <glibtop/write.h>
|
||||||
#include <glibtop/error.h>
|
#include <glibtop/error.h>
|
||||||
#include <glib/gi18n-lib.h>
|
#include <glib/gi18n-lib.h>
|
||||||
@@ -33,6 +31,7 @@ void
|
|||||||
glibtop_write_l (glibtop *server, size_t size, void *buf)
|
glibtop_write_l (glibtop *server, size_t size, void *buf)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
int fd;
|
||||||
|
|
||||||
glibtop_init_r (&server, 0, 0);
|
glibtop_init_r (&server, 0, 0);
|
||||||
|
|
||||||
@@ -42,11 +41,10 @@ glibtop_write_l (glibtop *server, size_t size, void *buf)
|
|||||||
fprintf (stderr, "LIBRARY: really writing %d bytes.\n", (int)size);
|
fprintf (stderr, "LIBRARY: really writing %d bytes.\n", (int)size);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (server->socket) {
|
fd = server->socket ? server->socket : server->output[1];
|
||||||
ret = send (server->socket, buf, size, 0);
|
|
||||||
} else {
|
while ((ret = write(fd, buf, size)) < 0 && errno == EINTR)
|
||||||
ret = write (server->output [1], buf, size);
|
;
|
||||||
}
|
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
glibtop_error_io_r (server,
|
glibtop_error_io_r (server,
|
||||||
|
@@ -18,9 +18,9 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
|
|||||||
AC_SUBST(libgtop_need_server)
|
AC_SUBST(libgtop_need_server)
|
||||||
|
|
||||||
AC_ARG_WITH(libgtop-examples,
|
AC_ARG_WITH(libgtop-examples,
|
||||||
AS_HELP_STRING([--with-libgtop-examples],
|
AS_HELP_STRING([--with-examples],
|
||||||
[Build the libgtop examples @<:@default=no@:>@]),[
|
[Build the libgtop examples @<:@default=yes@:>@]),[
|
||||||
build_examples="$withval"], [build_examples=no])
|
build_examples="$withval"], [build_examples=yes])
|
||||||
|
|
||||||
AM_CONDITIONAL(EXAMPLES, test x"$build_examples" = xyes)
|
AM_CONDITIONAL(EXAMPLES, test x"$build_examples" = xyes)
|
||||||
|
|
||||||
@@ -63,15 +63,21 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
|
|||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
linux*)
|
linux*)
|
||||||
libgtop_sysdeps_dir=linux
|
libgtop_sysdeps_dir=linux
|
||||||
libgtop_use_machine_h=no
|
libgtop_use_machine_h=yes
|
||||||
libgtop_have_sysinfo=yes
|
libgtop_have_sysinfo=yes
|
||||||
libgtop_need_server=no
|
libgtop_need_server=yes
|
||||||
;;
|
;;
|
||||||
freebsd*|netbsd*|openbsd*|bsdi*|kfreebsd*)
|
netbsd*|openbsd*|bsdi*)
|
||||||
|
libgtop_sysdeps_dir=bsd
|
||||||
|
libgtop_use_machine_h=yes
|
||||||
|
libgtop_need_server=yes
|
||||||
|
libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server2'
|
||||||
|
;;
|
||||||
|
freebsd*|kfreebsd*)
|
||||||
libgtop_sysdeps_dir=freebsd
|
libgtop_sysdeps_dir=freebsd
|
||||||
libgtop_use_machine_h=yes
|
libgtop_use_machine_h=yes
|
||||||
libgtop_need_server=yes
|
libgtop_need_server=yes
|
||||||
libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server'
|
libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server2'
|
||||||
;;
|
;;
|
||||||
solaris*)
|
solaris*)
|
||||||
libgtop_sysdeps_dir=solaris
|
libgtop_sysdeps_dir=solaris
|
||||||
@@ -134,6 +140,20 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
|
|||||||
|
|
||||||
AC_SUBST(KVM_LIBS)
|
AC_SUBST(KVM_LIBS)
|
||||||
|
|
||||||
|
case "$host_os" in
|
||||||
|
kfreebsd*)
|
||||||
|
EXTRA_SYSDEPS_LIBS="-lgeom -ldevstat"
|
||||||
|
;;
|
||||||
|
freebsd*)
|
||||||
|
osreldate=`sysctl -n kern.osreldate 2>/dev/null`
|
||||||
|
if test -n "${osreldate}" && test ${osreldate} -ge 600000 ; then
|
||||||
|
EXTRA_SYSDEPS_LIBS="-lgeom -ldevstat"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
AC_SUBST(EXTRA_SYSDEPS_LIBS)
|
||||||
|
|
||||||
AC_CHECK_HEADERS(net/if_var.h)
|
AC_CHECK_HEADERS(net/if_var.h)
|
||||||
AC_MSG_CHECKING([for I4B])
|
AC_MSG_CHECKING([for I4B])
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
@@ -203,6 +223,7 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
|
|||||||
msginfo_needs=
|
msginfo_needs=
|
||||||
for def in nothing KERNEL _KERNEL; do
|
for def in nothing KERNEL _KERNEL; do
|
||||||
AC_COMPILE_IFELSE([#define $def
|
AC_COMPILE_IFELSE([#define $def
|
||||||
|
#include <sys/types.h>
|
||||||
#include <sys/ipc.h>
|
#include <sys/ipc.h>
|
||||||
#include <sys/msg.h>
|
#include <sys/msg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@@ -59,12 +59,12 @@ Examples for LibGTop.
|
|||||||
%build
|
%build
|
||||||
# Needed for snapshot releases.
|
# Needed for snapshot releases.
|
||||||
if [ ! -f configure ]; then
|
if [ ! -f configure ]; then
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples --with-libgtop-smp
|
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --without-linux-table --with-libgtop-examples --with-libgtop-smp
|
||||||
else
|
else
|
||||||
%ifarch alpha
|
%ifarch alpha
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples --with-libgtop-smp
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples --with-libgtop-smp
|
||||||
%else
|
%else
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples --with-libgtop-smp
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --without-linux-table --with-libgtop-examples --with-libgtop-smp
|
||||||
%endif
|
%endif
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
Makefile.in
|
|
||||||
Makefile
|
|
@@ -1,14 +0,0 @@
|
|||||||
*.gmo
|
|
||||||
*.mo
|
|
||||||
*.pot
|
|
||||||
Makefile
|
|
||||||
Makefile.in
|
|
||||||
Makefile.in.in
|
|
||||||
POTFILES
|
|
||||||
cat-id-tbl.c
|
|
||||||
messages
|
|
||||||
missing
|
|
||||||
notexist
|
|
||||||
po2tbl.sed
|
|
||||||
po2tbl.sed.in
|
|
||||||
stamp-cat-id
|
|
53
po/ChangeLog
53
po/ChangeLog
@@ -1,3 +1,56 @@
|
|||||||
|
2007-06-23 Kjartan Maraas <kmaraas@gnome.org>
|
||||||
|
|
||||||
|
* nb.po: Updated Norwegian bokmål translation.
|
||||||
|
|
||||||
|
2007-06-13 Pema Geyleg <pema.geyleg@gmail.com>
|
||||||
|
|
||||||
|
* dz.po: Updated dzongkha translation.
|
||||||
|
|
||||||
|
2007-05-27 Daniel Nylander <po@danielnylander.se>
|
||||||
|
|
||||||
|
* sv.po: Updated Swedish translation.
|
||||||
|
|
||||||
|
2007-05-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
|
||||||
|
|
||||||
|
* th.po: Updated Thai translation.
|
||||||
|
|
||||||
|
2007-05-17 Priit Laes <plaes@svn.gnome.org>
|
||||||
|
|
||||||
|
* et.po: Updated Estonian translation by Ivar Smolin <okul@linux.ee>.
|
||||||
|
|
||||||
|
2007-05-15 David Lodge <dave@cirt.net>
|
||||||
|
|
||||||
|
* en_GB.po: Updated British English translation
|
||||||
|
|
||||||
|
2007-05-14 Jorge Gonzalez <jorgegonz@svn.gnome.org>
|
||||||
|
|
||||||
|
* es.po: Updated Spanish translation.
|
||||||
|
|
||||||
|
2007-04-27 I Felix <ifelix25@gmail.com>
|
||||||
|
|
||||||
|
* ta.po: Updated Tamil Translation.
|
||||||
|
|
||||||
|
2007-04-25 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
|
* ta.po: Updated Tamil translation.
|
||||||
|
Translated by Senthil Kumar <senthil0627@gmail.com>.
|
||||||
|
|
||||||
|
2007-03-25 Ignacio Casal Quinteiro <nacho.resa@gmail.com>
|
||||||
|
|
||||||
|
* gl.po: Updated Galician Translation.
|
||||||
|
|
||||||
|
2007-03-03 Artur Flinta <aflinta@svn.gnome.org>
|
||||||
|
|
||||||
|
* pl.po: Updated Polish translation by GNOME PL Team.
|
||||||
|
|
||||||
|
2007-02-27 Gintautas Miliauskas <gintas@akl.lt>
|
||||||
|
|
||||||
|
* lt.po: Updated Lithuanian translation.
|
||||||
|
|
||||||
|
2006-02-20 Maxim Dziumanenko <dziumanenko@gmail.com>
|
||||||
|
|
||||||
|
* uk.po: Updated Ukrainian translation.
|
||||||
|
|
||||||
2006-12-1 Djihed Afifi <djihed@gmail.com>
|
2006-12-1 Djihed Afifi <djihed@gmail.com>
|
||||||
|
|
||||||
* ar.po: Updated Arabic Translation.
|
* ar.po: Updated Arabic Translation.
|
||||||
|
@@ -50,6 +50,7 @@ nb
|
|||||||
ne
|
ne
|
||||||
nl
|
nl
|
||||||
nn
|
nn
|
||||||
|
oc
|
||||||
or
|
or
|
||||||
pa
|
pa
|
||||||
pl
|
pl
|
||||||
|
@@ -15,8 +15,6 @@ src/daemon/main.c
|
|||||||
src/daemon/server.c
|
src/daemon/server.c
|
||||||
src/daemon/slave.c
|
src/daemon/slave.c
|
||||||
src/daemon/version.c
|
src/daemon/version.c
|
||||||
src/inodedb/file_by_inode2.c
|
|
||||||
src/inodedb/mkinodedb2.c
|
|
||||||
sysdeps/linux/siglist.c
|
sysdeps/linux/siglist.c
|
||||||
sysdeps/osf1/siglist.c
|
sysdeps/osf1/siglist.c
|
||||||
sysdeps/sun4/siglist.c
|
sysdeps/sun4/siglist.c
|
||||||
|
140
po/dz.po
140
po/dz.po
@@ -6,7 +6,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: libgtop.HEAD\n"
|
"Project-Id-Version: libgtop.HEAD\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2006-03-06 05:23+0100\n"
|
"POT-Creation-Date: 2007-05-14 03:41+0100\n"
|
||||||
"PO-Revision-Date: 2006-03-28 11:12-0500\n"
|
"PO-Revision-Date: 2006-03-28 11:12-0500\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: <en@li.org>\n"
|
"Language-Team: <en@li.org>\n"
|
||||||
@@ -19,224 +19,186 @@ msgstr ""
|
|||||||
"X-Poedit-SourceCharset: utf-8\n"
|
"X-Poedit-SourceCharset: utf-8\n"
|
||||||
"X-Generator: KBabel 1.10.2\n"
|
"X-Generator: KBabel 1.10.2\n"
|
||||||
|
|
||||||
#: ../lib/read.c:65
|
#: ../lib/read.c:51
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "read %d byte"
|
msgid "read %d byte"
|
||||||
msgid_plural "read %d bytes"
|
msgid_plural "read %d bytes"
|
||||||
msgstr[0] "བའིཊི་ %d ལྷག"
|
msgstr[0] "བའིཊི་ %d ལྷག"
|
||||||
msgstr[1] "བའིཊི་ %d ལྷག"
|
msgstr[1] "བའིཊི་ %d ལྷག"
|
||||||
|
|
||||||
#: ../lib/read_data.c:53
|
#: ../lib/read_data.c:51
|
||||||
msgid "read data size"
|
msgid "read data size"
|
||||||
msgstr "གནད་སྡུད་ཀྱི་ཚད་ལྷག"
|
msgstr "གནད་སྡུད་ཀྱི་ཚད་ལྷག"
|
||||||
|
|
||||||
#: ../lib/read_data.c:72
|
#: ../lib/read_data.c:70
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "read %lu byte of data"
|
msgid "read %lu byte of data"
|
||||||
msgid_plural "read %lu bytes of data"
|
msgid_plural "read %lu bytes of data"
|
||||||
msgstr[0] "གནས་སྡུད་ བའིཊི་ %lu ལྷག"
|
msgstr[0] "གནས་སྡུད་ བའིཊི་ %lu ལྷག"
|
||||||
msgstr[1] "གནས་སྡུད་ བའིཊི་ %lu ལྷག"
|
msgstr[1] "གནས་སྡུད་ བའིཊི་ %lu ལྷག"
|
||||||
|
|
||||||
#: ../lib/write.c:52
|
#: ../lib/write.c:51
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "wrote %d byte"
|
msgid "wrote %d byte"
|
||||||
msgid_plural "wrote %d bytes"
|
msgid_plural "wrote %d bytes"
|
||||||
msgstr[0] "བའིཊི་ %d བྲིས་ཡི། "
|
msgstr[0] "བའིཊི་ %d བྲིས་ཡི། "
|
||||||
msgstr[1] "བའིཊི་ %d བྲིས་ཡི།"
|
msgstr[1] "བའིཊི་ %d བྲིས་ཡི།"
|
||||||
|
|
||||||
#: ../src/daemon/gnuserv.c:460
|
#: ../src/daemon/gnuserv.c:458
|
||||||
msgid "Enable debugging"
|
msgid "Enable debugging"
|
||||||
msgstr "རྐྱེན་སེལ་འབད་ནི་ ལྕོགས་ཅན་བཟོ།"
|
msgstr "རྐྱེན་སེལ་འབད་ནི་ ལྕོགས་ཅན་བཟོ།"
|
||||||
|
|
||||||
#: ../src/daemon/gnuserv.c:460
|
#: ../src/daemon/gnuserv.c:460
|
||||||
msgid "DEBUG"
|
|
||||||
msgstr "རྐྱེན་སེལ།"
|
|
||||||
|
|
||||||
#: ../src/daemon/gnuserv.c:462
|
|
||||||
msgid "Enable verbose output"
|
msgid "Enable verbose output"
|
||||||
msgstr "ཚིག་མང་ཨའུཊི་པུཊི་ ལྕོགས་ཅན་བཟོ།"
|
msgstr "ཚིག་མང་ཨའུཊི་པུཊི་ ལྕོགས་ཅན་བཟོ།"
|
||||||
|
|
||||||
#: ../src/daemon/gnuserv.c:462
|
#: ../src/daemon/gnuserv.c:462
|
||||||
msgid "VERBOSE"
|
|
||||||
msgstr "ཚིག་མང་།"
|
|
||||||
|
|
||||||
#: ../src/daemon/gnuserv.c:464
|
|
||||||
msgid "Don't fork into background"
|
msgid "Don't fork into background"
|
||||||
msgstr "རྒྱབ་གཞིའི་ནང་ ཁ་མ་སྤེལ།"
|
msgstr "རྒྱབ་གཞིའི་ནང་ ཁ་མ་སྤེལ།"
|
||||||
|
|
||||||
#: ../src/daemon/gnuserv.c:464
|
#: ../src/daemon/gnuserv.c:464
|
||||||
msgid "NO-DAEMON"
|
|
||||||
msgstr "ཌེ་མཱོན་མིན་འདུག"
|
|
||||||
|
|
||||||
#: ../src/daemon/gnuserv.c:466
|
|
||||||
msgid "Invoked from inetd"
|
msgid "Invoked from inetd"
|
||||||
msgstr "ཨའི་ཨེན་ཨི་ཊི་ཌི་ནང་ལས་ ལས་བཀོལ་འབད།"
|
msgstr "ཨའི་ཨེན་ཨི་ཊི་ཌི་ནང་ལས་ ལས་བཀོལ་འབད།"
|
||||||
|
|
||||||
#: ../src/daemon/gnuserv.c:466
|
#: ../src/daemon/gnuserv.c:498
|
||||||
msgid "INETD"
|
#, fuzzy, c-format
|
||||||
msgstr "ཨའི་ཨེན་ཨི་ཊི་ཌི།"
|
msgid "Run '%s --help' to see a full list of available command line options.\n"
|
||||||
|
|
||||||
#: ../src/daemon/gnuserv.c:500
|
|
||||||
#, c-format
|
|
||||||
msgid ""
|
|
||||||
"Error on option %s: %s.\n"
|
|
||||||
"Run '%s --help' to see a full list of available command line options.\n"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"གདམ་ཁ་%s: %sལུ་འཛོལ་བ། \n"
|
"གདམ་ཁ་%s: %sལུ་འཛོལ་བ། \n"
|
||||||
"འཐོབ་ཚུགས་པའི་ བརྡ་ལམ་གདམ་ཁའི་ ཐོ་ཡིག་ཧྲིལ་བུ་ཅིག་ལུ་ བལྟ་ནིའི་དོན་ལས་ '%s --help' གཡོག་བཀོལ།\n"
|
"འཐོབ་ཚུགས་པའི་ བརྡ་ལམ་གདམ་ཁའི་ ཐོ་ཡིག་ཧྲིལ་བུ་ཅིག་ལུ་ བལྟ་ནིའི་དོན་ལས་ '%s --help' གཡོག་བཀོལ།\n"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:28
|
#: ../sysdeps/osf1/siglist.c:27 ../sysdeps/sun4/siglist.c:27
|
||||||
#: ../sysdeps/sun4/siglist.c:28
|
|
||||||
msgid "Hangup"
|
msgid "Hangup"
|
||||||
msgstr "ཐོགས་རྐྱེན།"
|
msgstr "ཐོགས་རྐྱེན།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:29
|
#: ../sysdeps/osf1/siglist.c:28 ../sysdeps/sun4/siglist.c:28
|
||||||
#: ../sysdeps/sun4/siglist.c:29
|
|
||||||
msgid "Interrupt"
|
msgid "Interrupt"
|
||||||
msgstr "བར་ཆད།"
|
msgstr "བར་ཆད།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:30
|
#: ../sysdeps/osf1/siglist.c:29 ../sysdeps/sun4/siglist.c:29
|
||||||
#: ../sysdeps/sun4/siglist.c:30
|
|
||||||
msgid "Quit"
|
msgid "Quit"
|
||||||
msgstr "སྤངས།"
|
msgstr "སྤངས།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:31
|
#: ../sysdeps/osf1/siglist.c:30 ../sysdeps/sun4/siglist.c:30
|
||||||
#: ../sysdeps/sun4/siglist.c:31
|
|
||||||
msgid "Illegal instruction"
|
msgid "Illegal instruction"
|
||||||
msgstr "ཁྲིམས་འགལ་བཀོད་རྒྱ།"
|
msgstr "ཁྲིམས་འགལ་བཀོད་རྒྱ།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:32
|
#: ../sysdeps/osf1/siglist.c:31 ../sysdeps/sun4/siglist.c:31
|
||||||
#: ../sysdeps/sun4/siglist.c:32
|
|
||||||
msgid "Trace trap"
|
msgid "Trace trap"
|
||||||
msgstr "ཧིང་ རྗེས་འཚོལ་འབད།"
|
msgstr "ཧིང་ རྗེས་འཚོལ་འབད།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:33
|
#: ../sysdeps/osf1/siglist.c:32 ../sysdeps/sun4/siglist.c:32
|
||||||
#: ../sysdeps/sun4/siglist.c:33
|
|
||||||
msgid "Abort"
|
msgid "Abort"
|
||||||
msgstr "བར་བཤོལ་འབད།"
|
msgstr "བར་བཤོལ་འབད།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:34
|
#: ../sysdeps/osf1/siglist.c:33 ../sysdeps/sun4/siglist.c:33
|
||||||
#: ../sysdeps/sun4/siglist.c:34
|
|
||||||
msgid "EMT error"
|
msgid "EMT error"
|
||||||
msgstr "ཨི་ཨེམ་ཊི་འཛོལ་བ།"
|
msgstr "ཨི་ཨེམ་ཊི་འཛོལ་བ།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:35
|
#: ../sysdeps/osf1/siglist.c:34 ../sysdeps/sun4/siglist.c:34
|
||||||
#: ../sysdeps/sun4/siglist.c:35
|
|
||||||
msgid "Floating-point exception"
|
msgid "Floating-point exception"
|
||||||
msgstr "ལྡིང་ཚད་དམིགས་བསལ།"
|
msgstr "ལྡིང་ཚད་དམིགས་བསལ།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:36
|
#: ../sysdeps/osf1/siglist.c:35 ../sysdeps/sun4/siglist.c:35
|
||||||
#: ../sysdeps/sun4/siglist.c:36
|
|
||||||
msgid "Kill"
|
msgid "Kill"
|
||||||
msgstr "གསད།"
|
msgstr "གསད།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:37
|
#: ../sysdeps/osf1/siglist.c:36 ../sysdeps/sun4/siglist.c:36
|
||||||
#: ../sysdeps/sun4/siglist.c:37
|
|
||||||
msgid "Bus error"
|
msgid "Bus error"
|
||||||
msgstr "བརྡ་རྟགས་འགྲུལ་ལམ་གྱི་འཛོལ་བ།"
|
msgstr "བརྡ་རྟགས་འགྲུལ་ལམ་གྱི་འཛོལ་བ།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:38
|
#: ../sysdeps/osf1/siglist.c:37 ../sysdeps/sun4/siglist.c:37
|
||||||
#: ../sysdeps/sun4/siglist.c:38
|
|
||||||
msgid "Segmentation violation"
|
msgid "Segmentation violation"
|
||||||
msgstr "ཆ་བགོ་བའི་འགལ་བ།"
|
msgstr "ཆ་བགོ་བའི་འགལ་བ།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:39
|
#: ../sysdeps/osf1/siglist.c:38 ../sysdeps/sun4/siglist.c:38
|
||||||
#: ../sysdeps/sun4/siglist.c:39
|
|
||||||
msgid "Bad argument to system call"
|
msgid "Bad argument to system call"
|
||||||
msgstr "རིམ་ལུགས་བོད་བརྡ་ལུ་ སྒྲུབ་རྟགས་བྱང་ཉེས།"
|
msgstr "རིམ་ལུགས་བོད་བརྡ་ལུ་ སྒྲུབ་རྟགས་བྱང་ཉེས།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:40
|
#: ../sysdeps/osf1/siglist.c:39 ../sysdeps/sun4/siglist.c:39
|
||||||
#: ../sysdeps/sun4/siglist.c:40
|
|
||||||
msgid "Broken pipe"
|
msgid "Broken pipe"
|
||||||
msgstr "རྒྱུད་དུང་ཆད་པ།"
|
msgstr "རྒྱུད་དུང་ཆད་པ།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:41
|
#: ../sysdeps/osf1/siglist.c:40 ../sysdeps/sun4/siglist.c:40
|
||||||
#: ../sysdeps/sun4/siglist.c:41
|
|
||||||
msgid "Alarm clock"
|
msgid "Alarm clock"
|
||||||
msgstr "འཇིགས་བརྡ་ཆེ་འཁོར།"
|
msgstr "འཇིགས་བརྡ་ཆེ་འཁོར།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:42
|
#: ../sysdeps/osf1/siglist.c:41 ../sysdeps/sun4/siglist.c:41
|
||||||
#: ../sysdeps/sun4/siglist.c:42
|
|
||||||
msgid "Termination"
|
msgid "Termination"
|
||||||
msgstr "རྩ་གྲོལ།"
|
msgstr "རྩ་གྲོལ།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:43
|
#: ../sysdeps/osf1/siglist.c:42 ../sysdeps/sun4/siglist.c:42
|
||||||
#: ../sysdeps/sun4/siglist.c:43
|
|
||||||
msgid "Urgent condition on socket"
|
msgid "Urgent condition on socket"
|
||||||
msgstr "སོཀ་ཀེཊི་ལུ་ འཕྲལ་མཁོའི་གནས་སྟངས།"
|
msgstr "སོཀ་ཀེཊི་ལུ་ འཕྲལ་མཁོའི་གནས་སྟངས།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:44
|
#: ../sysdeps/osf1/siglist.c:43 ../sysdeps/sun4/siglist.c:43
|
||||||
#: ../sysdeps/sun4/siglist.c:44
|
|
||||||
msgid "Stop"
|
msgid "Stop"
|
||||||
msgstr "བཀག"
|
msgstr "བཀག"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:45
|
#: ../sysdeps/osf1/siglist.c:44 ../sysdeps/sun4/siglist.c:44
|
||||||
#: ../sysdeps/sun4/siglist.c:45
|
|
||||||
msgid "Keyboard stop"
|
msgid "Keyboard stop"
|
||||||
msgstr "ལྡེ་སྒྲོམ་བཀག"
|
msgstr "ལྡེ་སྒྲོམ་བཀག"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:46
|
#: ../sysdeps/osf1/siglist.c:45 ../sysdeps/sun4/siglist.c:45
|
||||||
#: ../sysdeps/sun4/siglist.c:46
|
|
||||||
msgid "Continue"
|
msgid "Continue"
|
||||||
msgstr "འཕྲོ་མཐུད།"
|
msgstr "འཕྲོ་མཐུད།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:47
|
#: ../sysdeps/osf1/siglist.c:46 ../sysdeps/sun4/siglist.c:46
|
||||||
#: ../sysdeps/sun4/siglist.c:47
|
|
||||||
msgid "Child status has changed"
|
msgid "Child status has changed"
|
||||||
msgstr "རྩ་ལག་གི་གནས་ཚད་ བསྒྱུར་བཅོས་ཡར་སོ་ནུག"
|
msgstr "རྩ་ལག་གི་གནས་ཚད་ བསྒྱུར་བཅོས་ཡར་སོ་ནུག"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:48
|
#: ../sysdeps/osf1/siglist.c:47 ../sysdeps/sun4/siglist.c:47
|
||||||
#: ../sysdeps/sun4/siglist.c:48
|
|
||||||
msgid "Background read from tty"
|
msgid "Background read from tty"
|
||||||
msgstr "ཊི་ཊི་ཝའི་ནང་ལས་ རྒྱབ་གཞི་ལྷག་ཡོད།"
|
msgstr "ཊི་ཊི་ཝའི་ནང་ལས་ རྒྱབ་གཞི་ལྷག་ཡོད།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:49
|
#: ../sysdeps/osf1/siglist.c:48 ../sysdeps/sun4/siglist.c:48
|
||||||
#: ../sysdeps/sun4/siglist.c:49
|
|
||||||
msgid "Background write to tty"
|
msgid "Background write to tty"
|
||||||
msgstr "ཊི་ཊི་ཝའི་ལུ་ རྒྱབ་གཞི་བྲིས།"
|
msgstr "ཊི་ཊི་ཝའི་ལུ་ རྒྱབ་གཞི་བྲིས།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:50
|
#: ../sysdeps/osf1/siglist.c:49 ../sysdeps/sun4/siglist.c:49
|
||||||
#: ../sysdeps/sun4/siglist.c:50
|
|
||||||
msgid "I/O now possible"
|
msgid "I/O now possible"
|
||||||
msgstr "ཨའི་/ཨོ་ ད་ལྟོ་ཚུགས་པས།"
|
msgstr "ཨའི་/ཨོ་ ད་ལྟོ་ཚུགས་པས།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:51
|
#: ../sysdeps/osf1/siglist.c:50 ../sysdeps/sun4/siglist.c:50
|
||||||
#: ../sysdeps/sun4/siglist.c:51
|
|
||||||
msgid "CPU limit exceeded"
|
msgid "CPU limit exceeded"
|
||||||
msgstr "ལས་སྦྱོར་ལྟེ་བའི་ཚད་ལས་ ལྷག་སོ་ནུག"
|
msgstr "ལས་སྦྱོར་ལྟེ་བའི་ཚད་ལས་ ལྷག་སོ་ནུག"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:52
|
#: ../sysdeps/osf1/siglist.c:51 ../sysdeps/sun4/siglist.c:51
|
||||||
#: ../sysdeps/sun4/siglist.c:52
|
|
||||||
msgid "File size limit exceeded"
|
msgid "File size limit exceeded"
|
||||||
msgstr "ཡིག་སྣོད་ཀྱི་ཚད་ལས་ ལྷག་སོ་ནུག"
|
msgstr "ཡིག་སྣོད་ཀྱི་ཚད་ལས་ ལྷག་སོ་ནུག"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:53
|
#: ../sysdeps/osf1/siglist.c:52 ../sysdeps/sun4/siglist.c:52
|
||||||
#: ../sysdeps/sun4/siglist.c:53
|
|
||||||
msgid "Virtual alarm clock"
|
msgid "Virtual alarm clock"
|
||||||
msgstr "བར་ཅུ་ཡེལ་ འཇིགས་བརྡའི་ཆེ་འཁོར།"
|
msgstr "བར་ཅུ་ཡེལ་ འཇིགས་བརྡའི་ཆེ་འཁོར།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:54
|
#: ../sysdeps/osf1/siglist.c:53 ../sysdeps/sun4/siglist.c:53
|
||||||
#: ../sysdeps/sun4/siglist.c:54
|
|
||||||
msgid "Profiling alarm clock"
|
msgid "Profiling alarm clock"
|
||||||
msgstr "གསལ་སྡུད་འཇིགས་བརྡའི་ཆེ་འཁོར།"
|
msgstr "གསལ་སྡུད་འཇིགས་བརྡའི་ཆེ་འཁོར།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:55
|
#: ../sysdeps/osf1/siglist.c:54 ../sysdeps/sun4/siglist.c:54
|
||||||
#: ../sysdeps/sun4/siglist.c:55
|
|
||||||
msgid "Window size change"
|
msgid "Window size change"
|
||||||
msgstr "སྒོ་སྒྲིག་ཚད་ཀྱི་བསྒྱུར་བཅོས།"
|
msgstr "སྒོ་སྒྲིག་ཚད་ཀྱི་བསྒྱུར་བཅོས།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:56
|
#: ../sysdeps/osf1/siglist.c:55 ../sysdeps/sun4/siglist.c:55
|
||||||
#: ../sysdeps/sun4/siglist.c:56
|
|
||||||
msgid "Information request"
|
msgid "Information request"
|
||||||
msgstr "བརྡ་དོན་གྱི་ཞུ་བ།"
|
msgstr "བརྡ་དོན་གྱི་ཞུ་བ།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:57
|
#: ../sysdeps/osf1/siglist.c:56 ../sysdeps/sun4/siglist.c:56
|
||||||
#: ../sysdeps/sun4/siglist.c:57
|
|
||||||
msgid "User defined signal 1"
|
msgid "User defined signal 1"
|
||||||
msgstr "ལག་ལེན་པའི་ ངེས་འཛིན་བརྡ་རྟགས་ ༡པ།"
|
msgstr "ལག་ལེན་པའི་ ངེས་འཛིན་བརྡ་རྟགས་ ༡པ།"
|
||||||
|
|
||||||
#: ../sysdeps/osf1/siglist.c:58
|
#: ../sysdeps/osf1/siglist.c:57 ../sysdeps/sun4/siglist.c:57
|
||||||
#: ../sysdeps/sun4/siglist.c:58
|
|
||||||
msgid "User defined signal 2"
|
msgid "User defined signal 2"
|
||||||
msgstr "ལག་ལེན་པའི་ངེས་འཛིན་བརྡ་རྟགས་ ༢པ།"
|
msgstr "ལག་ལེན་པའི་ངེས་འཛིན་བརྡ་རྟགས་ ༢པ།"
|
||||||
|
|
||||||
|
#~ msgid "DEBUG"
|
||||||
|
#~ msgstr "རྐྱེན་སེལ།"
|
||||||
|
|
||||||
|
#~ msgid "VERBOSE"
|
||||||
|
#~ msgstr "ཚིག་མང་།"
|
||||||
|
|
||||||
|
#~ msgid "NO-DAEMON"
|
||||||
|
#~ msgstr "ཌེ་མཱོན་མིན་འདུག"
|
||||||
|
|
||||||
|
#~ msgid "INETD"
|
||||||
|
#~ msgstr "ཨའི་ཨེན་ཨི་ཊི་ཌི།"
|
||||||
|
153
po/en_GB.po
153
po/en_GB.po
@@ -3,14 +3,14 @@
|
|||||||
# This file is distributed under the same license as the libgtop package.
|
# This file is distributed under the same license as the libgtop package.
|
||||||
# Gareth Owen <gowen72@yahoo.com>, David Lodge <dave@cirt.net>, 2004.
|
# Gareth Owen <gowen72@yahoo.com>, David Lodge <dave@cirt.net>, 2004.
|
||||||
# Gareth Owen <gowen72@yahoo.comg>, 2004.
|
# Gareth Owen <gowen72@yahoo.comg>, 2004.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: libgtop\n"
|
"Project-Id-Version: libgtop\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2005-09-25 18:15+0200\n"
|
"POT-Creation-Date: 2007-05-15 22:52+0100\n"
|
||||||
"PO-Revision-Date: 2004-07-29 00:24+0100\n"
|
"PO-Revision-Date: 2007-05-15 22:52-0000\n"
|
||||||
"Last-Translator: David Lodge <dave@cirt.net>\n"
|
"Last-Translator: David Lodge <dave@cirt.net>\n"
|
||||||
"Language-Team: English/GB <en@li.org>\n"
|
"Language-Team: English/GB <en@li.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -18,192 +18,213 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
#: lib/read.c:65
|
#: ../lib/read.c:51
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "read %d byte"
|
msgid "read %d byte"
|
||||||
msgid_plural "read %d bytes"
|
msgid_plural "read %d bytes"
|
||||||
msgstr[0] "read %d byte"
|
msgstr[0] "read %d byte"
|
||||||
msgstr[1] "read %d bytes"
|
msgstr[1] "read %d bytes"
|
||||||
|
|
||||||
#: lib/read_data.c:53
|
#: ../lib/read_data.c:51
|
||||||
msgid "read data size"
|
msgid "read data size"
|
||||||
msgstr "read data size"
|
msgstr "read data size"
|
||||||
|
|
||||||
#: lib/read_data.c:72
|
#: ../lib/read_data.c:70
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "read %lu byte of data"
|
msgid "read %lu byte of data"
|
||||||
msgid_plural "read %lu bytes of data"
|
msgid_plural "read %lu bytes of data"
|
||||||
msgstr[0] "read %lu byte of data"
|
msgstr[0] "read %lu byte of data"
|
||||||
msgstr[1] "read %lu bytes of data"
|
msgstr[1] "read %lu bytes of data"
|
||||||
|
|
||||||
#: lib/write.c:52
|
#: ../lib/write.c:51
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "wrote %d byte"
|
msgid "wrote %d byte"
|
||||||
msgid_plural "wrote %d bytes"
|
msgid_plural "wrote %d bytes"
|
||||||
msgstr[0] "wrote %d byte"
|
msgstr[0] "wrote %d byte"
|
||||||
msgstr[1] "wrote %d bytes"
|
msgstr[1] "wrote %d bytes"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:460
|
#: ../src/daemon/gnuserv.c:458
|
||||||
msgid "Enable debugging"
|
msgid "Enable debugging"
|
||||||
msgstr "Enable debugging"
|
msgstr "Enable debugging"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:460
|
#: ../src/daemon/gnuserv.c:460
|
||||||
msgid "DEBUG"
|
|
||||||
msgstr "DEBUG"
|
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:462
|
|
||||||
msgid "Enable verbose output"
|
msgid "Enable verbose output"
|
||||||
msgstr "Enable verbose output"
|
msgstr "Enable verbose output"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:462
|
#: ../src/daemon/gnuserv.c:462
|
||||||
msgid "VERBOSE"
|
|
||||||
msgstr "VERBOSE"
|
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:464
|
|
||||||
msgid "Don't fork into background"
|
msgid "Don't fork into background"
|
||||||
msgstr "Don't fork into background"
|
msgstr "Don't fork into background"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:464
|
#: ../src/daemon/gnuserv.c:464
|
||||||
msgid "NO-DAEMON"
|
|
||||||
msgstr "NO-DAEMON"
|
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:466
|
|
||||||
msgid "Invoked from inetd"
|
msgid "Invoked from inetd"
|
||||||
msgstr "Invoked from inetd"
|
msgstr "Invoked from inetd"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:466
|
#: ../src/daemon/gnuserv.c:498
|
||||||
msgid "INETD"
|
|
||||||
msgstr "INETD"
|
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:500
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid "Run '%s --help' to see a full list of available command line options.\n"
|
||||||
"Error on option %s: %s.\n"
|
msgstr "Run '%s --help' to see a full list of available command line options.\n"
|
||||||
"Run '%s --help' to see a full list of available command line options.\n"
|
|
||||||
msgstr ""
|
|
||||||
"Error on option %s: %s.\n"
|
|
||||||
"Run '%s --help' to see a full list of available command line options.\n"
|
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:28 sysdeps/sun4/siglist.c:28
|
#: ../sysdeps/osf1/siglist.c:27
|
||||||
|
#: ../sysdeps/sun4/siglist.c:27
|
||||||
msgid "Hangup"
|
msgid "Hangup"
|
||||||
msgstr "Hangup"
|
msgstr "Hangup"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:29 sysdeps/sun4/siglist.c:29
|
#: ../sysdeps/osf1/siglist.c:28
|
||||||
|
#: ../sysdeps/sun4/siglist.c:28
|
||||||
msgid "Interrupt"
|
msgid "Interrupt"
|
||||||
msgstr "Interrupt"
|
msgstr "Interrupt"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:30 sysdeps/sun4/siglist.c:30
|
#: ../sysdeps/osf1/siglist.c:29
|
||||||
|
#: ../sysdeps/sun4/siglist.c:29
|
||||||
msgid "Quit"
|
msgid "Quit"
|
||||||
msgstr "Quit"
|
msgstr "Quit"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:31 sysdeps/sun4/siglist.c:31
|
#: ../sysdeps/osf1/siglist.c:30
|
||||||
|
#: ../sysdeps/sun4/siglist.c:30
|
||||||
msgid "Illegal instruction"
|
msgid "Illegal instruction"
|
||||||
msgstr "Illegal instruction"
|
msgstr "Illegal instruction"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:32 sysdeps/sun4/siglist.c:32
|
#: ../sysdeps/osf1/siglist.c:31
|
||||||
|
#: ../sysdeps/sun4/siglist.c:31
|
||||||
msgid "Trace trap"
|
msgid "Trace trap"
|
||||||
msgstr "Trace trap"
|
msgstr "Trace trap"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:33 sysdeps/sun4/siglist.c:33
|
#: ../sysdeps/osf1/siglist.c:32
|
||||||
|
#: ../sysdeps/sun4/siglist.c:32
|
||||||
msgid "Abort"
|
msgid "Abort"
|
||||||
msgstr "Abort"
|
msgstr "Abort"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:34 sysdeps/sun4/siglist.c:34
|
#: ../sysdeps/osf1/siglist.c:33
|
||||||
|
#: ../sysdeps/sun4/siglist.c:33
|
||||||
msgid "EMT error"
|
msgid "EMT error"
|
||||||
msgstr "EMT error"
|
msgstr "EMT error"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:35 sysdeps/sun4/siglist.c:35
|
#: ../sysdeps/osf1/siglist.c:34
|
||||||
|
#: ../sysdeps/sun4/siglist.c:34
|
||||||
msgid "Floating-point exception"
|
msgid "Floating-point exception"
|
||||||
msgstr "Floating-point exception"
|
msgstr "Floating-point exception"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:36 sysdeps/sun4/siglist.c:36
|
#: ../sysdeps/osf1/siglist.c:35
|
||||||
|
#: ../sysdeps/sun4/siglist.c:35
|
||||||
msgid "Kill"
|
msgid "Kill"
|
||||||
msgstr "Kill"
|
msgstr "Kill"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:37 sysdeps/sun4/siglist.c:37
|
#: ../sysdeps/osf1/siglist.c:36
|
||||||
|
#: ../sysdeps/sun4/siglist.c:36
|
||||||
msgid "Bus error"
|
msgid "Bus error"
|
||||||
msgstr "Bus error"
|
msgstr "Bus error"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:38 sysdeps/sun4/siglist.c:38
|
#: ../sysdeps/osf1/siglist.c:37
|
||||||
|
#: ../sysdeps/sun4/siglist.c:37
|
||||||
msgid "Segmentation violation"
|
msgid "Segmentation violation"
|
||||||
msgstr "Segmentation violation"
|
msgstr "Segmentation violation"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:39 sysdeps/sun4/siglist.c:39
|
#: ../sysdeps/osf1/siglist.c:38
|
||||||
|
#: ../sysdeps/sun4/siglist.c:38
|
||||||
msgid "Bad argument to system call"
|
msgid "Bad argument to system call"
|
||||||
msgstr "Bad argument to system call"
|
msgstr "Bad argument to system call"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:40 sysdeps/sun4/siglist.c:40
|
#: ../sysdeps/osf1/siglist.c:39
|
||||||
|
#: ../sysdeps/sun4/siglist.c:39
|
||||||
msgid "Broken pipe"
|
msgid "Broken pipe"
|
||||||
msgstr "Broken pipe"
|
msgstr "Broken pipe"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:41 sysdeps/sun4/siglist.c:41
|
#: ../sysdeps/osf1/siglist.c:40
|
||||||
|
#: ../sysdeps/sun4/siglist.c:40
|
||||||
msgid "Alarm clock"
|
msgid "Alarm clock"
|
||||||
msgstr "Alarm clock"
|
msgstr "Alarm clock"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:42 sysdeps/sun4/siglist.c:42
|
#: ../sysdeps/osf1/siglist.c:41
|
||||||
|
#: ../sysdeps/sun4/siglist.c:41
|
||||||
msgid "Termination"
|
msgid "Termination"
|
||||||
msgstr "Termination"
|
msgstr "Termination"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:43 sysdeps/sun4/siglist.c:43
|
#: ../sysdeps/osf1/siglist.c:42
|
||||||
|
#: ../sysdeps/sun4/siglist.c:42
|
||||||
msgid "Urgent condition on socket"
|
msgid "Urgent condition on socket"
|
||||||
msgstr "Urgent condition on socket"
|
msgstr "Urgent condition on socket"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:44 sysdeps/sun4/siglist.c:44
|
#: ../sysdeps/osf1/siglist.c:43
|
||||||
|
#: ../sysdeps/sun4/siglist.c:43
|
||||||
msgid "Stop"
|
msgid "Stop"
|
||||||
msgstr "Stop"
|
msgstr "Stop"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:45 sysdeps/sun4/siglist.c:45
|
#: ../sysdeps/osf1/siglist.c:44
|
||||||
|
#: ../sysdeps/sun4/siglist.c:44
|
||||||
msgid "Keyboard stop"
|
msgid "Keyboard stop"
|
||||||
msgstr "Keyboard stop"
|
msgstr "Keyboard stop"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:46 sysdeps/sun4/siglist.c:46
|
#: ../sysdeps/osf1/siglist.c:45
|
||||||
|
#: ../sysdeps/sun4/siglist.c:45
|
||||||
msgid "Continue"
|
msgid "Continue"
|
||||||
msgstr "Continue"
|
msgstr "Continue"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:47 sysdeps/sun4/siglist.c:47
|
#: ../sysdeps/osf1/siglist.c:46
|
||||||
|
#: ../sysdeps/sun4/siglist.c:46
|
||||||
msgid "Child status has changed"
|
msgid "Child status has changed"
|
||||||
msgstr "Child status has changed"
|
msgstr "Child status has changed"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:48 sysdeps/sun4/siglist.c:48
|
#: ../sysdeps/osf1/siglist.c:47
|
||||||
|
#: ../sysdeps/sun4/siglist.c:47
|
||||||
msgid "Background read from tty"
|
msgid "Background read from tty"
|
||||||
msgstr "Background read from tty"
|
msgstr "Background read from tty"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:49 sysdeps/sun4/siglist.c:49
|
#: ../sysdeps/osf1/siglist.c:48
|
||||||
|
#: ../sysdeps/sun4/siglist.c:48
|
||||||
msgid "Background write to tty"
|
msgid "Background write to tty"
|
||||||
msgstr "Background write to tty"
|
msgstr "Background write to tty"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:50 sysdeps/sun4/siglist.c:50
|
#: ../sysdeps/osf1/siglist.c:49
|
||||||
|
#: ../sysdeps/sun4/siglist.c:49
|
||||||
msgid "I/O now possible"
|
msgid "I/O now possible"
|
||||||
msgstr "I/O now possible"
|
msgstr "I/O now possible"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:51 sysdeps/sun4/siglist.c:51
|
#: ../sysdeps/osf1/siglist.c:50
|
||||||
|
#: ../sysdeps/sun4/siglist.c:50
|
||||||
msgid "CPU limit exceeded"
|
msgid "CPU limit exceeded"
|
||||||
msgstr "CPU limit exceeded"
|
msgstr "CPU limit exceeded"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:52 sysdeps/sun4/siglist.c:52
|
#: ../sysdeps/osf1/siglist.c:51
|
||||||
|
#: ../sysdeps/sun4/siglist.c:51
|
||||||
msgid "File size limit exceeded"
|
msgid "File size limit exceeded"
|
||||||
msgstr "File size limit exceeded"
|
msgstr "File size limit exceeded"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:53 sysdeps/sun4/siglist.c:53
|
#: ../sysdeps/osf1/siglist.c:52
|
||||||
|
#: ../sysdeps/sun4/siglist.c:52
|
||||||
msgid "Virtual alarm clock"
|
msgid "Virtual alarm clock"
|
||||||
msgstr "Virtual alarm clock"
|
msgstr "Virtual alarm clock"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:54 sysdeps/sun4/siglist.c:54
|
#: ../sysdeps/osf1/siglist.c:53
|
||||||
|
#: ../sysdeps/sun4/siglist.c:53
|
||||||
msgid "Profiling alarm clock"
|
msgid "Profiling alarm clock"
|
||||||
msgstr "Profiling alarm clock"
|
msgstr "Profiling alarm clock"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:55 sysdeps/sun4/siglist.c:55
|
#: ../sysdeps/osf1/siglist.c:54
|
||||||
|
#: ../sysdeps/sun4/siglist.c:54
|
||||||
msgid "Window size change"
|
msgid "Window size change"
|
||||||
msgstr "Window size change"
|
msgstr "Window size change"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:56 sysdeps/sun4/siglist.c:56
|
#: ../sysdeps/osf1/siglist.c:55
|
||||||
|
#: ../sysdeps/sun4/siglist.c:55
|
||||||
msgid "Information request"
|
msgid "Information request"
|
||||||
msgstr "Information request"
|
msgstr "Information request"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:57 sysdeps/sun4/siglist.c:57
|
#: ../sysdeps/osf1/siglist.c:56
|
||||||
|
#: ../sysdeps/sun4/siglist.c:56
|
||||||
msgid "User defined signal 1"
|
msgid "User defined signal 1"
|
||||||
msgstr "User defined signal 1"
|
msgstr "User defined signal 1"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:58 sysdeps/sun4/siglist.c:58
|
#: ../sysdeps/osf1/siglist.c:57
|
||||||
|
#: ../sysdeps/sun4/siglist.c:57
|
||||||
msgid "User defined signal 2"
|
msgid "User defined signal 2"
|
||||||
msgstr "User defined signal 2"
|
msgstr "User defined signal 2"
|
||||||
|
|
||||||
|
#~ msgid "DEBUG"
|
||||||
|
#~ msgstr "DEBUG"
|
||||||
|
#~ msgid "VERBOSE"
|
||||||
|
#~ msgstr "VERBOSE"
|
||||||
|
#~ msgid "NO-DAEMON"
|
||||||
|
#~ msgstr "NO-DAEMON"
|
||||||
|
#~ msgid "INETD"
|
||||||
|
#~ msgstr "INETD"
|
||||||
|
|
||||||
|
126
po/es.po
126
po/es.po
@@ -1,217 +1,193 @@
|
|||||||
# traducción de es.po al Spanish
|
|
||||||
# translation of libgtop.libgtop-GNOME-2-0-port.po to Spanish
|
# translation of libgtop.libgtop-GNOME-2-0-port.po to Spanish
|
||||||
# Translation into spanish of glibtop
|
#
|
||||||
# FIXME: the strings still left empty are the ones I've no idea how
|
|
||||||
# to translate them; if anyone has a suggestion...
|
|
||||||
# Pablo Saratxaga <srtxg@chanae.alphanet.ch>, 1998-2000.
|
# Pablo Saratxaga <srtxg@chanae.alphanet.ch>, 1998-2000.
|
||||||
# Germán Poo Caamaño <gpoo@ubiobio.cl>, 2002.
|
# Germán Poo Caamaño <gpoo@ubiobio.cl>, 2002.
|
||||||
# Pablo Saratxaga <srtxg@chanae.alphanet.ch>, 2002.
|
# Pablo Saratxaga <srtxg@chanae.alphanet.ch>, 2002.
|
||||||
# Juan Manuel García Molina <juanma_gm@wanadoo.es>, 2002.
|
# Juan Manuel García Molina <juanma_gm@wanadoo.es>, 2002.
|
||||||
# Francisco Javier F. Serrador <serrador@arrakis.es>, 2003.
|
# Francisco Javier F. Serrador <serrador@cvs.gnome.org>, 2003, 2004.
|
||||||
# Francisco Javier F. Serrador <serrador@cvs.gnome.org>, 2004.
|
# Jorge González <jorgegonz@svn.gnome.org>, 2007.
|
||||||
#
|
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: es\n"
|
"Project-Id-Version: libgtop.HEAD.es\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2005-09-25 18:15+0200\n"
|
"POT-Creation-Date: 2007-05-14 03:41+0100\n"
|
||||||
"PO-Revision-Date: 2004-12-29 20:29+0100\n"
|
"PO-Revision-Date: 2007-05-14 09:30+0200\n"
|
||||||
"Last-Translator: Francisco Javier F. Serrador <serrador@cvs.gnome.org>\n"
|
"Last-Translator: Jorge González <jorgegonz@svn.gnome.org>\n"
|
||||||
"Language-Team: Spanish <traductores@es.gnome.org>\n"
|
"Language-Team: Spanish <traductores@es.gnome.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"First-Translator: Pablo Saratxaga <srtxg@chanae.alphanet.ch>\n"
|
"First-Translator: Pablo Saratxaga <srtxg@chanae.alphanet.ch>\n"
|
||||||
"X-Generator: KBabel 1.3.1\n"
|
"X-Generator: KBabel 1.11.4\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
#: lib/read.c:65
|
#: ../lib/read.c:51
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "read %d byte"
|
msgid "read %d byte"
|
||||||
msgid_plural "read %d bytes"
|
msgid_plural "read %d bytes"
|
||||||
msgstr[0] "leído %d byte"
|
msgstr[0] "leído %d byte"
|
||||||
msgstr[1] "leídos %d bytes"
|
msgstr[1] "leídos %d bytes"
|
||||||
|
|
||||||
#: lib/read_data.c:53
|
#: ../lib/read_data.c:51
|
||||||
msgid "read data size"
|
msgid "read data size"
|
||||||
msgstr "leído tamaño de datos"
|
msgstr "leído tamaño de datos"
|
||||||
|
|
||||||
#: lib/read_data.c:72
|
#: ../lib/read_data.c:70
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "read %lu byte of data"
|
msgid "read %lu byte of data"
|
||||||
msgid_plural "read %lu bytes of data"
|
msgid_plural "read %lu bytes of data"
|
||||||
msgstr[0] "leído %lu byte de datos"
|
msgstr[0] "leído %lu byte de datos"
|
||||||
msgstr[1] "leídos %lu bytes de datos"
|
msgstr[1] "leídos %lu bytes de datos"
|
||||||
|
|
||||||
#: lib/write.c:52
|
#: ../lib/write.c:51
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "wrote %d byte"
|
msgid "wrote %d byte"
|
||||||
msgid_plural "wrote %d bytes"
|
msgid_plural "wrote %d bytes"
|
||||||
msgstr[0] "escrito %d byte"
|
msgstr[0] "escrito %d byte"
|
||||||
msgstr[1] "escritos %d bytes"
|
msgstr[1] "escritos %d bytes"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:460
|
#: ../src/daemon/gnuserv.c:458
|
||||||
msgid "Enable debugging"
|
msgid "Enable debugging"
|
||||||
msgstr "Activar depuración"
|
msgstr "Activar depuración"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:460
|
#: ../src/daemon/gnuserv.c:460
|
||||||
msgid "DEBUG"
|
|
||||||
msgstr "DEPURACIÓN"
|
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:462
|
|
||||||
msgid "Enable verbose output"
|
msgid "Enable verbose output"
|
||||||
msgstr "Activa salida detallada"
|
msgstr "Activa salida detallada"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:462
|
#: ../src/daemon/gnuserv.c:462
|
||||||
msgid "VERBOSE"
|
|
||||||
msgstr "DETALLADO"
|
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:464
|
|
||||||
msgid "Don't fork into background"
|
msgid "Don't fork into background"
|
||||||
msgstr "No se pudo abrir un proceso en segundo plano"
|
msgstr "No se pudo abrir un proceso en segundo plano"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:464
|
#: ../src/daemon/gnuserv.c:464
|
||||||
msgid "NO-DAEMON"
|
|
||||||
msgstr "NO-DAEMON"
|
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:466
|
|
||||||
msgid "Invoked from inetd"
|
msgid "Invoked from inetd"
|
||||||
msgstr "Invocado desde inetd"
|
msgstr "Invocado desde inetd"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:466
|
#: ../src/daemon/gnuserv.c:498
|
||||||
msgid "INETD"
|
|
||||||
msgstr "INETD"
|
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:500
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid "Run '%s --help' to see a full list of available command line options.\n"
|
||||||
"Error on option %s: %s.\n"
|
msgstr "Ejecute '%s --help' para ver una lista completa de las opciones disponibles.\n"
|
||||||
"Run '%s --help' to see a full list of available command line options.\n"
|
|
||||||
msgstr ""
|
|
||||||
"Error con la opción %s: %s.\n"
|
|
||||||
"Ejecute '%s --help' para ver una lista completa de las opciones "
|
|
||||||
"disponibles.\n"
|
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:28 sysdeps/sun4/siglist.c:28
|
#: ../sysdeps/osf1/siglist.c:27 ../sysdeps/sun4/siglist.c:27
|
||||||
msgid "Hangup"
|
msgid "Hangup"
|
||||||
msgstr "Terminar"
|
msgstr "Terminar"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:29 sysdeps/sun4/siglist.c:29
|
#: ../sysdeps/osf1/siglist.c:28 ../sysdeps/sun4/siglist.c:28
|
||||||
msgid "Interrupt"
|
msgid "Interrupt"
|
||||||
msgstr "Interrumpir"
|
msgstr "Interrumpir"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:30 sysdeps/sun4/siglist.c:30
|
#: ../sysdeps/osf1/siglist.c:29 ../sysdeps/sun4/siglist.c:29
|
||||||
msgid "Quit"
|
msgid "Quit"
|
||||||
msgstr "Salir"
|
msgstr "Salir"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:31 sysdeps/sun4/siglist.c:31
|
#: ../sysdeps/osf1/siglist.c:30 ../sysdeps/sun4/siglist.c:30
|
||||||
msgid "Illegal instruction"
|
msgid "Illegal instruction"
|
||||||
msgstr "Instrucción ilegal"
|
msgstr "Instrucción ilegal"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:32 sysdeps/sun4/siglist.c:32
|
#: ../sysdeps/osf1/siglist.c:31 ../sysdeps/sun4/siglist.c:31
|
||||||
msgid "Trace trap"
|
msgid "Trace trap"
|
||||||
msgstr "Atrapar traza"
|
msgstr "Atrapar traza"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:33 sysdeps/sun4/siglist.c:33
|
#: ../sysdeps/osf1/siglist.c:32 ../sysdeps/sun4/siglist.c:32
|
||||||
msgid "Abort"
|
msgid "Abort"
|
||||||
msgstr "Abortar"
|
msgstr "Abortar"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:34 sysdeps/sun4/siglist.c:34
|
#: ../sysdeps/osf1/siglist.c:33 ../sysdeps/sun4/siglist.c:33
|
||||||
msgid "EMT error"
|
msgid "EMT error"
|
||||||
msgstr "Error EMT"
|
msgstr "Error EMT"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:35 sysdeps/sun4/siglist.c:35
|
#: ../sysdeps/osf1/siglist.c:34 ../sysdeps/sun4/siglist.c:34
|
||||||
msgid "Floating-point exception"
|
msgid "Floating-point exception"
|
||||||
msgstr "Excepción de coma flotante"
|
msgstr "Excepción de coma flotante"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:36 sysdeps/sun4/siglist.c:36
|
#: ../sysdeps/osf1/siglist.c:35 ../sysdeps/sun4/siglist.c:35
|
||||||
msgid "Kill"
|
msgid "Kill"
|
||||||
msgstr "Matar"
|
msgstr "Matar"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:37 sysdeps/sun4/siglist.c:37
|
#: ../sysdeps/osf1/siglist.c:36 ../sysdeps/sun4/siglist.c:36
|
||||||
msgid "Bus error"
|
msgid "Bus error"
|
||||||
msgstr "Error de bus"
|
msgstr "Error de bus"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:38 sysdeps/sun4/siglist.c:38
|
#: ../sysdeps/osf1/siglist.c:37 ../sysdeps/sun4/siglist.c:37
|
||||||
msgid "Segmentation violation"
|
msgid "Segmentation violation"
|
||||||
msgstr "Violación de segmento"
|
msgstr "Violación de segmento"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:39 sysdeps/sun4/siglist.c:39
|
#: ../sysdeps/osf1/siglist.c:38 ../sysdeps/sun4/siglist.c:38
|
||||||
msgid "Bad argument to system call"
|
msgid "Bad argument to system call"
|
||||||
msgstr "Argumento incorrecto en llamada al sistema"
|
msgstr "Argumento incorrecto en llamada al sistema"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:40 sysdeps/sun4/siglist.c:40
|
#: ../sysdeps/osf1/siglist.c:39 ../sysdeps/sun4/siglist.c:39
|
||||||
msgid "Broken pipe"
|
msgid "Broken pipe"
|
||||||
msgstr "Tubería rota"
|
msgstr "Tubería rota"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:41 sysdeps/sun4/siglist.c:41
|
#: ../sysdeps/osf1/siglist.c:40 ../sysdeps/sun4/siglist.c:40
|
||||||
msgid "Alarm clock"
|
msgid "Alarm clock"
|
||||||
msgstr "Alarma de reloj"
|
msgstr "Alarma de reloj"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:42 sysdeps/sun4/siglist.c:42
|
#: ../sysdeps/osf1/siglist.c:41 ../sysdeps/sun4/siglist.c:41
|
||||||
msgid "Termination"
|
msgid "Termination"
|
||||||
msgstr "Terminación"
|
msgstr "Terminación"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:43 sysdeps/sun4/siglist.c:43
|
#: ../sysdeps/osf1/siglist.c:42 ../sysdeps/sun4/siglist.c:42
|
||||||
msgid "Urgent condition on socket"
|
msgid "Urgent condition on socket"
|
||||||
msgstr "Condición urgente en socket"
|
msgstr "Condición urgente en socket"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:44 sysdeps/sun4/siglist.c:44
|
#: ../sysdeps/osf1/siglist.c:43 ../sysdeps/sun4/siglist.c:43
|
||||||
msgid "Stop"
|
msgid "Stop"
|
||||||
msgstr "Parada"
|
msgstr "Parada"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:45 sysdeps/sun4/siglist.c:45
|
#: ../sysdeps/osf1/siglist.c:44 ../sysdeps/sun4/siglist.c:44
|
||||||
msgid "Keyboard stop"
|
msgid "Keyboard stop"
|
||||||
msgstr "Parada de teclado"
|
msgstr "Parada de teclado"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:46 sysdeps/sun4/siglist.c:46
|
#: ../sysdeps/osf1/siglist.c:45 ../sysdeps/sun4/siglist.c:45
|
||||||
msgid "Continue"
|
msgid "Continue"
|
||||||
msgstr "Continuar"
|
msgstr "Continuar"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:47 sysdeps/sun4/siglist.c:47
|
#: ../sysdeps/osf1/siglist.c:46 ../sysdeps/sun4/siglist.c:46
|
||||||
msgid "Child status has changed"
|
msgid "Child status has changed"
|
||||||
msgstr "Cambio de estado de hijo"
|
msgstr "Cambio de estado de hijo"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:48 sysdeps/sun4/siglist.c:48
|
#: ../sysdeps/osf1/siglist.c:47 ../sysdeps/sun4/siglist.c:47
|
||||||
msgid "Background read from tty"
|
msgid "Background read from tty"
|
||||||
msgstr "Lectura en segundo plano de tty"
|
msgstr "Lectura en segundo plano de tty"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:49 sysdeps/sun4/siglist.c:49
|
#: ../sysdeps/osf1/siglist.c:48 ../sysdeps/sun4/siglist.c:48
|
||||||
msgid "Background write to tty"
|
msgid "Background write to tty"
|
||||||
msgstr "Escritura en segundo plano a tty"
|
msgstr "Escritura en segundo plano a tty"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:50 sysdeps/sun4/siglist.c:50
|
#: ../sysdeps/osf1/siglist.c:49 ../sysdeps/sun4/siglist.c:49
|
||||||
msgid "I/O now possible"
|
msgid "I/O now possible"
|
||||||
msgstr "E/S ahora posible"
|
msgstr "E/S ahora posible"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:51 sysdeps/sun4/siglist.c:51
|
#: ../sysdeps/osf1/siglist.c:50 ../sysdeps/sun4/siglist.c:50
|
||||||
msgid "CPU limit exceeded"
|
msgid "CPU limit exceeded"
|
||||||
msgstr "Excedido límite de CPU"
|
msgstr "Excedido límite de CPU"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:52 sysdeps/sun4/siglist.c:52
|
#: ../sysdeps/osf1/siglist.c:51 ../sysdeps/sun4/siglist.c:51
|
||||||
msgid "File size limit exceeded"
|
msgid "File size limit exceeded"
|
||||||
msgstr "Tamaño límite de archivo excedido"
|
msgstr "Tamaño límite de archivo excedido"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:53 sysdeps/sun4/siglist.c:53
|
#: ../sysdeps/osf1/siglist.c:52 ../sysdeps/sun4/siglist.c:52
|
||||||
msgid "Virtual alarm clock"
|
msgid "Virtual alarm clock"
|
||||||
msgstr "Alarma de reloj virtual"
|
msgstr "Alarma de reloj virtual"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:54 sysdeps/sun4/siglist.c:54
|
#: ../sysdeps/osf1/siglist.c:53 ../sysdeps/sun4/siglist.c:53
|
||||||
msgid "Profiling alarm clock"
|
msgid "Profiling alarm clock"
|
||||||
msgstr "Alarma de reloj perfilada"
|
msgstr "Alarma de reloj perfilada"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:55 sysdeps/sun4/siglist.c:55
|
#: ../sysdeps/osf1/siglist.c:54 ../sysdeps/sun4/siglist.c:54
|
||||||
msgid "Window size change"
|
msgid "Window size change"
|
||||||
msgstr "Cambio del tamaño de ventana"
|
msgstr "Cambio del tamaño de ventana"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:56 sysdeps/sun4/siglist.c:56
|
#: ../sysdeps/osf1/siglist.c:55 ../sysdeps/sun4/siglist.c:55
|
||||||
msgid "Information request"
|
msgid "Information request"
|
||||||
msgstr "Solicitud de información"
|
msgstr "Solicitud de información"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:57 sysdeps/sun4/siglist.c:57
|
#: ../sysdeps/osf1/siglist.c:56 ../sysdeps/sun4/siglist.c:56
|
||||||
msgid "User defined signal 1"
|
msgid "User defined signal 1"
|
||||||
msgstr "Señal 1 definida por el usuario"
|
msgstr "Señal 1 definida por el usuario"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:58 sysdeps/sun4/siglist.c:58
|
#: ../sysdeps/osf1/siglist.c:57 ../sysdeps/sun4/siglist.c:57
|
||||||
msgid "User defined signal 2"
|
msgid "User defined signal 2"
|
||||||
msgstr "Señal 2 definida por el usuario"
|
msgstr "Señal 2 definida por el usuario"
|
||||||
|
|
||||||
|
112
po/et.po
112
po/et.po
@@ -2,17 +2,18 @@
|
|||||||
# Estonian translation of libgtop.
|
# Estonian translation of libgtop.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||||
|
# Copyright (C) 2007 The GNOME Project.
|
||||||
# This file is distributed under the same license as the libgtop package.
|
# This file is distributed under the same license as the libgtop package.
|
||||||
#
|
#
|
||||||
# Tõivo Leedjärv <toivo@linux.ee>, 2003.
|
# Tõivo Leedjärv <toivo@linux.ee>, 2003.
|
||||||
# Ivar Smolin <okul@linux.ee>, 2005.
|
# Ivar Smolin <okul@linux.ee>, 2005, 2007.
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: libgtop HEAD\n"
|
"Project-Id-Version: libgtop HEAD\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2005-02-08 15:28+0100\n"
|
"POT-Creation-Date: 2007-05-14 03:41+0100\n"
|
||||||
"PO-Revision-Date: 2005-03-09 10:47+0200\n"
|
"PO-Revision-Date: 2007-05-14 08:09+0300\n"
|
||||||
"Last-Translator: Ivar Smolin <okul@linux.ee>\n"
|
"Last-Translator: Ivar Smolin <okul@linux.ee>\n"
|
||||||
"Language-Team: Estonian <gnome-et@linux.ee>\n"
|
"Language-Team: Estonian <gnome-et@linux.ee>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -20,193 +21,172 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
#: lib/read.c:64
|
#: ../lib/read.c:51
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "read %d byte"
|
msgid "read %d byte"
|
||||||
msgid_plural "read %d bytes"
|
msgid_plural "read %d bytes"
|
||||||
msgstr[0] "loetud %d bait"
|
msgstr[0] "loetud %d bait"
|
||||||
msgstr[1] "loetud %d baiti"
|
msgstr[1] "loetud %d baiti"
|
||||||
|
|
||||||
#: lib/read_data.c:52
|
#: ../lib/read_data.c:51
|
||||||
msgid "read data size"
|
msgid "read data size"
|
||||||
msgstr "loetud andmete hulk"
|
msgstr "loetud andmete hulk"
|
||||||
|
|
||||||
#: lib/read_data.c:71
|
#: ../lib/read_data.c:70
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "read %lu byte of data"
|
msgid "read %lu byte of data"
|
||||||
msgid_plural "read %lu bytes of data"
|
msgid_plural "read %lu bytes of data"
|
||||||
msgstr[0] "loetud %lu bait andmeid"
|
msgstr[0] "loetud %lu bait andmeid"
|
||||||
msgstr[1] "loetud %lu baiti andmeid"
|
msgstr[1] "loetud %lu baiti andmeid"
|
||||||
|
|
||||||
#: lib/write.c:51
|
#: ../lib/write.c:51
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "wrote %d byte"
|
msgid "wrote %d byte"
|
||||||
msgid_plural "wrote %d bytes"
|
msgid_plural "wrote %d bytes"
|
||||||
msgstr[0] "kirjutatud %d bait"
|
msgstr[0] "kirjutatud %d bait"
|
||||||
msgstr[1] "kirjutatud %d baiti"
|
msgstr[1] "kirjutatud %d baiti"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:461
|
#: ../src/daemon/gnuserv.c:458
|
||||||
msgid "Enable debugging"
|
msgid "Enable debugging"
|
||||||
msgstr "Silumise lubamine"
|
msgstr "Silumise lubamine"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:461
|
#: ../src/daemon/gnuserv.c:460
|
||||||
msgid "DEBUG"
|
|
||||||
msgstr "SILUMINE"
|
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:463
|
|
||||||
msgid "Enable verbose output"
|
msgid "Enable verbose output"
|
||||||
msgstr "Teaberohke väljundi lubamine"
|
msgstr "Teaberohke väljundi lubamine"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:463
|
#: ../src/daemon/gnuserv.c:462
|
||||||
msgid "VERBOSE"
|
|
||||||
msgstr "LISATEAVE"
|
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:465
|
|
||||||
msgid "Don't fork into background"
|
msgid "Don't fork into background"
|
||||||
msgstr "Taustale siirdumine keelatud"
|
msgstr "Taustale siirdumine keelatud"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:465
|
#: ../src/daemon/gnuserv.c:464
|
||||||
msgid "NO-DAEMON"
|
|
||||||
msgstr "MITTE-DEEMON"
|
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:467
|
|
||||||
msgid "Invoked from inetd"
|
msgid "Invoked from inetd"
|
||||||
msgstr "Käivitatakse inetd abil"
|
msgstr "Käivitatakse inetd abil"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:467
|
#: ../src/daemon/gnuserv.c:498
|
||||||
msgid "INETD"
|
|
||||||
msgstr "INETD"
|
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:501
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid "Run '%s --help' to see a full list of available command line options.\n"
|
||||||
"Error on option %s: %s.\n"
|
msgstr "Kõigi käsureavõtmete nimekirja vaatamiseks käivita '%s --help'.\n"
|
||||||
"Run '%s --help' to see a full list of available command line options.\n"
|
|
||||||
msgstr ""
|
|
||||||
"Viga võtmes %s: %s.\n"
|
|
||||||
"Käivita '%s --help', et näha loendit kõikidest käsureavõtmetest.\n"
|
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:28 sysdeps/sun4/siglist.c:28
|
#: ../sysdeps/osf1/siglist.c:27 ../sysdeps/sun4/siglist.c:27
|
||||||
msgid "Hangup"
|
msgid "Hangup"
|
||||||
msgstr "Toru hargilepanek"
|
msgstr "Toru hargilepanek"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:29 sysdeps/sun4/siglist.c:29
|
#: ../sysdeps/osf1/siglist.c:28 ../sysdeps/sun4/siglist.c:28
|
||||||
msgid "Interrupt"
|
msgid "Interrupt"
|
||||||
msgstr "Katkestamine"
|
msgstr "Katkestamine"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:30 sysdeps/sun4/siglist.c:30
|
#: ../sysdeps/osf1/siglist.c:29 ../sysdeps/sun4/siglist.c:29
|
||||||
msgid "Quit"
|
msgid "Quit"
|
||||||
msgstr "Lõpetamine"
|
msgstr "Lõpetamine"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:31 sysdeps/sun4/siglist.c:31
|
#: ../sysdeps/osf1/siglist.c:30 ../sysdeps/sun4/siglist.c:30
|
||||||
msgid "Illegal instruction"
|
msgid "Illegal instruction"
|
||||||
msgstr "Lubamatu instruktsioon"
|
msgstr "Lubamatu instruktsioon"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:32 sysdeps/sun4/siglist.c:32
|
#: ../sysdeps/osf1/siglist.c:31 ../sysdeps/sun4/siglist.c:31
|
||||||
msgid "Trace trap"
|
msgid "Trace trap"
|
||||||
msgstr "Jälitamispüünis"
|
msgstr "Jälitamispüünis"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:33 sysdeps/sun4/siglist.c:33
|
#: ../sysdeps/osf1/siglist.c:32 ../sysdeps/sun4/siglist.c:32
|
||||||
msgid "Abort"
|
msgid "Abort"
|
||||||
msgstr "Katkestamine"
|
msgstr "Katkestamine"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:34 sysdeps/sun4/siglist.c:34
|
#: ../sysdeps/osf1/siglist.c:33 ../sysdeps/sun4/siglist.c:33
|
||||||
msgid "EMT error"
|
msgid "EMT error"
|
||||||
msgstr "EMT viga"
|
msgstr "EMT viga"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:35 sysdeps/sun4/siglist.c:35
|
#: ../sysdeps/osf1/siglist.c:34 ../sysdeps/sun4/siglist.c:34
|
||||||
msgid "Floating-point exception"
|
msgid "Floating-point exception"
|
||||||
msgstr "Ujukomaviga"
|
msgstr "Ujukomaviga"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:36 sysdeps/sun4/siglist.c:36
|
#: ../sysdeps/osf1/siglist.c:35 ../sysdeps/sun4/siglist.c:35
|
||||||
msgid "Kill"
|
msgid "Kill"
|
||||||
msgstr "Kõrvaldamine"
|
msgstr "Kõrvaldamine"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:37 sysdeps/sun4/siglist.c:37
|
#: ../sysdeps/osf1/siglist.c:36 ../sysdeps/sun4/siglist.c:36
|
||||||
msgid "Bus error"
|
msgid "Bus error"
|
||||||
msgstr "Siini viga"
|
msgstr "Siini viga"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:38 sysdeps/sun4/siglist.c:38
|
#: ../sysdeps/osf1/siglist.c:37 ../sysdeps/sun4/siglist.c:37
|
||||||
msgid "Segmentation violation"
|
msgid "Segmentation violation"
|
||||||
msgstr "Segmenteerimisviga"
|
msgstr "Segmenteerimisviga"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:39 sysdeps/sun4/siglist.c:39
|
#: ../sysdeps/osf1/siglist.c:38 ../sysdeps/sun4/siglist.c:38
|
||||||
msgid "Bad argument to system call"
|
msgid "Bad argument to system call"
|
||||||
msgstr "Vigane süsteemikutsungi argument"
|
msgstr "Vigane süsteemikutsungi argument"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:40 sysdeps/sun4/siglist.c:40
|
#: ../sysdeps/osf1/siglist.c:39 ../sysdeps/sun4/siglist.c:39
|
||||||
msgid "Broken pipe"
|
msgid "Broken pipe"
|
||||||
msgstr "Katkine toru"
|
msgstr "Katkine toru"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:41 sysdeps/sun4/siglist.c:41
|
#: ../sysdeps/osf1/siglist.c:40 ../sysdeps/sun4/siglist.c:40
|
||||||
msgid "Alarm clock"
|
msgid "Alarm clock"
|
||||||
msgstr "Alarmkell"
|
msgstr "Alarmkell"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:42 sysdeps/sun4/siglist.c:42
|
#: ../sysdeps/osf1/siglist.c:41 ../sysdeps/sun4/siglist.c:41
|
||||||
msgid "Termination"
|
msgid "Termination"
|
||||||
msgstr "Lõpetamine"
|
msgstr "Lõpetamine"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:43 sysdeps/sun4/siglist.c:43
|
#: ../sysdeps/osf1/siglist.c:42 ../sysdeps/sun4/siglist.c:42
|
||||||
msgid "Urgent condition on socket"
|
msgid "Urgent condition on socket"
|
||||||
msgstr "Sokli edasilükkamatu seisund"
|
msgstr "Sokli edasilükkamatu seisund"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:44 sysdeps/sun4/siglist.c:44
|
#: ../sysdeps/osf1/siglist.c:43 ../sysdeps/sun4/siglist.c:43
|
||||||
msgid "Stop"
|
msgid "Stop"
|
||||||
msgstr "Seiskamine"
|
msgstr "Seiskamine"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:45 sysdeps/sun4/siglist.c:45
|
#: ../sysdeps/osf1/siglist.c:44 ../sysdeps/sun4/siglist.c:44
|
||||||
msgid "Keyboard stop"
|
msgid "Keyboard stop"
|
||||||
msgstr "Seiskamine klaviatuurilt"
|
msgstr "Seiskamine klaviatuurilt"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:46 sysdeps/sun4/siglist.c:46
|
#: ../sysdeps/osf1/siglist.c:45 ../sysdeps/sun4/siglist.c:45
|
||||||
msgid "Continue"
|
msgid "Continue"
|
||||||
msgstr "Jätkamine"
|
msgstr "Jätkamine"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:47 sysdeps/sun4/siglist.c:47
|
#: ../sysdeps/osf1/siglist.c:46 ../sysdeps/sun4/siglist.c:46
|
||||||
msgid "Child status has changed"
|
msgid "Child status has changed"
|
||||||
msgstr "Lapsprotsessi olek muudetud"
|
msgstr "Lapsprotsessi olek muudetud"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:48 sysdeps/sun4/siglist.c:48
|
#: ../sysdeps/osf1/siglist.c:47 ../sysdeps/sun4/siglist.c:47
|
||||||
msgid "Background read from tty"
|
msgid "Background read from tty"
|
||||||
msgstr "Taustalugemine tty'lt"
|
msgstr "Taustalugemine tty'lt"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:49 sysdeps/sun4/siglist.c:49
|
#: ../sysdeps/osf1/siglist.c:48 ../sysdeps/sun4/siglist.c:48
|
||||||
msgid "Background write to tty"
|
msgid "Background write to tty"
|
||||||
msgstr "Taustakirjutamine tty'le"
|
msgstr "Taustakirjutamine tty'le"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:50 sysdeps/sun4/siglist.c:50
|
#: ../sysdeps/osf1/siglist.c:49 ../sysdeps/sun4/siglist.c:49
|
||||||
msgid "I/O now possible"
|
msgid "I/O now possible"
|
||||||
msgstr "S/V on nüüd võimalik"
|
msgstr "S/V on nüüd võimalik"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:51 sysdeps/sun4/siglist.c:51
|
#: ../sysdeps/osf1/siglist.c:50 ../sysdeps/sun4/siglist.c:50
|
||||||
msgid "CPU limit exceeded"
|
msgid "CPU limit exceeded"
|
||||||
msgstr "Protsessoriaja piirang ületatud"
|
msgstr "Protsessoriaja piirang ületatud"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:52 sysdeps/sun4/siglist.c:52
|
#: ../sysdeps/osf1/siglist.c:51 ../sysdeps/sun4/siglist.c:51
|
||||||
msgid "File size limit exceeded"
|
msgid "File size limit exceeded"
|
||||||
msgstr "Failisuuruse piirang ületatud"
|
msgstr "Failisuuruse piirang ületatud"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:53 sysdeps/sun4/siglist.c:53
|
#: ../sysdeps/osf1/siglist.c:52 ../sysdeps/sun4/siglist.c:52
|
||||||
msgid "Virtual alarm clock"
|
msgid "Virtual alarm clock"
|
||||||
msgstr "Virtuaalne alarmkell"
|
msgstr "Virtuaalne alarmkell"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:54 sysdeps/sun4/siglist.c:54
|
#: ../sysdeps/osf1/siglist.c:53 ../sysdeps/sun4/siglist.c:53
|
||||||
msgid "Profiling alarm clock"
|
msgid "Profiling alarm clock"
|
||||||
msgstr "Alarmkella profileerimine"
|
msgstr "Alarmkella profileerimine"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:55 sysdeps/sun4/siglist.c:55
|
#: ../sysdeps/osf1/siglist.c:54 ../sysdeps/sun4/siglist.c:54
|
||||||
msgid "Window size change"
|
msgid "Window size change"
|
||||||
msgstr "Akna suuruse muutmine"
|
msgstr "Akna suuruse muutmine"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:56 sysdeps/sun4/siglist.c:56
|
#: ../sysdeps/osf1/siglist.c:55 ../sysdeps/sun4/siglist.c:55
|
||||||
msgid "Information request"
|
msgid "Information request"
|
||||||
msgstr "Teabepäring"
|
msgstr "Teabepäring"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:57 sysdeps/sun4/siglist.c:57
|
#: ../sysdeps/osf1/siglist.c:56 ../sysdeps/sun4/siglist.c:56
|
||||||
msgid "User defined signal 1"
|
msgid "User defined signal 1"
|
||||||
msgstr "Kasutaja kirjeldatud signaal 1"
|
msgstr "Kasutaja kirjeldatud signaal 1"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:58 sysdeps/sun4/siglist.c:58
|
#: ../sysdeps/osf1/siglist.c:57 ../sysdeps/sun4/siglist.c:57
|
||||||
msgid "User defined signal 2"
|
msgid "User defined signal 2"
|
||||||
msgstr "Kasutaja kirjeldatud signaal 2"
|
msgstr "Kasutaja kirjeldatud signaal 2"
|
||||||
|
|
||||||
|
141
po/gl.po
141
po/gl.po
@@ -16,7 +16,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: libgtop.gnome-2-10\n"
|
"Project-Id-Version: libgtop.gnome-2-10\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2005-09-25 18:15+0200\n"
|
"POT-Creation-Date: 2006-12-04 15:52+0100\n"
|
||||||
"PO-Revision-Date: 2005-06-13 17:22+0200\n"
|
"PO-Revision-Date: 2005-06-13 17:22+0200\n"
|
||||||
"Last-Translator: Ignacio Casal Quinteiro <nacho.resa@gmail.com>\n"
|
"Last-Translator: Ignacio Casal Quinteiro <nacho.resa@gmail.com>\n"
|
||||||
"Language-Team: Galego\n"
|
"Language-Team: Galego\n"
|
||||||
@@ -26,193 +26,192 @@ msgstr ""
|
|||||||
"X-Generator: KBabel 1.9.1\n"
|
"X-Generator: KBabel 1.9.1\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
#: lib/read.c:65
|
#: ../lib/read.c:65
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "read %d byte"
|
msgid "read %d byte"
|
||||||
msgid_plural "read %d bytes"
|
msgid_plural "read %d bytes"
|
||||||
msgstr[0] "lidos %d byte"
|
msgstr[0] "lido %d byte"
|
||||||
msgstr[1] "lidos %d bytes"
|
msgstr[1] "lidos %d bytes"
|
||||||
|
|
||||||
#: lib/read_data.c:53
|
#: ../lib/read_data.c:53
|
||||||
msgid "read data size"
|
msgid "read data size"
|
||||||
msgstr "tamaño dos datos lidos"
|
msgstr "tamaño dos datos lidos"
|
||||||
|
|
||||||
#: lib/read_data.c:72
|
#: ../lib/read_data.c:72
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "read %lu byte of data"
|
msgid "read %lu byte of data"
|
||||||
msgid_plural "read %lu bytes of data"
|
msgid_plural "read %lu bytes of data"
|
||||||
msgstr[0] "lidos %lu byte de datos"
|
msgstr[0] "lido %lu byte de datos"
|
||||||
msgstr[1] "lidos %lu bytes de datos"
|
msgstr[1] "lidos %lu bytes de datos"
|
||||||
|
|
||||||
#: lib/write.c:52
|
#: ../lib/write.c:53
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "wrote %d byte"
|
msgid "wrote %d byte"
|
||||||
msgid_plural "wrote %d bytes"
|
msgid_plural "wrote %d bytes"
|
||||||
msgstr[0] "escrito %d byte"
|
msgstr[0] "escrito %d byte"
|
||||||
msgstr[1] "escritos %d bytes"
|
msgstr[1] "escritos %d bytes"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:460
|
#: ../src/daemon/gnuserv.c:460
|
||||||
msgid "Enable debugging"
|
msgid "Enable debugging"
|
||||||
msgstr "Activar depuración"
|
msgstr "Activar depuración"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:460
|
#: ../src/daemon/gnuserv.c:460
|
||||||
msgid "DEBUG"
|
msgid "DEBUG"
|
||||||
msgstr "DEPURACIÓN"
|
msgstr "DEPURACIÓN"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:462
|
#: ../src/daemon/gnuserv.c:462
|
||||||
msgid "Enable verbose output"
|
msgid "Enable verbose output"
|
||||||
msgstr "Activar saída extensa"
|
msgstr "Activar saída detallada"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:462
|
#: ../src/daemon/gnuserv.c:462
|
||||||
msgid "VERBOSE"
|
msgid "VERBOSE"
|
||||||
msgstr "EXTENSA"
|
msgstr "DETALLADO"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:464
|
#: ../src/daemon/gnuserv.c:464
|
||||||
msgid "Don't fork into background"
|
msgid "Don't fork into background"
|
||||||
msgstr "Non facer 'fork' en tarefa de fondo"
|
msgstr "Non facer fork na tarefa de fondo"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:464
|
#: ../src/daemon/gnuserv.c:464
|
||||||
msgid "NO-DAEMON"
|
msgid "NO-DAEMON"
|
||||||
msgstr "NON-DEMONIO"
|
msgstr "NON-DAEMON"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:466
|
#: ../src/daemon/gnuserv.c:466
|
||||||
msgid "Invoked from inetd"
|
msgid "Invoked from inetd"
|
||||||
msgstr "Executado dende inetd"
|
msgstr "Invocado desde inetd"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:466
|
#: ../src/daemon/gnuserv.c:466
|
||||||
msgid "INETD"
|
msgid "INETD"
|
||||||
msgstr "INETD"
|
msgstr "INETD"
|
||||||
|
|
||||||
#: src/daemon/gnuserv.c:500
|
#: ../src/daemon/gnuserv.c:500
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Error on option %s: %s.\n"
|
"Error on option %s: %s.\n"
|
||||||
"Run '%s --help' to see a full list of available command line options.\n"
|
"Run '%s --help' to see a full list of available command line options.\n"
|
||||||
msgstr ""
|
msgstr "Produciuse un erro na opción %s: %s.\n"
|
||||||
"Erro na opción %s: %s.\n"
|
"Execute '%s --help' para ver unha lista completa das opcións de liña\n"
|
||||||
"Execute '%s --help' para ver unha lista completa das opcións de liña\n"
|
"de comandos dispoñibles.\n"
|
||||||
"de comandos disponibles.\n"
|
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:28 sysdeps/sun4/siglist.c:28
|
#: ../sysdeps/osf1/siglist.c:29 ../sysdeps/sun4/siglist.c:29
|
||||||
msgid "Hangup"
|
msgid "Hangup"
|
||||||
msgstr "Colgar"
|
msgstr "Colgar"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:29 sysdeps/sun4/siglist.c:29
|
#: ../sysdeps/osf1/siglist.c:30 ../sysdeps/sun4/siglist.c:30
|
||||||
msgid "Interrupt"
|
msgid "Interrupt"
|
||||||
msgstr "Interromper"
|
msgstr "Interromper"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:30 sysdeps/sun4/siglist.c:30
|
#: ../sysdeps/osf1/siglist.c:31 ../sysdeps/sun4/siglist.c:31
|
||||||
msgid "Quit"
|
msgid "Quit"
|
||||||
msgstr "Saír"
|
msgstr "Saír"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:31 sysdeps/sun4/siglist.c:31
|
#: ../sysdeps/osf1/siglist.c:32 ../sysdeps/sun4/siglist.c:32
|
||||||
msgid "Illegal instruction"
|
msgid "Illegal instruction"
|
||||||
msgstr "Instrucción ilegal"
|
msgstr "Instrución ilegal"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:32 sysdeps/sun4/siglist.c:32
|
#: ../sysdeps/osf1/siglist.c:33 ../sysdeps/sun4/siglist.c:33
|
||||||
msgid "Trace trap"
|
msgid "Trace trap"
|
||||||
msgstr "Captura da traza"
|
msgstr "Captura do rastro"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:33 sysdeps/sun4/siglist.c:33
|
#: ../sysdeps/osf1/siglist.c:34 ../sysdeps/sun4/siglist.c:34
|
||||||
msgid "Abort"
|
msgid "Abort"
|
||||||
msgstr "Abortar"
|
msgstr "Interromper"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:34 sysdeps/sun4/siglist.c:34
|
#: ../sysdeps/osf1/siglist.c:35 ../sysdeps/sun4/siglist.c:35
|
||||||
msgid "EMT error"
|
msgid "EMT error"
|
||||||
msgstr "Erro EMT"
|
msgstr "Erro EMT"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:35 sysdeps/sun4/siglist.c:35
|
#: ../sysdeps/osf1/siglist.c:36 ../sysdeps/sun4/siglist.c:36
|
||||||
msgid "Floating-point exception"
|
msgid "Floating-point exception"
|
||||||
msgstr "Excepción de coma flotante"
|
msgstr "Excepción da coma flotante"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:36 sysdeps/sun4/siglist.c:36
|
#: ../sysdeps/osf1/siglist.c:37 ../sysdeps/sun4/siglist.c:37
|
||||||
msgid "Kill"
|
msgid "Kill"
|
||||||
msgstr "Matar"
|
msgstr "Matar"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:37 sysdeps/sun4/siglist.c:37
|
#: ../sysdeps/osf1/siglist.c:38 ../sysdeps/sun4/siglist.c:38
|
||||||
msgid "Bus error"
|
msgid "Bus error"
|
||||||
msgstr "Erro de bus"
|
msgstr "Erro de bus"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:38 sysdeps/sun4/siglist.c:38
|
#: ../sysdeps/osf1/siglist.c:39 ../sysdeps/sun4/siglist.c:39
|
||||||
msgid "Segmentation violation"
|
msgid "Segmentation violation"
|
||||||
msgstr "Fallo de segmento"
|
msgstr "Erro de segmento"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:39 sysdeps/sun4/siglist.c:39
|
#: ../sysdeps/osf1/siglist.c:40 ../sysdeps/sun4/siglist.c:40
|
||||||
msgid "Bad argument to system call"
|
msgid "Bad argument to system call"
|
||||||
msgstr "Argumento erróneo á chamada de sistema"
|
msgstr "Argumento incorrecto na chamada ao sistema"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:40 sysdeps/sun4/siglist.c:40
|
#: ../sysdeps/osf1/siglist.c:41 ../sysdeps/sun4/siglist.c:41
|
||||||
msgid "Broken pipe"
|
msgid "Broken pipe"
|
||||||
msgstr "Canalización rota"
|
msgstr "Canalización danada"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:41 sysdeps/sun4/siglist.c:41
|
#: ../sysdeps/osf1/siglist.c:42 ../sysdeps/sun4/siglist.c:42
|
||||||
msgid "Alarm clock"
|
msgid "Alarm clock"
|
||||||
msgstr "Reloxo de alarma"
|
msgstr "Reloxo de alarma"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:42 sysdeps/sun4/siglist.c:42
|
#: ../sysdeps/osf1/siglist.c:43 ../sysdeps/sun4/siglist.c:43
|
||||||
msgid "Termination"
|
msgid "Termination"
|
||||||
msgstr "Remate"
|
msgstr "Finalización"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:43 sysdeps/sun4/siglist.c:43
|
#: ../sysdeps/osf1/siglist.c:44 ../sysdeps/sun4/siglist.c:44
|
||||||
msgid "Urgent condition on socket"
|
msgid "Urgent condition on socket"
|
||||||
msgstr "Condición urxente no socket"
|
msgstr "Condición urxente no conectador"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:44 sysdeps/sun4/siglist.c:44
|
#: ../sysdeps/osf1/siglist.c:45 ../sysdeps/sun4/siglist.c:45
|
||||||
msgid "Stop"
|
msgid "Stop"
|
||||||
msgstr "Parar"
|
msgstr "Deter"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:45 sysdeps/sun4/siglist.c:45
|
#: ../sysdeps/osf1/siglist.c:46 ../sysdeps/sun4/siglist.c:46
|
||||||
msgid "Keyboard stop"
|
msgid "Keyboard stop"
|
||||||
msgstr "Parada de teclado"
|
msgstr "Detención co teclado"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:46 sysdeps/sun4/siglist.c:46
|
#: ../sysdeps/osf1/siglist.c:47 ../sysdeps/sun4/siglist.c:47
|
||||||
msgid "Continue"
|
msgid "Continue"
|
||||||
msgstr "Continuar"
|
msgstr "Continuar"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:47 sysdeps/sun4/siglist.c:47
|
#: ../sysdeps/osf1/siglist.c:48 ../sysdeps/sun4/siglist.c:48
|
||||||
msgid "Child status has changed"
|
msgid "Child status has changed"
|
||||||
msgstr "O estado do fillo cambiou"
|
msgstr "O estado do fillo cambiou"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:48 sysdeps/sun4/siglist.c:48
|
#: ../sysdeps/osf1/siglist.c:49 ../sysdeps/sun4/siglist.c:49
|
||||||
msgid "Background read from tty"
|
msgid "Background read from tty"
|
||||||
msgstr "Lectura en segundo plano do tty"
|
msgstr "Lectura en segundo plano do tty"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:49 sysdeps/sun4/siglist.c:49
|
#: ../sysdeps/osf1/siglist.c:50 ../sysdeps/sun4/siglist.c:50
|
||||||
msgid "Background write to tty"
|
msgid "Background write to tty"
|
||||||
msgstr "Escritura en segundo plano ó tty"
|
msgstr "Escritura en segundo plano ao tty"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:50 sysdeps/sun4/siglist.c:50
|
#: ../sysdeps/osf1/siglist.c:51 ../sysdeps/sun4/siglist.c:51
|
||||||
msgid "I/O now possible"
|
msgid "I/O now possible"
|
||||||
msgstr "E/S posible agora"
|
msgstr "A E/S é posible agora"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:51 sysdeps/sun4/siglist.c:51
|
#: ../sysdeps/osf1/siglist.c:52 ../sysdeps/sun4/siglist.c:52
|
||||||
msgid "CPU limit exceeded"
|
msgid "CPU limit exceeded"
|
||||||
msgstr "Límite de CPU excedido"
|
msgstr "Límite de CPU excedido"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:52 sysdeps/sun4/siglist.c:52
|
#: ../sysdeps/osf1/siglist.c:53 ../sysdeps/sun4/siglist.c:53
|
||||||
msgid "File size limit exceeded"
|
msgid "File size limit exceeded"
|
||||||
msgstr "Límite de tamaño de ficheiro excedido"
|
msgstr "Excedeuse o límite de tamaño do ficheiro"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:53 sysdeps/sun4/siglist.c:53
|
#: ../sysdeps/osf1/siglist.c:54 ../sysdeps/sun4/siglist.c:54
|
||||||
msgid "Virtual alarm clock"
|
msgid "Virtual alarm clock"
|
||||||
msgstr "Reloxo de alarma virtual"
|
msgstr "Reloxo de alarma virtual"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:54 sysdeps/sun4/siglist.c:54
|
#: ../sysdeps/osf1/siglist.c:55 ../sysdeps/sun4/siglist.c:55
|
||||||
msgid "Profiling alarm clock"
|
msgid "Profiling alarm clock"
|
||||||
msgstr "Reloxo de alarma con perfil"
|
msgstr "Reloxo de alarma con perfil"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:55 sysdeps/sun4/siglist.c:55
|
#: ../sysdeps/osf1/siglist.c:56 ../sysdeps/sun4/siglist.c:56
|
||||||
msgid "Window size change"
|
msgid "Window size change"
|
||||||
msgstr "Cambio do tamaño da fiestra"
|
msgstr "Cambio do tamaño da ventá"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:56 sysdeps/sun4/siglist.c:56
|
#: ../sysdeps/osf1/siglist.c:57 ../sysdeps/sun4/siglist.c:57
|
||||||
msgid "Information request"
|
msgid "Information request"
|
||||||
msgstr "Petición de Información"
|
msgstr "Petición de Información"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:57 sysdeps/sun4/siglist.c:57
|
#: ../sysdeps/osf1/siglist.c:58 ../sysdeps/sun4/siglist.c:58
|
||||||
msgid "User defined signal 1"
|
msgid "User defined signal 1"
|
||||||
msgstr "Sinal 1 definido polo usuario"
|
msgstr "Sinal 1 definido polo usuario"
|
||||||
|
|
||||||
#: sysdeps/osf1/siglist.c:58 sysdeps/sun4/siglist.c:58
|
#: ../sysdeps/osf1/siglist.c:59 ../sysdeps/sun4/siglist.c:59
|
||||||
msgid "User defined signal 2"
|
msgid "User defined signal 2"
|
||||||
msgstr "Sinal 2 definido polo usuario"
|
msgstr "Sinal 2 definido polo usuario"
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user