Find the answer to your Linux question:
Results 1 to 9 of 9
How can I find the size of units in sysctl.conf e.g whatis the size of the shmmax variable i.e. is it byte kb , Mb etc....???...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    5

    units in suse linux


    How can I find the size of units in sysctl.conf e.g whatis the size of
    the shmmax variable i.e. is it byte kb , Mb etc....???

  2. #2
    Just Joined!
    Join Date
    Feb 2010
    Posts
    5

    difficult ?

    Is that simple question really so difficult toanswer?

  3. #3
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    Hmmm well doing a google search it appears the the value should be in bytes. Something you could have done.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Feb 2010
    Posts
    5

    units in linux

    Of course I know that it is in bytes , because a collegeue knew , maybe because he had checked it uo on google, but I want to know how to verify this using a suse linux command.

  6. #5
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    hmmm don't think there is a way. I don't know of a command to verify units of any kind that is used in any OS

    cat /proc/sys/kernel/shmmax

    will give the current value but it comes as bytes I guess which does not verify what needs to be entered into the sysctr file. I get a huge number that appears to be the total address space of 64 bits.

    18446744073709551615

  7. #6
    Just Joined!
    Join Date
    Feb 2010
    Posts
    5

    what about documentation

    Thank you gogalthorp!

    I appreciate very much yopur answer

    You can also use sysctl -a | grep shmmax, it will give you the value.
    But what about documentation, does anybody know about
    anything that can be reliably used??

  8. #7
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    This is a kernel setting so I'd look into kernel documentation.

  9. #8
    Just Joined!
    Join Date
    Feb 2010
    Posts
    5
    Thank you gogalthorp,

    ok, but I am a newbe in linux , so I dont know how to find this documentation,
    so if you please can point me in the direction so that I can find this documentation I will appreciate it very much.

    Asle

  10. #9
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    I'd start on http//kernel.org

    Then use Google.

Posting Permissions

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