[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: usage count
On Mon, 2005-09-05 at 15:23, manish rangankar wrote:
> hi,
>
> sorry for incomplete question .....I have written a char driver with
> basic functionalities.
>
> Then i have created a node.
>
> Now, when i access the OPEN this node multiple times it's count
> should be increase...
Can you show your code?
> but it is still showing 0 usage count
Are you decrementing the count in the wrong place?
> manish
>
> On 5 Sep 2005 08:58:41 -0000, rohit hooda <rohit13hooda@xxxxxxxxxxxxxx> wrote:
> > Hi,
> >
> > Just do a lsmod on the command prompt and you will get the listing of all
> > the drivers that are loaded and their usage count.
> >
> > >>( which provoids the basic functionalities )
> >
> > what do you mean by this statement of yours
> >
> > Rohit
> >
> >
> > >Hi,
> > >
> > >manish rangankar wrote:
> > >
> > > > I want to see the usage count of driver
> > >
> >
> >
> >
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive: http://mail.nl.linux.org/kernelnewbies/
> FAQ: http://kernelnewbies.org/faq/
>
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/