VPS vs. dedicated server

Discussion in 'Site & Server Administration' started by farjam, Mar 23, 2008.

  1. #1
    Do you know a way to distinguish a linux dedicated server from linux VPS

    through SSH (Terminal server)?

    I apperciate your help :eek:
     
    farjam, Mar 23, 2008 IP
  2. wisdomtool

    wisdomtool Moderator Staff

    Messages:
    15,825
    Likes Received:
    1,367
    Best Answers:
    1
    Trophy Points:
    455
    #2
    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.
     
    wisdomtool, Mar 23, 2008 IP
    farjam likes this.
  3. farjam

    farjam Peon

    Messages:
    368
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for your help "wisdomtool",

    your information is very helpful
     
    farjam, Mar 23, 2008 IP
  4. timocampo

    timocampo Guest

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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.
     
    timocampo, Mar 23, 2008 IP
  5. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #5
    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)
     
    gate2vn, Mar 23, 2008 IP
  6. farjam

    farjam Peon

    Messages:
    368
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I checked this method, it is true with virtouzzo VPS too.
     
    farjam, Mar 24, 2008 IP
  7. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #7
    I didn't say it's wrong. I mentioned that it's not always correctly :)
     
    gate2vn, Mar 24, 2008 IP
  8. farjam

    farjam Peon

    Messages:
    368
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Do you know any way to distinguish VPS windows from a dedicated server? :confused:
     
    farjam, Mar 24, 2008 IP