Re: Help with writing a new "fuser"

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

 



--- Greg Nate <Greg_Nate@adp.com> wrote:
> Hello all, I hope this is the proper group. Here's where I need
> direction.
> 
> I want to write a new "fuser", which makes direct kernel table calls,
> rather
> than what the current "fuser" does, which seems to be a
> file-tree-walk on
> /proc. We've found that on a heavily loaded system, the current
> "fuser" is
> far too slow and can actually have a serious performance impact.

 Before you go ahead with this, have you tried using
'lsof'? I have found that many times 'lsof' is faster
than fuser. Of course, I haven't looked into the source
of either of them, so I don't know how different they
really are.

-Ravi.


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux