From 01dad9c358567b157df8bd0e88894fe7a96fecb6 Mon Sep 17 00:00:00 2001 From: Loïc Guégan Date: Thu, 4 Jul 2024 17:04:32 +0200 Subject: Improve dump --- README.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d2341d4..5f8c480 100644 --- a/README.md +++ b/README.md @@ -18,21 +18,25 @@ Explore specific entries of a dump: # Useful entries Important note: Depending on the system, some entries may not be available. -| Entry | Description | -|-------------------------|------------------------------------------------------------------| -| compgen | List all available commands in current shell | -| ping | Check if ping succeed (internet is available) | -| boot_folder | Recursive listing of /boot/ | -| root_folder | Content of / | -| home_folder | Content of $HOME | -| cmd_\_version | Get the version of some specific commands (e.g: gcc, python etc) | +| Entry | Description | +|--------------------------|------------------------------------------------------------------| +| compgen | List all available commands in current shell | +| ping | Check if ping succeed (internet is available) | +| boot_folder | Recursive listing of /boot/ | +| root_folder | Content of / | +| home_folder | Content of $HOME | +| cmd_\_version | Get the version of some specific commands (e.g: gcc, python etc) | +| /proc/cmdline | See kernel parameters | +| /boot/config-$(uname -r) | Get kernel config | +| users | List logged users | +| declare | Get all shell define variables, functions etc | # Notes -- To see what is dump look into `sysdump.sh` - 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` -- cgit v1.2.3