From 35c6d6cbea7bc3d62d900aac18d50361089b50ab Mon Sep 17 00:00:00 2001 From: Loïc Guégan Date: Fri, 5 Jul 2024 16:15:28 +0200 Subject: Significantly improve script --- README.md | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ab8d0c9..f95157d 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,8 @@ Run a dump: 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 +To explore a dump (require `jq`), see help as follow: +> ./sysdump.sh -h # Useful entries Important note: Depending on the system, some entries may not be available. @@ -33,10 +30,6 @@ Important note: Depending on the system, some entries may not be available. # Notes - Some commands require root permissions. -If `sysdump.sh` is not run as root, these commands will not be executed. -- List available entries: -> cat dump.json |grep -o ".*:" -- List available command versions: -> cat dump.json |grep -o "cmd_.*_version" -- For more infos on what is actually dump see `sysdump.sh` +If `sysdump.sh` is not run as root, these commands will not be executed and the entries +will not be reported in the dump file. -- cgit v1.2.3