When hosts run excessive processes, performance and resources may degrade. This playbook aids in identifying processes, analyzing their resource consumption, and detecting any misbehaving processes, such as forkbombs, which could lead to system limits being reached.
ulimit -u
ps aux --sort=-%mem | head
ps -e | wc -l
pstree -p