#!/bin/sh -e # # Report the running processes. if [ -x /bin/ ] ; then /bin/ps auxww | sed "s%^%info: $0: ps: %" else echo "error: $0: Unable to find /bin/ps" fi if [ -x /usr/bin/pstree ] ; then /usr/bin/pstree -p | sed "s%^%info: $0: pstree: %" else echo "error: $0: Unable to find /usr/bin/pstree" fi