[SOLVED] PS and TITLE Row
by salmanahmed from LinuxQuestions.org on (#59FFW)
Hi
When I use 'ps aux' it gives information about all processes with proper TITLES in first row, i.e.
Code:USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMANDAnd I can identify that which row contain which info. However, when I combine it with 'grep', for example (ps aux | grep bash), then 'ps' does not show that TITLE ROW. So, how can I make this TITLE row appear when I combine 'ps' with 'grep'? Thanks


When I use 'ps aux' it gives information about all processes with proper TITLES in first row, i.e.
Code:USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMANDAnd I can identify that which row contain which info. However, when I combine it with 'grep', for example (ps aux | grep bash), then 'ps' does not show that TITLE ROW. So, how can I make this TITLE row appear when I combine 'ps' with 'grep'? Thanks