GET ALL HARDWARE DETAILS ON WEB BROWSER IN YOUR LINUX SERVER

 

Hello Friends ,

Happy RAINY DAYS WINTER” to all of you

weather is so romantic

Image 

After Enjoyment

 

Today I am going to show you , How can we check All Hardware details (like CPU,MOTHERBOARD,HARDDISK, RAM, ETHERNET etc…..) in Linux on WEB BROWSER..

 

Lets PLAY with Linux :-


Image

Download package of lshw from http://pkgs.repoforge.org/lshw/:-

 

 

[root@sahil ~]# wget http://pkgs.repoforge.org/lshw/lshw-2.17-1.el6.rf.i686.rpm

 

Install Package using rpm:-

 

[root@sahil ~]# rpm -ivh lshw-2……………..rpm

 

OR

 

You can install by using yum(Enable repo like epel):-

[root@sahil ~]# yum install lshw -y

 

Checked installed Package of lshw :-

[root@sahil ~]# rpm -qa |grep lshw

 lshw-2.02.17-3.el6.i686

 

You can take help from lshw 🙂

[root@sahil ~]# lshw –help

Hardware Lister (lshw) – B.02.15

usage: lshw [-format] [-options …]

lshw -version

-version print program version (B.02.15)

format can be

-html output hardware tree as HTML

-xml output hardware tree as XML

-short output hardware paths

-businfo output bus information

options can be

-dump OUTFILE save hardware tree to a file

-class CLASS only show a certain class of hardware

-C CLASS same as ‘-class CLASS’

-c CLASS same as ‘-class CLASS’

-disable TEST disable a test (like pci, isapnp, cpuid, etc. )

-enable TEST enable a test (like pci, isapnp, cpuid, etc. )

-quiet don’t display status

-sanitize sanitize output (remove sensitive information like serial numbers, etc.)

-numeric output numeric IDs (for PCI, USB, etc.)

As we are seeing above we can get our hardware information via multiple ways 🙂

We are just creating a html file to output hardware tree as HTML Page :-

 

Create HTML FILE:-

[root@sahil ~]# lshw -html > /var/www/html/index.html

[root@sahil ~]#

 

Now Test :- Open your Favorite Web browser, in my case this is MOZIILA-FIREFOX:)

 http://192.168.11.10


Image

Hooooooooo hAAAAAAAAAAA 🙂

HAPPY HOT LINUX-ING IN WINTER 🙂 🙂 🙂

2 thoughts on “GET ALL HARDWARE DETAILS ON WEB BROWSER IN YOUR LINUX SERVER”

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top