Gentoo Archives: gentoo-user

From: davidgn@×××××××××××××.mx
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Process and Files
Date: Fri, 11 Nov 2005 17:09:59
Message-Id: 1131728714.4374cf4a43820@www.correo.unam.mx
In Reply to: [gentoo-user] Process and Files by Miguel
1 Quoting Miguel <mmiranda@×××××××.sv>:
2
3 > Hi, how can i know what process is using a specific file?
4 > I mean, i know that squid is the process that creates and writes the
5 > /var/log/squid/access.log, now , i have a /home/log/rtp.log file that i
6 >
7 > dont know what process is writing into it.
8 > any command?
9
10
11 man lsof
12 NAME
13 lsof - list open files
14
15 man fuser
16 NAME
17 fuser - identify processes using files or sockets
18
19 they both are in
20 sys-process/lsof
21 and
22 sys-process/psmisc
23 packages
24 > --
25 > gentoo-user@g.o mailing list
26 >
27
28
29 -------------------------------------------------
30 www.correo.unam.mx
31 UNAMonos Comunicándonos
32
33 --
34 gentoo-user@g.o mailing list