crash.commands.kmem module

SUMMARY

Kernel memory inspection

kmem addr             - try to find addr within kmem caches
kmem -s [slabname]    - check consistency of single or all kmem cache
kmem -z               - report zones
kmem -V               - report vmstats

DESCRIPTION

This command currently offers very basic kmem cache query and checking.

class crash.commands.kmem.KmemCommand(name: str)[source]

Bases: crash.commands.Command

kernel memory inspection

execute(args: argparse.Namespace) → None[source]

This method implements the command functionality.

Each command has a derived class associated with it that, minimally, implements this method.

Parameters:args – The arguments to this command already parsed by the commmand’s parser.
print_vmstats() → None[source]
print_zones() → None[source]