I want to see a summary of all 'php-fpm' processes, regardless of the user running them.
As I understand from
man ps, it normally only looks at processes your current user started in a terminal. So
ps -C php-fpm never yields any results. However the man page seems to suggest that the only way to lift the restrictions is by using something like
ax but that this adds all processes in to the results, as well as any that match the filters.
Is the only way to do a big ps then use grep? I'm sure I must have missed something?
I'm using Debian Linux's ps which, according to the man page, confirms to:
- Version 2 of the Single Unix Specification
- The Open Group Technical Standard Base Specifications, Issue 6
- IEEE Std 1003.1, 2004 Edition
- X/Open System Interfaces Extension [UP XSI]
- ISO/IEC 9945:2003