Fixed, valid for Solaris 2.6 & 7.

* siglist.c: Fixed, valid for Solaris 2.6 & 7.
This commit is contained in:
Drazen Kacar
1999-05-06 20:44:01 +00:00
parent d67182f411
commit b252a80b7e
2 changed files with 46 additions and 34 deletions

View File

@@ -1,3 +1,7 @@
1999-05-06 Drazen Kacar <dave@srce.hr>
* siglist.c: Fixed, valid for Solaris 2.6 & 7.
1999-05-06 Drazen Kacar <dave@srce.hr> 1999-05-06 Drazen Kacar <dave@srce.hr>
* glibtop_private.h, procuid.c, procdata.c: List of supplementary * glibtop_private.h, procuid.c, procdata.c: List of supplementary

View File

@@ -24,44 +24,52 @@
#include <glibtop.h> #include <glibtop.h>
#include <glibtop/signal.h> #include <glibtop/signal.h>
static const glibtop_signame glibtop_sys_siglist [] = const glibtop_signame glibtop_sys_siglist [] =
{ { 1, "SIGHUP", "Hangup" }, { { 1, "SIGHUP", "Hangup" },
{ 2, "SIGINT", "Interrupt" }, { 2, "SIGINT", "Interrupt" },
{ 3, "SIGQUIT", "Quit" }, { 3, "SIGQUIT", "Quit" },
{ 4, "SIGILL", "Illegal instruction" }, { 4, "SIGILL", "Illegal Instruction" },
{ 5, "SIGTRAP", "Trace or breakpoint trap" }, { 5, "SIGTRAP", "Trace/Breakpoint Trap" },
{ 6, "SIGABRT", "Abort" }, { 6, "SIGABRT", "Abort" },
{ 7, "SIGEMT", "Emulation trap" }, { 7, "SIGEMT", "Emulation Trap" },
{ 8, "SIGFPE", "Arithmetic exception" }, { 8, "SIGFPE", "Arithmetic Exception" },
{ 9, "SIGKILL", "Kill" }, { 9, "SIGKILL", "Killed" },
{ 10, "SIGBUS", "Bus error" }, { 10, "SIGBUS", "Bus Error" },
{ 11, "SIGSEGV", "Segmentation fault" }, { 11, "SIGSEGV", "Segmentation Fault" },
{ 12, "SIGSYS", "Bad system call" }, { 12, "SIGSYS", "Bad System Call" },
{ 13, "SIGPIPE", "Broken pipe" }, { 13, "SIGPIPE", "Broken Pipe" },
{ 14, "SIGALRM", "Alarm clock" }, { 14, "SIGALRM", "Alarm Clock" },
{ 15, "SIGTERM", "Terminate" }, { 15, "SIGTERM", "Terminated" },
{ 16, "SIGUSR1", "User signal 1" }, { 16, "SIGUSR1", "User Signal 1" },
{ 17, "SIGUSR2", "User signal 2" }, { 17, "SIGUSR2", "User Signal 2" },
{ 18, "SIGCHLD", "Child status changed" }, { 18, "SIGCHLD", "Child Status Changed" },
{ 19, "SIGPWR", "Power fail or restart" }, { 19, "SIGPWR", "Power-Fail/Restart" },
{ 20, "SIGWINCH","Window size change" }, { 20, "SIGWINCH","Window Size Change" },
{ 21, "SIGURG", "Urgent socket condition" }, { 21, "SIGURG", "Urgent Socket Condition" },
{ 22, "SIGPOLL", "Pollable event" }, { 22, "SIGPOLL", "Pollable Event" },
{ 23, "SIGSTOP", "Stop (cannot be ignored)" }, { 23, "SIGSTOP", "Stoped (signal)" },
{ 24, "SIGTSTP", "User stop requested from tty" }, { 24, "SIGTSTP", "Stopped (user)" },
{ 25, "SIGCONT", "Continue" }, { 25, "SIGCONT", "Continued" },
{ 26, "SIGTTIN", "Background tty read attempted" }, { 26, "SIGTTIN", "Stopped (tty input)" },
{ 27, "SIGTTOU", "Background tty write attempted" }, { 27, "SIGTTOU", "Stopped (tty output)" },
{ 28, "SIGVTALRM","Virtual timer expired" }, { 28, "SIGVTALRM","Virtual Timer Expired" },
{ 29, "SIGPROF", "Profiling timer expired" }, { 29, "SIGPROF", "Profiling Timer Expired" },
{ 30, "SIGXCPU", "CPU time limit exceeded" }, { 30, "SIGXCPU", "Cpu Limit Exceeded" },
{ 31, "SIGXFSZ", "File size limit exceeded" }, { 31, "SIGXFSZ", "File Size Limit Exceeded" },
{ 32, "SIGWAITING","process' lwps are blocked" }, { 32, "SIGWAITING","No runnable lwp" },
{ 33, "SIGLWP", "Inter-LWP signal reserved by threads library" }, { 33, "SIGLWP", "Inter-lwp signal" },
{ 34, "SIGFREEZE","Check point freeze" }, { 34, "SIGFREEZE","Checkpoint Freeze" },
{ 35, "SIGTHAW", "Check point thaw" }, { 35, "SIGTHAW", "Checkpoint Thaw" },
{ 36, "SIGCANCEL","Cancelation signal reserved by threads library" }, { 36, "SIGCANCEL","Thread Cancelation" },
{ 37, "SIGLOST", "Resource lost" }, { 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 } { 0, NULL, NULL }
}; };