Add small script to gather system information from machines
This commit is contained in:
parent
1924f2f4ab
commit
7aa220a2e1
1 changed files with 6 additions and 0 deletions
6
gather_facts
Executable file
6
gather_facts
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env ./sshtool
|
||||||
|
|
||||||
|
cmd lsblk -o name,size,type,mountpoint,rota,fstype,fsused,fsuse%
|
||||||
|
cmd "lscpu | grep 'Model name'"
|
||||||
|
cmd lscpu -e=cpu,minmhz,maxmhz,mhz
|
||||||
|
cmd lsmem --summary
|
Loading…
Reference in a new issue