diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2024-05-31 11:35:00 +0200 |
---|---|---|
committer | Baptiste Jonglez <git@bitsofnetworks.org> | 2024-05-31 11:35:00 +0200 |
commit | 7aa220a2e146b69cbc149c21356c38b3821f9271 (patch) | |
tree | 49079acaeafd0a0a9a317e3f4e38ee715595e5a7 | |
parent | 1924f2f4ab1504aa6a8bdc8b07c25ae58ca18d3a (diff) | |
download | nixcfg-7aa220a2e146b69cbc149c21356c38b3821f9271.tar.gz nixcfg-7aa220a2e146b69cbc149c21356c38b3821f9271.zip |
Add small script to gather system information from machines
-rwxr-xr-x | gather_facts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gather_facts b/gather_facts new file mode 100755 index 0000000..ac91d09 --- /dev/null +++ b/gather_facts @@ -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 |