Announcement

Collapse
No announcement yet.

Free comand in linux? What does the output mean?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Free comand in linux? What does the output mean?

    Mem: 902768 877612 25156 0 46692 646384
    -/+ buffers/cache: 184536 718232
    Swap: 977248 13460 963788
    Total: 1880016 891072 988944

    What does this mean? Does it mean I only have 902mbs of RAM? I have two 512 sticks, shouldn't this be more?
    Group Builder

  • #2
    Mem: 902768 that is your total.
    that is near 1 gb

    on my system i did a cat /proc/meminfo

    netblock: /proc> cat meminfo
    total: used: free: shared: buffers: cached:
    Mem: 2117443584 2000445440 116998144 0 302661632 928985088
    Swap: 2147467264 21045248 2126422016
    MemTotal: 2067816 kB
    MemFree: 114256 kB
    MemShared: 0 kB
    Buffers: 295568 kB
    Cached: 902216 kB
    SwapCached: 4996 kB
    Active: 878264 kB
    Inactive: 717864 kB
    HighTotal: 1179072 kB
    HighFree: 36008 kB
    LowTotal: 888744 kB
    LowFree: 78248 kB
    SwapTotal: 2097136 kB
    SwapFree: 2076584 kB
    netblock: /proc>


    which shows it is in kB

    Comment


    • #3
      But I have two 512 sticks in a dedicated vB server. Shouldn't that number be a little more?
      Group Builder

      Comment


      • #4
        Remember that 1 KB != 1000 bytes, but 1024. So 1 GB of memory is 1073741824 bytes. It depends on how each program calculates it.
        --filburt1, vBulletin.org/vBulletinTemplates.com moderator
        Web Design Forums.net: vB Board of the Month
        vBulletin Mail System (vBMS): webmail for your forum users

        Comment


        • #5
          use the -m switch to show it a little bit more readable: free -m (shows in megabytes then):

          total used free shared buffers cached
          Mem: 2022 2000 22 0 60 154
          -/+ buffers/cache: 1784 237
          Swap: 251 209 41
          HP DL-380 G6, 2x E5520, 28GB RAM, 4x300GB SAS, VMWare ESXi
          -
          Unreal Tournament : Assault forums - irc://irc.utassault.net:6667 -

          Comment


          • #6
            Originally posted by filburt1
            Remember that 1 KB != 1000 bytes, but 1024. So 1 GB of memory is 1073741824 bytes. It depends on how each program calculates it.
            Which would mean that it is even further from a gig if it uses 1024MB for one GB.

            If it is using 1024, which operating systems usually use, then it is more like 881MB then 902.

            Its probably normal though, and if I wasn't busy I would boot into Linux and see if it does this for me too.

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X