blob: a7f7443c320be2506877fce0bb50a0a34be297c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# 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
|