Help for this page

Select Code to Download


  1. or download this
    ...
         -w      Use 132 columns to display information, instead of the de
    +fault
    ...
                 than once, ps will use as many columns as necessary witho
    +ut
                 regard for your window size.
    ...
    
  2. or download this
    open(PS_F, "ps -auwwx | grep inder |") || die "Can't open console\n";
    while (<PS_F>) {
    ...
    }
    close(PS_F);
    
  3. or download this
    $ perl ps.pl
    /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder -psn_0_9
    +17505 
    sh -c ps
    grep inder
    
  4. or download this
    $/  =  q#(\w)#  ;  sub  sig { print scalar reverse  join  ' ',  @_  } 
    + sig
    map { s$\$/\$/$\$2\$1$g && $_ } split( ' ', ",erckha rlPe erthnoa stJu
    +" );