pgrep -lf _pmon_ |
while read pid pname y ; do
printf "%6s %-20s %-80s\n" $pid $pname `ls -l /proc/$pid/exe | awk -F'>' '{ print $2 }' | sed 's/bin\/oracle$//' | sort | uniq`
done来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21818314/viewspace-693205/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/21818314/viewspace-693205/