add hardware

lshw
This commit is contained in:
I-Man Ng 2019-01-23 15:52:35 +08:00 committed by GitHub
parent 821c57ec4c
commit ae9cbf57ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1906,6 +1906,13 @@ systemctl list-unit-files|grep enabled
## Hardware ## Hardware
[[back to top](#handy-bash-oneliner-commands)] [[back to top](#handy-bash-oneliner-commands)]
##### Collect and summarize all hardware info of your machine
```bash
lshw -json >report.json
# Other options are: [ -html ] [ -short ] [ -xml ] [ -json ] [ -businfo ] [ -sanitize ] ,etc
```
##### Finding Out memory device detail ##### Finding Out memory device detail
```bash ```bash
sudo dmidecode -t memory sudo dmidecode -t memory