import os,glob
print('--- apache2ctl script ---')
try: print(open('/usr/sbin/apache2ctl').read()[:2000])
except Exception as e: print(e)
print('--- children of 1354 (www master) ---')
try:
    print('children:', open('/proc/1354/task/1354/children').read())
except Exception as e: print(e)
print('--- all unix sockets named php-fpm ---')
try:
    for line in open('/proc/net/unix'):
        if 'php-fpm' in line or 'socket' in line.lower():
            print(line.strip()[:160])
except Exception as e: print(e)
