Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get server specs

Status
Not open for further replies.

SM777

Technical User
Mar 7, 2001
208
GB
How do I tell what processor, memory, diskspace total and free on my server remotely?

how do I tell if it is dedicated or a shared virtual server?

Cheers.
 
telnet to the server, and run

%shell% top

top will tell you all of that. Do "man top" for more information.

Disclaimer:
Beware: Studies have shown that research causes cancer in lab rats.
 
You need a little more than that to get all the info SM777 needs.

What operating system is on the server? The info I have is good for Linux and FreeBSD, but I don't know about the rest.

'top' shows you a continually refreshing list of running processes, and shows the owner of each process. It also shows a summary of current processor and RAM usage.

'ps -ax' shows you the same process information, but spits it out once only, which is sometimes easier to deal with, since it lets you scroll back up and browse the data.

'dmesg' is possibly one of the most useful commands, since it shows the output of the computer's boot process, as it runs the hardware checklist, including processor, disks, network cards, etc... (most ISPs don't give users access to this command, though)

'df -h' shows you the amount of free disk space on every partition.

'w' shows you terminals of current users logged into either a remote telnet (or ssh) session or locally on the machine.

'users' simply lists the users currently logged into the machine

On FreeBSD, 'sysctl -a' gives extended data about the computer, including hardware, network status, etc...

'netstat -a' gives you info about your current network usage.

If you can see the contents of /etc/passwd or /etc/shadow, you can see if there are any other users on the system besides the standard root, ftp, bin, daemon, etc...

SM777 -- If you are supposed to have a dedicated box, have they given you root access?
 
Thanks guys.

I have applied for telnet access but it hasn't come through yet.

I can ftp to the site but only have access to the /home/mywebsite directory which includes public_html, cgi-bin, some sub dirs I have created. If I try to go up a level it says access denied.

When the telnet access is authorised I'll be able to know more.

I just want to check that the server I bought online is exactly what it says - ie. has the same processor, ram, disk I ordered and is totally dedicated not shared.

Can't trust no one these days<g>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top