Add small script to gather system information from machines

This commit is contained in:
Baptiste Jonglez 2024-05-31 11:35:00 +02:00
parent 1924f2f4ab
commit 7aa220a2e1

6
gather_facts Executable file
View 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