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:
- You will need a program such as PuTTY. Download and install it.
- Open PuTTY.
- enter your server name in the Host Name box or enter your IP in the Host Name box.
- Select the SSH button (this will automatically set the port to the default: port 22.)
- Click Open.
- A terminal window opens with a login prompt. Enter your user name, eg: root. then press “Enter” button from your keyboard.
- When prompted, enter your server user’s password. Press “Enter” button from your keyboard.
That’s it! You’re in!
Task display : CPU Information
Task: Display Free and used Memory Information
Task: Display partition information
Task: Display file system disk space usage
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
and from nano editor you can see your previous host name here. Change the host name and save the files.