|
Server : Apache System : Linux ecngx264.inmotionhosting.com 4.18.0-553.77.1.lve.el8.x86_64 #1 SMP Wed Oct 8 14:21:00 UTC 2025 x86_64 User : lonias5 ( 3576) PHP Version : 7.3.33 Disable Function : NONE Directory : /proc/self/root/proc/thread-self/root/opt/sharedrads/ |
Upload File : |
#!/bin/bash
# Shared RADS Tools, written by Erik Soroka (eriks@imhadmin.net, ext 834)
# This tool reports all pertinent data on a particular user for RA review.
#load functions + banners
if [ -f /opt/sharedrads/radsfunctions.sh ]; then
# shellcheck disable=SC1091
source /opt/sharedrads/radsfunctions.sh
else
# shellcheck disable=SC1091
source /opt/dedrads/radsfunctions.sh
fi
if [ "$RADSCOLORS" == "off" ];
then
radsbanner-nocolor
else
radsbanner
fi
echo -ne "\033[40;37;0m"
/usr/bin/top -bcs -n1 | grep -v "Tasks:" | head -4
echo -en " \033[0m"
#general CPU output
if [ -f /opt/sharedrads/check_cpu ]; then
/opt/sharedrads/check_cpu
else
/opt/dedrads/check_cpu
fi