/dev/null | wc -l"))." containers"; $r[]="GIT: ".trim(@shell_exec("cd /var/www/html && git status -s|wc -l"))." dirty"; $r[]="CRONS: ".trim(@shell_exec("crontab -l 2>/dev/null|grep -cv '^#'"))." active"; echo json_encode(["diagnostic"=>implode("\n",$r),"ts"=>date("c")]);