Oracle Linux Enhanced Diagnostic (OLED) tools is a collection of tools, scripts, configs, etc. that collect and analyze data about the health of the system in order to root cause and resolve any system issues.
The oled-tools repo includes the following debug tools/scripts that aid in gathering additional debug data from the system. Please review the corresponding man pages for more details.
- lkce: Extracts data from a vmcore or from within the kdump kernel after a crash
- memstate: Captures and analyzes various memory usage statistics on the running system
- filecache: List the paths of the biggest files present in the page cache (note: this is present only on the x86-64 architecture)
- dentrycache: Lists a sample of file paths which have active dentries in the dentry hash table (note: this is present only on the x86-64 architecture)
- kstack: Collects the kernel stack trace for selected processes, based on status or PID
- syswatch: Execute user-provided commands when CPU utilization reaches a threshold
- scanfs: Scan KVM images for corruption, supports XFS and EXT4
- vmcore-utils: Estimating vmcore size before kernel dump
makepython3zlib-develbzip2-develelfutils-devel
python3zlibbzip2-libselfutils-libs
$ git clone https://github.com/oracle/oled-tools.git
$ cd oled-tools
$ make
$ make installlkce requires additional setup the first time - it is recommended to run
the following command after oled-tools is installed:
$ [ -f /etc/oled/lkce/lkce.conf ] || sudo oled lkce configure --defaultoled-tools must be run as root. After it has been installed, it can be run
with
sudo oled <subcommand> [args]
Run sudo oled --help to see a list of subcommands supported and other options
and sudo oled <subcommand> {-h | --help} to see help of specific commands.
You can also consult man pages oled(8) and oled-<subcommand>(8).
This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide
Please consult the security guide for our responsible security vulnerability disclosure process
oled-tools is licensed under GPLv2.