Dump various system informations.
Find a file
2024-07-04 13:27:42 +02:00
.gitignore Init project 2024-07-04 10:36:00 +02:00
README.md Improve script 2024-07-04 12:36:52 +02:00
sysdump.sh Clean code 2024-07-04 13:27:42 +02:00

System dump script

Dump various system informations into base64 encoded values and print them as json.

Usage

Run a dump:

./sysdump.sh > dump.json

Run a dump on a remote machine using ssh:

cat sysdump.sh | ssh user@host /bin/bash > dump.json

Explore a dump (require jq):

./sysdump.sh dump.json

Explore specific entries of a dump:

./sysdump.sh dump.json uname timezone

Notes

  • To get available entries see into sysdump.sh
  • Some commands require root permissions. If sysdump.sh is not run as root, these commands will not be executed.