add system: query for hardware device status

memory and segate disks
This commit is contained in:
onceupon 2017-12-12 12:05:18 +08:00 committed by GitHub
parent 08bf087b3d
commit 9268b08e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2264,5 +2264,14 @@ ssh -f -L 9000:targetservername:8088 root@192.168.14.72 -N
#the 9000 of your computer is now connected to the 8088 port of the targetservername through 192.168.14.72 #the 9000 of your computer is now connected to the 8088 port of the targetservername through 192.168.14.72
#so that you can see the content of targetservername:8088 by entering localhost:9000 from your browser. #so that you can see the content of targetservername:8088 by entering localhost:9000 from your browser.
##### Count the number of Segate hard disks
```bash
lsscsi|grep SEAGATE|wc -l
```
##### Print detail of memory hardware
```bash
dmidecode -t memory
```
=-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=- =-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=-