Re: Is there a utility like fuser or /usr/proc/bin/pwdx on RedHat 9?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2003-10-13 at 09:47, Mark Bruen wrote:
> I've got an old busy mount point on /mnt/cdrom, I'd like to find out 
> what PID is on the mount point (I've got way too many xterms to look at 
> them all). In Slolaris "/usr/proc/bin/pwdx PID" or "fuser -fu 
> <directory>" would give me the PID(s). Any utility like this on RedHat 9?
> Thanks. -Mark
> 


how 'bout fuser ?

[root@mail1 root]# fuser -n file -m -uv /tmp 

                     USER        PID ACCESS COMMAND
/tmp                 root        911 f....  httpd
                     root        992 f....  xfs
                     root       1566 f....  httpd
                     root       1567 f....  httpd
                     root       1568 f....  httpd
                     root       1569 f....  httpd
                     root       1570 f....  httpd
                     root       1571 f....  httpd
                     root       1572 f....  httpd
                     root       1573 f....  httpd
                     root      21326 f....  sshd
                     root      31292 f....  imapd



[root@mail1 root]# rpm -qf `which fuser`
psmisc-20.2-3.73


Bret


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux