3 ms·
My suggestion is maybe not a tool that is ignored, but vast majority of its options: /bin/ps from procps (Linux-specific). I constantly see people blindly typi
by dozzie 10y ago
My suggestion is maybe not a tool that is ignored, but vast majority of its
options: /bin/ps from procps (Linux-specific).
I constantly see people blindly typing `ps aux', `ps eax', or `ps -Af' and
grepping through the results. This is stupid. ps has so many process
selection options, including command name (I regularly use -u, -C, -p, --ppid,
and -t).
The other aspect is its output formatting. Again, so many fields can be
chosen, fine-tuned for either ease of processing or displaying on the screen,
but people tend to stick to `x' or `-f' formats for no good reason at all,
relying instead on text processing after ps has done its job.