aboutsummaryrefslogtreecommitdiff
path: root/gather_facts
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2024-05-31 11:35:00 +0200
committerBaptiste Jonglez <git@bitsofnetworks.org>2024-05-31 11:35:00 +0200
commit7aa220a2e146b69cbc149c21356c38b3821f9271 (patch)
tree49079acaeafd0a0a9a317e3f4e38ee715595e5a7 /gather_facts
parent1924f2f4ab1504aa6a8bdc8b07c25ae58ca18d3a (diff)
downloadnixcfg-7aa220a2e146b69cbc149c21356c38b3821f9271.tar.gz
nixcfg-7aa220a2e146b69cbc149c21356c38b3821f9271.zip
Add small script to gather system information from machines
Diffstat (limited to 'gather_facts')
-rwxr-xr-xgather_facts6
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