Re: How to traverse all file struct

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

 



On Mon, 27 Apr 2015 15:41:31 -0000, cmqycmqy said:
> I want to travese(find out) all opened file struct

Actually, no, you don't.

> i want to find out all process that have open that file.

Hint: There's probably a faster way to do it than checking *all* open files.

You can probably do even better if you explain *why* you want to find
all processes.  If you find them, what do you intend to do?  (Again, depending
on what you're trying to do, there's probably an easier way).

Attachment: pgpoYUKH7Yet7.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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