Do you know a way to distinguish a linux dedicated server from linux VPS through SSH (Terminal server)? I apperciate your help
You can run run ifconfig -a if you see something like eth0 etc it is a dedicated server if venet0 etc it is a VPS.
You can also check and see if htere is a /proc/user_beancounters file. That file is there if it's a VPS and shows how much memory/resources your using on the VPS.
It's not always correctly. This is from a Xen vps # ifconfig -a eth0 Link encap:Ethernet HWaddr AA:01:B0:B3:5A:01 inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.xx Mask:255.255.255.0 inet6 addr: fh80::a840:b1ff:feb3:5a01/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:88630650 errors:0 dropped:0 overruns:0 frame:0 TX packets:21392385 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:33898037120 (31.5 GiB) TX bytes:11612829701 (10.8 GiB)