Re: Meaning of: kill -USR2



On Fri, 31 Aug 2007 10:24:47 -0700 (PDT)
White Hat <pigskin_referee@xxxxxxxxx> wrote:

I have seen 'kill -USR2' used in some scripts;
however, I am unable to find out exactly what it is
referring to. The man page for 'kill' does not list
any 'USR2' flag or signal, unless I am reading it
incorrectly.

Perhaps, someone can tell me exactly what this signal
means.

SIGUSR1 and SIGUSR2 are signals that don't have any predefined meaning.
You can use them for based inter-process communication.

See:
man 3 signal
http://en.wikipedia.org/wiki/SIGUSR1_and_SIGUSR2


Jona

--
"I am chaos. I am the substance from which your artists and scientists
build rhythms. I am the spirit with which your children and clowns
laugh in happy anarchy. I am chaos. I am alive, and tell you that you
are free." Eris, Goddess Of Chaos, Discord & Confusion
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Speed limit vigilante sent to jail
    ... change lanes. ... I'll be the guy using hand signals. ... of way at random times to you. ... Chaos results when people start TAKING the lane without warning. ...
    (rec.autos.driving)
  • Re: Design Questions on Termination
    ... but SIGUSR1 is designed for applications ... POSIX requires that the standard POSIX signals be available to applications. ... but what about OpenVMS or the Win32 "pthread" library, which don't have real UNIX signals at all? ...
    (comp.programming.threads)
  • [PATCH 1/2] fix stop signal race
    ... CPU processes a SIGCONT or SIGKILL. ... checks for this case explicitly by looking for a pending SIGCONT or SIGKILL ... last time all pending stop signals were cleared due to SIGCONT/SIGKILL. ... The processing of stop signals checks the flag after the window where it ...
    (Linux-Kernel)
  • Re: Signals, threads and the use of SIGUSR1
    ... > thread waiting for one of these signals whose task is to logically stop ... > the other threads and terminate. ... > 'SIGUSR1' to the thread above and the application normally ends. ...
    (comp.unix.programmer)
  • Re: exception handling around a signal handler
    ... Use a flag. ... check it in the 'main' loop communicating with the child process. ... I have not done any thread handling, but would the main thread not ... given by the second thread handling signals? ...
    (comp.unix.programmer)