#!/bin/bash ps aux | grep -v "grep" | grep -v "bash" | awk '{print $2, $3, $11, $10}' | sort -k3 -nr > system_monitoring.txt