Moved here from the sysdeps directories.
2000-02-06 Martin Baulig <martin@home-of-linux.org> * lib/sysdeps-init-*.c (glibtop_sys_siglist): Moved here from the sysdeps directories. * sysdeps/*/siglist.c: Removed.
This commit is contained in:
committed by
Martin Baulig
parent
55ff827b50
commit
0f3babc8e9
@@ -1,3 +1,10 @@
|
||||
2000-02-06 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* lib/sysdeps-init-*.c (glibtop_sys_siglist): Moved here from
|
||||
the sysdeps directories.
|
||||
|
||||
* sysdeps/*/siglist.c: Removed.
|
||||
|
||||
2000-02-06 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* glibtop.h (glibtop): Removed `method', `server_command',
|
||||
|
@@ -27,6 +27,11 @@
|
||||
#include <glibtop/open.h>
|
||||
#include <glibtop/backend.h>
|
||||
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 0, NULL, NULL } };
|
||||
|
||||
void
|
||||
_glibtop_open_sysdeps (glibtop *server, const char *program_name,
|
||||
const unsigned long features, const unsigned flags)
|
||||
|
@@ -27,6 +27,43 @@
|
||||
#include <glibtop/open.h>
|
||||
#include <glibtop/backend.h>
|
||||
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 1, "SIGHUP", NULL }, /* Hangup (POSIX). */
|
||||
{ 2, "SIGINT", NULL }, /* Interrupt (ANSI). */
|
||||
{ 3, "SIGQUIT", NULL }, /* Quit (POSIX). */
|
||||
{ 4, "SIGILL", NULL }, /* Illegal instruction (ANSI). */
|
||||
{ 5, "SIGTRAP", NULL }, /* Trace trap (POSIX). */
|
||||
{ 6, "SIGABRT", NULL }, /* Abort (ANSI). */
|
||||
{ 7, "SIGBUS", NULL }, /* BUS error (4.2 BSD). */
|
||||
{ 8, "SIGFPE", NULL }, /* Floating-point exception (ANSI). */
|
||||
{ 9, "SIGKILL", NULL }, /* Kill, unblockable (POSIX). */
|
||||
{ 10, "SIGUSR1", NULL }, /* User-defined signal 1 (POSIX). */
|
||||
{ 11, "SIGSEGV", NULL }, /* Segmentation violation (ANSI). */
|
||||
{ 12, "SIGUSR2", NULL }, /* User-defined signal 2 (POSIX). */
|
||||
{ 13, "SIGPIPE", NULL }, /* Broken pipe (POSIX). */
|
||||
{ 14, "SIGALRM", NULL }, /* Alarm clock (POSIX). */
|
||||
{ 15, "SIGTERM", NULL }, /* Termination (ANSI). */
|
||||
{ 16, "SIGSTKFLT", NULL }, /* ??? */
|
||||
{ 17, "SIGCHLD", NULL }, /* Child status has changed (POSIX). */
|
||||
{ 18, "SIGCONT", NULL }, /* Continue (POSIX). */
|
||||
{ 19, "SIGSTOP", NULL }, /* Stop, unblockable (POSIX). */
|
||||
{ 20, "SIGTSTP", NULL }, /* Keyboard stop (POSIX). */
|
||||
{ 21, "SIGTTIN", NULL }, /* Background read from tty (POSIX). */
|
||||
{ 22, "SIGTTOU", NULL }, /* Background write to tty (POSIX). */
|
||||
{ 23, "SIGURG", NULL }, /* Urgent condition on socket (4.2 BSD). */
|
||||
{ 24, "SIGXCPU", NULL }, /* CPU limit exceeded (4.2 BSD). */
|
||||
{ 25, "SIGXFSZ", NULL }, /* File size limit exceeded (4.2 BSD). */
|
||||
{ 26, "SIGVTALRM", NULL }, /* Virtual alarm clock (4.2 BSD). */
|
||||
{ 27, "SIGPROF", NULL }, /* Profiling alarm clock (4.2 BSD). */
|
||||
{ 28, "SIGWINCH", NULL }, /* Window size change (4.3 BSD, Sun). */
|
||||
{ 29, "SIGIO", NULL }, /* I/O now possible (4.2 BSD). */
|
||||
{ 30, "SIGPWR", NULL }, /* Power failure restart (System V). */
|
||||
{ 31, "SIGUNUSED", NULL },
|
||||
{ 0, NULL, NULL },
|
||||
};
|
||||
|
||||
void
|
||||
_glibtop_open_sysdeps (glibtop *server, const char *program_name,
|
||||
const unsigned long features, const unsigned flags)
|
||||
|
@@ -27,6 +27,43 @@
|
||||
#include <glibtop/open.h>
|
||||
#include <glibtop/backend.h>
|
||||
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 1, "SIGHUP", NULL }, /* Hangup (POSIX). */
|
||||
{ 2, "SIGINT", NULL }, /* Interrupt (ANSI). */
|
||||
{ 3, "SIGQUIT", NULL }, /* Quit (POSIX). */
|
||||
{ 4, "SIGILL", NULL }, /* Illegal instruction (ANSI). */
|
||||
{ 5, "SIGTRAP", NULL }, /* Trace trap (POSIX). */
|
||||
{ 6, "SIGABRT", NULL }, /* Abort (ANSI). */
|
||||
{ 7, "SIGBUS", NULL }, /* BUS error (4.2 BSD). */
|
||||
{ 8, "SIGFPE", NULL }, /* Floating-point exception (ANSI). */
|
||||
{ 9, "SIGKILL", NULL }, /* Kill, unblockable (POSIX). */
|
||||
{ 10, "SIGUSR1", NULL }, /* User-defined signal 1 (POSIX). */
|
||||
{ 11, "SIGSEGV", NULL }, /* Segmentation violation (ANSI). */
|
||||
{ 12, "SIGUSR2", NULL }, /* User-defined signal 2 (POSIX). */
|
||||
{ 13, "SIGPIPE", NULL }, /* Broken pipe (POSIX). */
|
||||
{ 14, "SIGALRM", NULL }, /* Alarm clock (POSIX). */
|
||||
{ 15, "SIGTERM", NULL }, /* Termination (ANSI). */
|
||||
{ 16, "SIGSTKFLT", NULL }, /* ??? */
|
||||
{ 17, "SIGCHLD", NULL }, /* Child status has changed (POSIX). */
|
||||
{ 18, "SIGCONT", NULL }, /* Continue (POSIX). */
|
||||
{ 19, "SIGSTOP", NULL }, /* Stop, unblockable (POSIX). */
|
||||
{ 20, "SIGTSTP", NULL }, /* Keyboard stop (POSIX). */
|
||||
{ 21, "SIGTTIN", NULL }, /* Background read from tty (POSIX). */
|
||||
{ 22, "SIGTTOU", NULL }, /* Background write to tty (POSIX). */
|
||||
{ 23, "SIGURG", NULL }, /* Urgent condition on socket (4.2 BSD). */
|
||||
{ 24, "SIGXCPU", NULL }, /* CPU limit exceeded (4.2 BSD). */
|
||||
{ 25, "SIGXFSZ", NULL }, /* File size limit exceeded (4.2 BSD). */
|
||||
{ 26, "SIGVTALRM", NULL }, /* Virtual alarm clock (4.2 BSD). */
|
||||
{ 27, "SIGPROF", NULL }, /* Profiling alarm clock (4.2 BSD). */
|
||||
{ 28, "SIGWINCH", NULL }, /* Window size change (4.3 BSD, Sun). */
|
||||
{ 29, "SIGIO", NULL }, /* I/O now possible (4.2 BSD). */
|
||||
{ 30, "SIGPWR", NULL }, /* Power failure restart (System V). */
|
||||
{ 31, "SIGUNUSED", NULL },
|
||||
{ 0, NULL, NULL },
|
||||
};
|
||||
|
||||
void
|
||||
_glibtop_open_sysdeps (glibtop *server, const char *program_name,
|
||||
const unsigned long features, const unsigned flags)
|
||||
|
@@ -27,6 +27,11 @@
|
||||
#include <glibtop/open.h>
|
||||
#include <glibtop/backend.h>
|
||||
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 0, NULL, NULL } };
|
||||
|
||||
void
|
||||
_glibtop_open_sysdeps (glibtop *server, const char *program_name,
|
||||
const unsigned long features, const unsigned flags)
|
||||
|
@@ -27,6 +27,11 @@
|
||||
#include <glibtop/open.h>
|
||||
#include <glibtop/backend.h>
|
||||
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 0, NULL, NULL } };
|
||||
|
||||
void
|
||||
_glibtop_open_sysdeps (glibtop *server, const char *program_name,
|
||||
const unsigned long features, const unsigned flags)
|
||||
|
@@ -27,6 +27,11 @@
|
||||
#include <glibtop/open.h>
|
||||
#include <glibtop/backend.h>
|
||||
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 0, NULL, NULL } };
|
||||
|
||||
void
|
||||
_glibtop_open_sysdeps (glibtop *server, const char *program_name,
|
||||
const unsigned long features, const unsigned flags)
|
||||
|
@@ -27,6 +27,11 @@
|
||||
#include <glibtop/open.h>
|
||||
#include <glibtop/backend.h>
|
||||
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 0, NULL, NULL } };
|
||||
|
||||
void
|
||||
_glibtop_open_sysdeps (glibtop *server, const char *program_name,
|
||||
const unsigned long features, const unsigned flags)
|
||||
|
@@ -4,7 +4,7 @@ INCLUDES = @INCLUDES@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_sysdeps.la libgtop_sysdeps_suid.la
|
||||
|
||||
libgtop_sysdeps_la_SOURCES = nosuid.c siglist.c
|
||||
libgtop_sysdeps_la_SOURCES = nosuid.c
|
||||
|
||||
libgtop_sysdeps_la_LDFLAGS = $(LT_VERSION_INFO)
|
||||
|
||||
|
@@ -1,30 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
|
||||
/* $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 <glibtop.h>
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 0, NULL, NULL } };
|
@@ -10,9 +10,8 @@ libgtop_sysdeps_la_SOURCES = open.c close.c cpu.c mem.c swap.c \
|
||||
uptime.c loadavg.c shm_limits.c msg_limits.c \
|
||||
sem_limits.c proclist.c procstate.c procuid.c \
|
||||
proctime.c procmem.c procsignal.c prockernel.c \
|
||||
procsegment.c procargs.c procmap.c siglist.c \
|
||||
sysinfo.c interfaces.c netinfo.c netload.c \
|
||||
ppp.c
|
||||
procsegment.c procargs.c procmap.c sysinfo.c \
|
||||
interfaces.c netinfo.c netload.c ppp.c
|
||||
libgtop_sysdeps_la_LIBADD = @GLIB_LIBS@
|
||||
|
||||
libgtop_sysdeps_la_LDFLAGS = $(LT_VERSION_INFO) -export-dynamic
|
||||
|
@@ -1,62 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
|
||||
/* $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 <glibtop.h>
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 1, "SIGHUP", NULL }, /* Hangup (POSIX). */
|
||||
{ 2, "SIGINT", NULL }, /* Interrupt (ANSI). */
|
||||
{ 3, "SIGQUIT", NULL }, /* Quit (POSIX). */
|
||||
{ 4, "SIGILL", NULL }, /* Illegal instruction (ANSI). */
|
||||
{ 5, "SIGTRAP", NULL }, /* Trace trap (POSIX). */
|
||||
{ 6, "SIGABRT", NULL }, /* Abort (ANSI). */
|
||||
{ 7, "SIGBUS", NULL }, /* BUS error (4.2 BSD). */
|
||||
{ 8, "SIGFPE", NULL }, /* Floating-point exception (ANSI). */
|
||||
{ 9, "SIGKILL", NULL }, /* Kill, unblockable (POSIX). */
|
||||
{ 10, "SIGUSR1", NULL }, /* User-defined signal 1 (POSIX). */
|
||||
{ 11, "SIGSEGV", NULL }, /* Segmentation violation (ANSI). */
|
||||
{ 12, "SIGUSR2", NULL }, /* User-defined signal 2 (POSIX). */
|
||||
{ 13, "SIGPIPE", NULL }, /* Broken pipe (POSIX). */
|
||||
{ 14, "SIGALRM", NULL }, /* Alarm clock (POSIX). */
|
||||
{ 15, "SIGTERM", NULL }, /* Termination (ANSI). */
|
||||
{ 16, "SIGSTKFLT", NULL }, /* ??? */
|
||||
{ 17, "SIGCHLD", NULL }, /* Child status has changed (POSIX). */
|
||||
{ 18, "SIGCONT", NULL }, /* Continue (POSIX). */
|
||||
{ 19, "SIGSTOP", NULL }, /* Stop, unblockable (POSIX). */
|
||||
{ 20, "SIGTSTP", NULL }, /* Keyboard stop (POSIX). */
|
||||
{ 21, "SIGTTIN", NULL }, /* Background read from tty (POSIX). */
|
||||
{ 22, "SIGTTOU", NULL }, /* Background write to tty (POSIX). */
|
||||
{ 23, "SIGURG", NULL }, /* Urgent condition on socket (4.2 BSD). */
|
||||
{ 24, "SIGXCPU", NULL }, /* CPU limit exceeded (4.2 BSD). */
|
||||
{ 25, "SIGXFSZ", NULL }, /* File size limit exceeded (4.2 BSD). */
|
||||
{ 26, "SIGVTALRM", NULL }, /* Virtual alarm clock (4.2 BSD). */
|
||||
{ 27, "SIGPROF", NULL }, /* Profiling alarm clock (4.2 BSD). */
|
||||
{ 28, "SIGWINCH", NULL }, /* Window size change (4.3 BSD, Sun). */
|
||||
{ 29, "SIGIO", NULL }, /* I/O now possible (4.2 BSD). */
|
||||
{ 30, "SIGPWR", NULL }, /* Power failure restart (System V). */
|
||||
{ 31, "SIGUNUSED", NULL },
|
||||
{ 0, NULL, NULL },
|
||||
};
|
@@ -4,7 +4,7 @@ INCLUDES = @INCLUDES@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_sysdeps.la libgtop_sysdeps_suid.la
|
||||
|
||||
libgtop_sysdeps_la_SOURCES = open.c close.c siglist.c cpu.c mem.c swap.c \
|
||||
libgtop_sysdeps_la_SOURCES = open.c close.c cpu.c mem.c swap.c \
|
||||
uptime.c loadavg.c shm_limits.c msg_limits.c \
|
||||
sem_limits.c ppp.c
|
||||
libgtop_sysdeps_la_LDFLAGS = $(LT_VERSION_INFO)
|
||||
|
@@ -1,62 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
|
||||
/* $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 <glibtop.h>
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 1, "SIGHUP", N_("Hangup") },
|
||||
{ 2, "SIGINT", N_("Interrupt") },
|
||||
{ 3, "SIGQUIT", N_("Quit") },
|
||||
{ 4, "SIGILL", N_("Illegal instruction") },
|
||||
{ 5, "SIGTRAP", N_("Trace trap") },
|
||||
{ 6, "SIGABRT", N_("Abort") },
|
||||
{ 7, "SIGEMT", N_("EMT error") },
|
||||
{ 8, "SIGFPE", N_("Floating-point exception") },
|
||||
{ 9, "SIGKILL", N_("Kill") },
|
||||
{ 10, "SIGBUS", N_("Bus error") },
|
||||
{ 11, "SIGSEGV", N_("Segmentation violation") },
|
||||
{ 12, "SIGSYS", N_("Bad argument to system call") },
|
||||
{ 13, "SIGPIPE", N_("Broken pipe") },
|
||||
{ 14, "SIGALRM", N_("Alarm clock") },
|
||||
{ 15, "SIGTERM", N_("Termination") },
|
||||
{ 16, "SIGURG", N_("Urgent condition on socket") },
|
||||
{ 17, "SIGSTOP", N_("Stop") },
|
||||
{ 18, "SIGTSTP", N_("Keyboard stop") },
|
||||
{ 19, "SIGCONT", N_("Continue") },
|
||||
{ 20, "SIGCHLD", N_("Child status has changed") },
|
||||
{ 21, "SIGTTIN", N_("Background read from tty") },
|
||||
{ 22, "SIGTTOU", N_("Background write to tty") },
|
||||
{ 23, "SIGIO", N_("I/O now possible") },
|
||||
{ 24, "SIGXCPU", N_("CPU limit exceeded") },
|
||||
{ 25, "SIGXFSZ", N_("File size limit exceeded") },
|
||||
{ 26, "SIGVTALRM", N_("Virtual alarm clock") },
|
||||
{ 27, "SIGPROF", N_("Profiling alarm clock") },
|
||||
{ 28, "SIGWINCH", N_("Window size change") },
|
||||
{ 29, "SIGINFO", N_("Information request") },
|
||||
{ 30, "SIGUSR1", N_("User defined signal 1") },
|
||||
{ 31, "SIGUSR2", N_("User defined signal 2") },
|
||||
{ 0, NULL, NULL },
|
||||
};
|
@@ -4,7 +4,7 @@ INCLUDES = @INCLUDES@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_sysdeps.la libgtop_sysdeps_suid.la
|
||||
|
||||
libgtop_sysdeps_la_SOURCES = open.c close.c siglist.c cpu.c mem.c \
|
||||
libgtop_sysdeps_la_SOURCES = open.c close.c cpu.c mem.c \
|
||||
safeio.c swap.c uptime.c loadavg.c \
|
||||
proclist.c procstate.c procuid.c \
|
||||
proctime.c procmem.c procsignal.c \
|
||||
|
@@ -1,76 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
|
||||
/* $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 <glibtop.h>
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 1, "SIGHUP", "Hangup" },
|
||||
{ 2, "SIGINT", "Interrupt" },
|
||||
{ 3, "SIGQUIT", "Quit" },
|
||||
{ 4, "SIGILL", "Illegal Instruction" },
|
||||
{ 5, "SIGTRAP", "Trace/Breakpoint Trap" },
|
||||
{ 6, "SIGABRT", "Abort" },
|
||||
{ 7, "SIGEMT", "Emulation Trap" },
|
||||
{ 8, "SIGFPE", "Arithmetic Exception" },
|
||||
{ 9, "SIGKILL", "Killed" },
|
||||
{ 10, "SIGBUS", "Bus Error" },
|
||||
{ 11, "SIGSEGV", "Segmentation Fault" },
|
||||
{ 12, "SIGSYS", "Bad System Call" },
|
||||
{ 13, "SIGPIPE", "Broken Pipe" },
|
||||
{ 14, "SIGALRM", "Alarm Clock" },
|
||||
{ 15, "SIGTERM", "Terminated" },
|
||||
{ 16, "SIGUSR1", "User Signal 1" },
|
||||
{ 17, "SIGUSR2", "User Signal 2" },
|
||||
{ 18, "SIGCHLD", "Child Status Changed" },
|
||||
{ 19, "SIGPWR", "Power-Fail/Restart" },
|
||||
{ 20, "SIGWINCH","Window Size Change" },
|
||||
{ 21, "SIGURG", "Urgent Socket Condition" },
|
||||
{ 22, "SIGPOLL", "Pollable Event" },
|
||||
{ 23, "SIGSTOP", "Stoped (signal)" },
|
||||
{ 24, "SIGTSTP", "Stopped (user)" },
|
||||
{ 25, "SIGCONT", "Continued" },
|
||||
{ 26, "SIGTTIN", "Stopped (tty input)" },
|
||||
{ 27, "SIGTTOU", "Stopped (tty output)" },
|
||||
{ 28, "SIGVTALRM","Virtual Timer Expired" },
|
||||
{ 29, "SIGPROF", "Profiling Timer Expired" },
|
||||
{ 30, "SIGXCPU", "Cpu Limit Exceeded" },
|
||||
{ 31, "SIGXFSZ", "File Size Limit Exceeded" },
|
||||
{ 32, "SIGWAITING","No runnable lwp" },
|
||||
{ 33, "SIGLWP", "Inter-lwp signal" },
|
||||
{ 34, "SIGFREEZE","Checkpoint Freeze" },
|
||||
{ 35, "SIGTHAW", "Checkpoint Thaw" },
|
||||
{ 36, "SIGCANCEL","Thread Cancelation" },
|
||||
{ 37, "SIGLOST", "Resource Lost" },
|
||||
{ 38, "SIGRTMIN","First Realtime Signal" },
|
||||
{ 39, "SIGRTMIN+1", "Second Realtime Signal" },
|
||||
{ 40, "SIGRTMIN+2", "Third Realtime Signal" },
|
||||
{ 41, "SIGRTMIN+3", "Fourth Realtime Signal" },
|
||||
{ 42, "SIGRTMAX-3", "Fourth Last Realtime Signal" },
|
||||
{ 43, "SIGRTMAX-2", "Third Last Realtime Signal" },
|
||||
{ 44, "SIGRTMAX-1", "Second Last Realtime Signal" },
|
||||
{ 45, "SIGRTMAX", "Last Realtime Signal" },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
@@ -4,7 +4,7 @@ INCLUDES = @INCLUDES@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_sysdeps.la
|
||||
|
||||
libgtop_sysdeps_la_SOURCES = open.c close.c siglist.c cpu.c mem.c swap.c \
|
||||
libgtop_sysdeps_la_SOURCES = open.c close.c cpu.c mem.c swap.c \
|
||||
uptime.c loadavg.c shm_limits.c msg_limits.c \
|
||||
sem_limits.c proclist.c procstate.c procuid.c \
|
||||
proctime.c procmem.c procsignal.c prockernel.c \
|
||||
|
@@ -1,30 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
|
||||
/* $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 <glibtop.h>
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 0, NULL, NULL } };
|
@@ -4,7 +4,7 @@ INCLUDES = @INCLUDES@
|
||||
|
||||
lib_LTLIBRARIES = libgtop_sysdeps.la libgtop_sysdeps_suid.la
|
||||
|
||||
libgtop_sysdeps_la_SOURCES = nosuid.c siglist.c
|
||||
libgtop_sysdeps_la_SOURCES = nosuid.c
|
||||
|
||||
libgtop_sysdeps_la_LDFLAGS = $(LT_VERSION_INFO)
|
||||
|
||||
|
@@ -1,30 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
|
||||
/* $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 <glibtop.h>
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 0, NULL, NULL } };
|
@@ -1,62 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||
|
||||
/* $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 <glibtop.h>
|
||||
#include <glibtop/signal.h>
|
||||
|
||||
const glibtop_signame glibtop_sys_siglist [] =
|
||||
{ { 1, "SIGHUP", N_("Hangup") },
|
||||
{ 2, "SIGINT", N_("Interrupt") },
|
||||
{ 3, "SIGQUIT", N_("Quit") },
|
||||
{ 4, "SIGILL", N_("Illegal instruction") },
|
||||
{ 5, "SIGTRAP", N_("Trace trap") },
|
||||
{ 6, "SIGABRT", N_("Abort") },
|
||||
{ 7, "SIGEMT", N_("EMT error") },
|
||||
{ 8, "SIGFPE", N_("Floating-point exception") },
|
||||
{ 9, "SIGKILL", N_("Kill") },
|
||||
{ 10, "SIGBUS", N_("Bus error") },
|
||||
{ 11, "SIGSEGV", N_("Segmentation violation") },
|
||||
{ 12, "SIGSYS", N_("Bad argument to system call") },
|
||||
{ 13, "SIGPIPE", N_("Broken pipe") },
|
||||
{ 14, "SIGALRM", N_("Alarm clock") },
|
||||
{ 15, "SIGTERM", N_("Termination") },
|
||||
{ 16, "SIGURG", N_("Urgent condition on socket") },
|
||||
{ 17, "SIGSTOP", N_("Stop") },
|
||||
{ 18, "SIGTSTP", N_("Keyboard stop") },
|
||||
{ 19, "SIGCONT", N_("Continue") },
|
||||
{ 20, "SIGCHLD", N_("Child status has changed") },
|
||||
{ 21, "SIGTTIN", N_("Background read from tty") },
|
||||
{ 22, "SIGTTOU", N_("Background write to tty") },
|
||||
{ 23, "SIGIO", N_("I/O now possible") },
|
||||
{ 24, "SIGXCPU", N_("CPU limit exceeded") },
|
||||
{ 25, "SIGXFSZ", N_("File size limit exceeded") },
|
||||
{ 26, "SIGVTALRM", N_("Virtual alarm clock") },
|
||||
{ 27, "SIGPROF", N_("Profiling alarm clock") },
|
||||
{ 28, "SIGWINCH", N_("Window size change") },
|
||||
{ 29, "SIGINFO", N_("Information request") },
|
||||
{ 30, "SIGUSR1", N_("User defined signal 1") },
|
||||
{ 31, "SIGUSR2", N_("User defined signal 2") },
|
||||
{ 0, NULL, NULL },
|
||||
};
|
Reference in New Issue
Block a user