mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-25 22:07:01 +00:00
add system: query for hardware device status
memory and segate disks
This commit is contained in:
parent
08bf087b3d
commit
9268b08e4f
@ -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
|
||||
#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-=-=-=-=-=-=-=-=-=-
|
||||
|
Loading…
Reference in New Issue
Block a user