From 7aa220a2e146b69cbc149c21356c38b3821f9271 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Fri, 31 May 2024 11:35:00 +0200 Subject: Add small script to gather system information from machines --- gather_facts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 gather_facts 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 -- cgit v1.2.3