Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.28 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. bash, nested commands and redirects
  2. top -b -d 1 | grep myprocess.exe
  3.        
  4. top -b -d 1 | grep myprocess.exe > output.log
  5.        
  6. previous_pipeline | tee output.log
  7.        
  8. top -b -d 1 | grep myprocess.exe | tee output.log
  9.        
  10. top -b -d 1 | grep myprocess.exe | tee output.log > /dev/null