Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        next unless $p->cmndline =~ m{/Applications/iTerm.app/Contents/Mac
    +OS/iTerm2};
        say sprintf('%s : %s : %s', @{ $p }{qw/uid pid cmndline/});
    }
    
  2. or download this
    $ perl 11108686.pl
    
    501 : 608 : /Applications/iTerm.app/Contents/MacOS/iTerm2
    501 : 610 : /Applications/iTerm.app/Contents/MacOS/iTerm2 --server log
    +in -fp 1nickt
    501 : 7264 : /Applications/iTerm.app/Contents/MacOS/iTerm2 --server lo
    +gin -fp 1nickt