echo '== ihttpd proc =='
ls -la /proc/2004/fd 2>&1 | head -20
ls -la /proc/2004/cwd 2>&1
cat /proc/2004/environ 2>/dev/null | tr '\0' '\n' | head
echo '== all procs =='
ps aux 2>/dev/null | grep -iE 'ispmgr|ihttpd' | grep -v grep | head
echo '== ispmgr proc fd =='
PID=$(ps aux 2>/dev/null | grep 'ispmgr' | grep -v grep | awk '{print $2}' | head -1)
echo "ispmgr pid=$PID"
ls -la /proc/$PID/fd 2>&1 | head -25
echo '== /tmp/t1.php fastcgi test =='
ls -la /tmp/t1.php 2>/dev/null && head -5 /tmp/t1.php
echo '== home dirs =='
ls -la /home/ 2>/dev/null; ls -la /home/glarkru/ 2>/dev/null | head
