Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $pobj = Unix::PID->new;
    
    print join(' ',$pobj->get_pidof($cmd)),"\n";
    
  2. or download this
    
    ivor@orinoco:~$ kill -19 `findpids --command btdownloadgui`
    ...
    [8]   Stopped                 nice btdownloadgui --saveas ${fil%.torre
    +nt} $torrent  (wd: ~)
    [9]-  Stopped                 nice btdownloadgui --saveas ${fil%.torre
    +nt} $torrent  (wd: ~)
    
  3. or download this
    ivor@orinoco:~$ kill -18 `findpids --command btdownloadgui`