#!/bin/bash

for pid in `pgrep -u apache`; do find /proc/${pid}/cwd -printf "%l\n" |grep -E -v "^/chroot/httpd(-old)?$" ; done
