I have a custom VPS. In my plan i was offered 1 GB RAM . But i feel i don't have such amount of RAM. How i can check how much RAM is dedicated to my VPS?
Is there any option to check it independently?
Probably the easiest way to do this is with the "free" command, with the parameter to show the output in megabytes. Here's a few examples:
[root@mirrors ~]# free -m
total used free shared buffers cached
Mem: 494 490 4 0 1 50
-/+ buffers/cache: 438 56
Swap: 991 325 666
As you can see, the system above is using all of it's RAM (494MB of RAM and 490MB used).
Here's another example -
[root@www ~]# free -m
total used free shared buffers cached
Mem: 3775 2068 1707 0 266 1231
-/+ buffers/cache: 570 3205
Swap: 5759 0 5759
That server has 3775MB of RAM total, and 2068MB is used, with 1707MB of RAM free.
On a side note, if you're curious on disk space, you can check it with the "df" command and (you guessed it), the -m parameter:
[root@www ~]# df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
38934 5931 30994 17% /
/dev/sda1 99 26 69 28% /boot
tmpfs 1888 0 1888 0% /dev/shm
The above system has 40GB of disk space, we're using about 6GB.
[root@www ~]# df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
38934 5931 30994 17% /
/dev/sda1 99 26 69 28% /boot
tmpfs 1888 0 1888 0% /dev/shm
I hope everything works out for you and good luck!
John C. Young
Managing Director
Internet Gateway of South Beach
There are currently 1 users browsing this thread. (0 members and 1 guests)
|
||||
Bookmarks