[dtrace-discuss] all open files
Dan Mick
dan.mick at sun.com
Mon Jul 9 19:09:31 PDT 2007
That'll show you all the open() system calls, but not the currently
open files...
Zhou Aaron wrote:
> dtrace -n 'syscall::open*:entry {printf("%s %s %d",
> execname,copyinstr(arg0),pid);}'
>
>
>> From: Bart Smaalders <bart.smaalders at Sun.COM>
>> To: Venkat C <venkatesh_ch at yahoo.com>
>> CC: dtrace-discuss at opensolaris.org
>> Subject: Re: [dtrace-discuss] all open files
>> Date: Mon, 09 Jul 2007 17:52:05 -0700
>>
>> Venkat C wrote:
>>> Hi All,
>>>
>>> Is there a simple way to list all currently open file descriptors ?
>>
>> # ls -l /proc/*/path
>>
>> :-)
>>
>> - Bart
>>
>> --
>> Bart Smaalders Solaris Kernel Performance
>> barts at cyber.eng.sun.com http://blogs.sun.com/barts
>> _______________________________________________
>> dtrace-discuss mailing list
>> dtrace-discuss at opensolaris.org
>
> _________________________________________________________________
> 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
>
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss at opensolaris.org
More information about the dtrace-discuss
mailing list