Server IP : 104.244.120.118  /  Your IP : 216.73.216.198
Web Server : Apache
System : Linux ded5817.inmotionhosting.com 5.14.0-741.22.1.el9_9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 12 14:34:46 UTC 2026 x86_64
User : persoanlinjuryla ( 1006)
PHP Version : 8.5.13
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0555) :  /../../opt/dedrads/python/../python/../python/../python/../python/../perl/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //../../opt/dedrads/python/../python/../python/../python/../python/../perl/../check_misc
#!/usr/bin/bash

function separatorbar {
	echo "========================================================================================="
}

echo;echo "Checking for Running Backups, gzip, and tar processes"
separatorbar
ps auwx | grep -E "tar |gzip |cpbackup|gtar" | grep -v grep

echo;echo "Checking for File Transfers"
separatorbar
ps auwx | grep -E "rsync |scp |wget |lynx |curl" |grep -vE "grep|root@10.127"

echo;echo "Checking FTP Traffic (look for multiple transfer with high Kb/Mb/sec)"
separatorbar
pure-ftpwho -Hs|grep -v old/oldIDLE|awk -F"|" {'print $12"kb/s\t"$2"\t"$4" FILE: "$5'}|sort -nk1

echo;echo "Checking most expensive processes"
separatorbar
ps auxw |sort -r -nk3|head -5

echo;echo "Checking for hung processes (excludes imap, gam_server, potentially includes http)"
separatorbar
ps auwx | awk '{if($1 ~ /[a-z]+[0-9]+/ &&  $9 ~ /[A-Z]+.*/ )print }' | grep -Ev "gam_server|/usr/lib/courier-imap/bin/imapd"
if [ -f /etc/cpanel/ea4/is_ea4 ]; then
    ps auwx | awk '{if($1 ~ /nobody/ &&  $9 ~ /[A-Z]+.*/ && ! $11 == "/usr/sbin/httpd" )print }' | grep -Ev "gam_server|/usr/lib/courier-imap/bin/imapd"
else
    ps auwx | awk '{if($1 ~ /nobody/ &&  $9 ~ /[A-Z]+.*/ && ! $11 == "/usr/local/apache/bin/httpd" )print }' | grep -Ev "gam_server|/usr/lib/courier-imap/bin/imapd"
fi

echo
echo " Highest CPU consuming httpd process and its child processes"
separatorbar
ps aux | grep httpd | sort -nk3 | awk '{print $2}' | tail -1 | xargs -i awk '/{}/ {f=NR} f && NR==f+2' <(check_apache --statusfull)