Server IP : 184.154.167.98 / Your IP : 18.220.217.228 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /sbin/ |
Upload File : |
#!/bin/bash KEY=`grep ^disable_kill_orphaned_cron /etc/sysconfig//cloudlinux | sed 's/disable_kill_orphaned_cron[ ]*=[ ]*//'` if [ -z "$KEY" -o "$KEY" = 'n' -o "$KEY" = 'N' ]; then # LU-539: use "command:4096" in order to get full path (without cutting). 4096 == MAX_PATH (usual maximum path length allowed by linux kernel) /bin/ps -Ao"pid,etime,command:4096,ppid" | grep /php | grep -v -E 'jetbackup|sw-engine|mysqld_safe|lsphp|php-fpm|/home/interworx/bin/php' | /bin/grep ' 1$' | awk '{if ($2 >= "10:00" ) print $1}' | /usr/bin/xargs --no-run-if-empty kill -9 fi