PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /proc/thread-self/root/proc/self/root/proc/self/root/opt/sharedrads/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //proc/thread-self/root/proc/self/root/proc/self/root/opt/sharedrads/check_misc

#!/bin/bash

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

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

echo;echo "Checking for File Transfers"
separatorbar
ps auwx | egrep "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 }' | egrep -v "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 }' | egrep -v "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 }' | egrep -v "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)