Stolen from http://www.c0t0d0s0.org/archives/4228-Less-known-Solaris-Features-fuser.html#extended and http://blogs.sun.com/petesh/date/20050127 but worth repeating.
This nice one liner gives ps output for the processes using a mountpoint;
ps -f -p "$(fuser -c /app/data 2>/dev/null)"
Thursday, July 23, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment