-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Yes, you right.

But I think it depends on what shell we are using.

For example:

su -l to root with csh shell:

# kill -l
HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG
STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH INFO USR1 USR2

and my normal login with a bash shell:

[admin@ admin]$ kill -l
 1) SIGHUP       2) SIGINT       3) SIGQUIT      4) SIGILL
 5) SIGTRAP      6) SIGABRT      7) SIGEMT       8) SIGFPE
 9) SIGKILL     10) SIGBUS      11) SIGSEGV     12) SIGSYS
13) SIGPIPE     14) SIGALRM     15) SIGTERM     16) SIGURG
17) SIGSTOP     18) SIGTSTP     19) SIGCONT     20) SIGCHLD
21) SIGTTIN     22) SIGTTOU     23) SIGIO       24) SIGXCPU
25) SIGXFSZ     26) SIGVTALRM   27) SIGPROF     28) SIGWINCH
29) SIGINFO     30) SIGUSR1     31) SIGUSR2

Why it works like that?

Thanks,

- --
Nuno Teixeira
Dir. Técnico
pt-quorum.com

On Sun, 15 Jul 2001, Charles Clark wrote:

>
> > I should make this question on freebsd-newbies!
>
> Probably :)
>
> look here for a list of all signals and their numbers:
>
>     /usr/include/sys/signal.h
>
> > On Sun, 15 Jul 2001, Tom wrote:
> >
> > >   "kill -l" lists all the signals and signal numbers.
>
> actually it doesn't, it just lists the signals. it does list
> them in order, so if you start counting at 1 you can figure it
> out. Also you can "kill -l 30" and find that 30 is usr1, but
> there is no quick way to do the reverse, ie to map usr1 to 30,
> other than a "grep USR1" from the above signal.h file.
>
> BTW, many of these numbers, especially the ones above 15, are
> different on other unices. For instance on Solaris, SIGUSR1 is
> 16.
>
> --
> cmc
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: Made with pgp4pine 1.76

iD8DBQE7U04KjwdyCmOgT8cRAiQDAKDAJjybqY9Cuh+BAvVsXXO19RRVPQCfZpJw
7AeBvo0D1vt0n3GpQ10R7Q0=
=5uSM
-----END PGP SIGNATURE-----



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to