Created
November 25, 2025 11:50
-
-
Save szepeviktor/2f23726aeecf3655abc473160514e1e3 to your computer and use it in GitHub Desktop.
Monitoring CPU load on cPanel hosting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| while :; do ps -u $USER -o pcpu= | awk '{sum+=$1} END {printf("%4.0f\n", sum)}'; sleep 1; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment