-i.e - how to get a full list of hardware components in command line (on a machine with no window system)
Thank you.
|
|
|
|
||||
|
|
If available, |
|||||||
|
|
If you have a RedHat/CentOS system, you can use Those are some good places to start to find the info you're looking for. |
|||
|
|
|
The /proc filesystem will give you the information that you want... BUT i don't know how you will get it is one easy place. 'cat /proc/cpuinfo' will tell you about your CPU 'cat /proc/devices' will tell you some limited information about block devices. 'ifconfig -a' will tell you about network connections Others will be able to tell you about more devices. Are you troubleshooting a particular device? If so, you will get better help asking a specific question. |
|||||||||||
|
|
The easiest thing is to type "dmesg | more" on the command line, which allows you to see all the boot output that occurs during the last system startup. |
|||
|
|
|
For hard disks I use a custom script which massages into one list the outputs of:
|
|||
|
|
|
to summarize that, I'd say here is good start to get information about your system:
|
|||
|
|
|
I recommend checking out facter which outputs a lot of information in a form that is easy to use in scripts. |
|||
|
|
|
below code u can copy using vi
|
|||||
|
|
inxi will show just about everything, run with no arguments for short form, the options are many however, run inxi -h to see them |
|||
|
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.