10 Useful Commands to Collect System and Hardware Information in Redhat Linux 7 & Ubuntu 15.04 - Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Tuesday, September 29, 2015

10 Useful Commands to Collect System and Hardware Information in Redhat Linux 7 & Ubuntu 15.04



PLEASE Click Below Link to Redirect to HostGator Web Hosting….
http://goo.gl/znPKM8

PLEASE Click Below Link to Redirect to Bluehost Web Hosting…
http://goo.gl/tGawjL


1. How to View Linux System Information
type :-  uname
   
a. To view your network hostname, use ‘-n’ switch with uname command as shown.
type :- uname –n    

b. To get information about kernel-version, use ‘-v’ switch.
type :- uname –v
 
c. To get the information about your kernel release, use ‘-r’ switch.
type :- uname –r  

d. To print your machine hardware name, use ‘-m’ switch.
type :- uname –m

e. All this information can be printed at once by running ‘uname -a’ command as shown below.
type :- uname –a

2. How to View Linux System Hardware Information
type :- sudo lshw      

a. You can print a summary of your hardware information by using the -short option.
type :- sudo lshw –short      

b. If you wish to generate output as a html file, you can use the option -html.
type :- sudo lshw -html > lshw.html

3. How to View Linux CPU Information
type :- lscpu

4. How to Collect Linux Block Device Information
type :- lsblk      

a. If you want to view all block devices on your system then include the -a option.
type :- lsblk -a

5. How to Print USB Controllers Information
type :- lsusb        

a. You can use the -v option to generate a detailed information about each USB device.
type :- lsusb –v


6. How to Print PCI Devices Information
type :- lspci

       a. Use the -t option to produce output in a tree format.
type :- lspci –t

       b. Use the -v option to produce detailed information about each connected device.
type :- lspci -v


7. How to Print SCSI Devices Information
type :- sudo apt-get install lsscsi [on Debian derivatives]
type :- yum install lsscsi [On RedHat based systems]
type :- dnf install lsscsi [On Fedora 21+ Onwards]


        a. After install, run the lsscsi command as shown:
        type :- lsscsi

       b. Use the -s option to show device sizes.
       type :- lsscsi -s


8. How to Print Information about SATA Devices
type :- sudo hdparm /dev/sda1
type :- sudo hdparm -g /dev/sda1


9. How to Print Linux File System Information
type :- sudo  fdisk -l

10. How to Extract Information about Hardware Components
type :- sudo  dmidecode -t memory      

a. To print information about system, run this command.
type :- sudo  dmidecode -t system    

b. To print information about BIOS, run this command.
type :- sudo  dmidecode -t bios

11. To print information about processor, run this command.
type :- sudo dmidecode -t processor


-------------------------------------------------------------------------------
For Your Information Only

I am Willing to Make a FREE or CHARGE Website, if YOU WANT ME TO MAKE A VIDEOS ON Different Technologies I WILL DO IT..

Share My Video, Like it, Watch Others Videos and Have any Quries Email me (itcloudnet@gmail.com)
----------------------------------------------------------------------------------


NOTE :- For Any Clarification Please Comment Below

Comment,
Like and
Share us and help us to spread.

####--------------------------­------------------------------­------------------------------­####
Subscribe :- http://www.youtube.com/user/itcloudnet?sub_confirmation=1
Website :- http://www.cloudnetwork.in
Facebook :- http://facebook.com/itcloudnetwork
Twitter :- http://twitter.com/itcloudnet
Pinterset :- http://pinterset.com/itcloudnet
LinkedIn :- http://in.linkedin.com/pub/itcloudnet
Google+ :- https://plus.google.com/u/0/107923552480070716949/posts
Skype Id :- cloud.network1
E-Mail Id :- itcloudnet@gmail.com
####--------------------------­------------------------------­------------------------------­--####

Thanking You
Hope U Like it........