Track file usage
Andy Pieters
mailings at vlaamse-kern.com
Wed Jun 8 19:57:12 UTC 2005
Hi
On Wednesday 08 June 2005 21:46, dan wrote:
> I use 'lsof' quite often, and it does the same thing, almost, as
> filemon. It simply lists open files. I'm not sure if it is capable of
> doing a continuous list, however - anyone else know?
>
Thank you. It is helpfull.
So I wanted to see what files an application access when it starts.
I did this
#!bin/bash
$1
/usr/sbin/lsof -p $!
Easy... Simple.. Effective...
Many thanks!
Andy
--
Registered Linux User Number 379093
-- --BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++
L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++)
PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+)
e>++++$@ h++(*) r-->++ y--()>++++
-- ---END GEEK CODE BLOCK------
--
Check out these few php utilities that I released
under the GPL2 and that are meant for use with a
php cli binary:
http://www.vlaamse-kern.com/sas/
--
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050608/54356d6b/attachment-0001.sig>
More information about the fedora-list
mailing list