SHARE
TWEET

Untitled

a guest Sep 13th, 2012 19 Never
  1. $ zsh -c "ps aux | tee >(grep syslog) | awk 'NR == 1'"
  2. USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
  3. root       954  0.0  0.0  30180   476 ?        Ssl  Sep01   0:02 /sbin/rsyslogd -n -c 5
  4. k         5479  0.0  0.0   4624   784 pts/0    S+   16:32   0:00 grep syslog
  5. $ bash -c "ps aux | tee >(grep syslog) | awk 'NR == 1'"
  6. USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
  7. $
RAW Paste Data
Top