You need to use command called lsdev. It gathers information about your server’s installed hardware from the interrupts, ioports and dma files in the /proc directory, thus giving you a quick overview of which hardware uses what I/O addresses and what IRQ and DMA channels.


Logging into your server via SSH

Many of the commands in this article must be run on your local computer. The default commands listed are for the Linux command line or Mac OS X Terminal. To make SSH connections from Windows, you can use a free program called PuTTY.

Once you have putty for ssh client and rot access on your server, you are ready to log in your server.

To log into your VPS from a Windows machine:

  1. You will need a program such as PuTTY. Download and install it.
  2. Open PuTTY.
  3. enter your server name in the Host Name box or enter your IP in the Host Name box.
  4. Select the SSH button (this will automatically set the port to the default: port 22.)
  5. Click Open.
  6. A terminal window opens with a login prompt. Enter your user name, eg: root. then press “Enter” button from your keyboard.
  7. When prompted, enter your server user’s password. Press “Enter” button from your keyboard.

That’s it! You’re in!


Task display : CPU Information

cat /proc/cpuinfo

Task: Display Free and used Memory Information

free -m

Task: Display partition information

fdisk -l

Task: Display file system disk space usage

df -H


df -h

Task: Estimate file space usage


Task: List PCI devices


Task: List USB devices


Task display : More Information


Check Host Name


How to change hostname using ssh

Login your ssh and edit the file using nano: /etc/hosts

nano /etc/hosts

and from nano editor you can see your previous host name here. Change the host name and save the files.