Results 11 to 13 of 13
But why would you use ax instead of -A if grepping? Since -A doesn't display the arguments, grep won't match itself. I prefer ps -Alw or ps -AH for most ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-25-2002 #11Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
But why would you use ax instead of -A if grepping? Since -A doesn't display the arguments, grep won't match itself. I prefer ps -Alw or ps -AH for most of my ps usage. ps -Al | sort +9n is a favorite of mine.
- 12-26-2002 #12Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
ok, slight ditto on the grep..
I also pass 99% of my ps calls to grep, but i just do
ps -A | grep
because i dont usually care who is running it, but the aux options may be what wassy needed because he may have cared who was running whatmajorwoo
Quiet brain, or I\'ll stab you with a Q-tip.
- 12-26-2002 #13Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
It still seems wrong to explicitly first select all processes with tty and then all without tty. I'd use "ps -A u" even though it's one character longer. Of course, ps aux is easier to write fast. That does speak in favor of it.


Reply With Quote
