Help for this page

Select Code to Download


  1. or download this
    Tcpdump will, if not run with the -c flag, continue capturing packets 
    +until it is interrupted by a SIGINT signal (generated, for example, b
    +y typing your interrupt character, typically control-C) or a SIGTERM 
    +signal (typically generated with the kill(1) command); if run with th
    +e -c flag, it will capture packets until it is interrupted by a SIGIN
    +T or SIGTERM signal or the specified number of packets have been proc
    +essed.
    
  2. or download this
     $SIG{'FOO'} = sub { do_foo; };