Find the answer to your Linux question:
Results 1 to 4 of 4
Could you please tell me, What does the "size" parameter in the output of lsmod command indicate? Are you sure about it? Thanks in advance!...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    3

    if you know lsmod...


    Could you please tell me, What does the "size" parameter in the output of lsmod command indicate?

    Are you sure about it?

    Thanks in advance!

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    As far as I know, it's the in-ram size of the module. The amount of space that the module image takes when it's loaded in ram.

    lsmod just formats the contents of /proc/modules in a nice tabular format and displays it. The man page for proc doesn't tell any useful info about that file either, so I guess that to be 100% sure you would need to look at the proc related code in the kernel source tree.

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Posts
    3
    Quote Originally Posted by i92guboj View Post
    As far as I know, it's the in-ram size of the module. The amount of space that the module image takes when it's loaded in ram.

    lsmod just formats the contents of /proc/modules in a nice tabular format and displays it. The man page for proc doesn't tell any useful info about that file either, so I guess that to be 100% sure you would need to look at the proc related code in the kernel source tree.
    Thanks! I think, I'll do that.

  4. #4
    Just Joined! wildpossum's Avatar
    Join Date
    Apr 2008
    Location
    Sydney/Australia
    Posts
    92
    "sudo modinfo modulename" may provide more information for you too.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •