How-to: Check CPU/RAM info on VPS/Dedi

Status
Not open for further replies.

Storming

Active Member
1,809
2009
44
0
Hi,
Well I noticed alot of people tend to lie about there CPU etc espcialy on VPS servers so heres a quick and easy way to check the processor information if you are not 100% sure :)

Login to SSH:
Then type:
cat /proc/cpuinfo

It should display information like this:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Pentium(R) Dual-Core CPU E6500 @ 2.93GHz
stepping : 10
cpu MHz : 2925.935
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm tpr_shadow vnmi flexpriority
bogomips : 5852.23
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

Now for checking ram information:
Type:
cat /proc/meminfo
It will display information about the RAM you have on your VPS/Dedi :)

Hope it helps.
 
10 comments
thanks for info,
i will add another useful thing :

To check free ram :
just type free -m

To check your server memory resources for every one secconds::
watch -n 1 -d free -m

For CPU usages ::
watch -n 1 mpstat -P ALL

For Process usages ::
ps -eo pid,%cpu,vsz,args,wchan

And for the total network stats
netstat -a -n|grep -E "^(tcp)"| cut -c 68-|sort|uniq -c|sort -n

(edited)
VV yeah top command is very usefull (thanks xslTel) ;)
 
Last edited:
On mine its showing 8TB of memory.
I used these:
cat /proc/meminfo
free -m

That's not possible or its showing the memory of everyone on server and not only mine.
 
Just did,its showing 8tbs too. Just like in vps control panel and the other ssh commands. Showing using 2gb of memory with no websites on it. I think its showing everyone's memory.
 
thanks for info,
i will add another useful thing :

To check free ram :
just type free -m

To check your server memory resources for every one secconds::
watch -n 1 -d free -m

For CPU usages ::
watch -n 1 mpstat -P ALL

For Process usages ::
ps -eo pid,%cpu,vsz,args,wchan

And for the total network stats
netstat -a -n|grep -E "^(tcp)"| cut -c 68-|sort|uniq -c|sort -n

(edited)
VV yeah top command is very usefull (thanks xslTel) ;)

Thank you for Additional information.
 
Status
Not open for further replies.
Back
Top