Howto detect fake RAM

Posted by Michael on Server Fault See other posts from Server Fault or by Michael
Published on 2013-10-20T18:42:27Z Indexed on 2013/10/20 21:56 UTC
Read the original article Hit count: 141

Filed under:
|
|

I just bought a virtual server which should have 2GB of RAM.

Now i got a server with 4gb which looks very strange to me. I think it is just a virtual RAM.

dmidecode only ouputs

/dev/mem: Operation not permitted

How can i check if it's a real RAM or just a virtual one?

free -m outputs:

             total       used       free     shared    buffers     cached
Mem:          4093        364       3728          0          0        346

-/+ buffers/cache:         18       4074
Swap:            0          0          0

Output from cat /proc/user_beancounters

Version: 2.5
       uid  resource                     held              maxheld              barrier                limit              failcnt
      137:  kmemsize                  8922287             10194944           2145910784           2145910784                    0
            lockedpages                     0                    0               523904               523904                    0
            privvmpages                 13387                59112  9223372036854775807  9223372036854775807                    0
            shmpages                      769                  785  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            numproc                        22                   54  9223372036854775807  9223372036854775807                    0
            physpages                   93377               106010                    0              1047808                    0
            vmguarpages                     0                    0  9223372036854775807  9223372036854775807                    0
            oomguarpages                 2471                 2473  9223372036854775807  9223372036854775807                    0
            numtcpsock                      5                   21  9223372036854775807  9223372036854775807                    0
            numflock                        4                   13  9223372036854775807  9223372036854775807                    0
            numpty                          1                    1  9223372036854775807  9223372036854775807                    0
            numsiginfo                      0                   39  9223372036854775807  9223372036854775807                    0
            tcpsndbuf                  102592               381632  9223372036854775807  9223372036854775807                    0
            tcprcvbuf                   81920              4820184  9223372036854775807  9223372036854775807                    0
            othersockbuf                 4624                61632  9223372036854775807  9223372036854775807                    0
            dgramrcvbuf                     0                 9248  9223372036854775807  9223372036854775807                    0
            numothersock                   39                   56  9223372036854775807  9223372036854775807                    0
            dcachesize                4178917              4232732           1072955392           1072955392                    0
            numfile                       378                  535  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            numiptent                      24                   24  9223372036854775807  9223372036854775807                    0

© Server Fault or respective owner

Related posts about linux

Related posts about centos