AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

Trace the process responsible for locking filesystem ?

  • 1.  Trace the process responsible for locking filesystem ?

    Posted Fri January 09, 2009 02:13 AM

    Originally posted by: Vilius


    Hi,

    Sometimes when I want to unmount some filesystem I get "The requested resource is busy." error.
    In such a case I try to find and kill process that uses that filesystem. I do that on random.

    Is there a right way to find whitch prosesses use filesystem resource at given time ?

    thanks
    Vilius
    #AIX-Forum


  • 2.  Re: Trace the process responsible for locking filesystem ?

    Posted Fri January 09, 2009 04:33 AM

    Originally posted by: grukrz1


    try:

    lsof
    fuser

    (read manual)

    lsof you can get from AIX Linux Toolbox
    #AIX-Forum