How to use the crash.register_epython_prog function in crash

To help you get started, we’ve selected a few crash examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sungju / pycrashext / regext.py View on Github external
help = '''
Show process information
'''

rprog("psinfo", " ps output",
      "-h    - list available options",
      help)


help = '''
Show selinux related information
'''

rprog("seinfo", "SELinux output",
      "-h    - list available options",
      help)


help = '''
Shows UN(D) state processes with details
'''

rprog("hangcheck", "hang task(s) heck",
      "-h   - list available options",
      help)


help = '''
Shows audit information
'''
github sungju / pycrashext / regext.py View on Github external
help = '''
Showing softirq and tasklet details.
'''

rprog("bh", "Bottom Half information",
      "-h       - list available options",
      help)


help = '''
filesystem related information.
'''

rprog("fsinfo", "Filesystem information",
      "-h       - list available options",
      help)

help = '''
CPU related information.
'''

rprog("cpuinfo", "CPU information",
      "-h       - list available options",
      help)

help = '''
networking related information.
'''

rprog("netinfo", "Network information",
github sungju / pycrashext / regext.py View on Github external
help = '''
Show device related information
'''

rprog("devinfo", "Device information",
      "-h   - list available options",
      help)


help = '''
vmware information
'''

rprog("vmwareinfo", "vmware information ",
      "-h   - list available options",
      help)


help = '''
CPU lock check

-r       - Show longest holder at top
--tasks  - Show tasks in each runqueue
'''

rprog("lockup", "LOCKUP check",
      "-h   - list available options",
      help)
github sungju / pycrashext / regext.py View on Github external
'''


rprog("epstree", "Print process list in tree format",
      "-h   - list available options",
      help)


help = '''
Module related information.

--disasm     - Disassemble functions in a module
--details    - Show details
'''

rprog("emodinfo", "Module related information",
      "-h       - list available options",
      help)


help = '''
ipmi related information.

--smi_list      - Show smi_info list
--details       - Show additional information
'''

try:
    pa = readSymbol("smi_infos")
    if (pa != 0):
        rprog("ipmi", "ipmi related information",
              "-h       - list available options",
github sungju / pycrashext / regext.py View on Github external
--tree      - hierarchial display of cgroups
'''

rprog("cgroupinfo", "cgroup information",
      "-h    - list available options",
      help)


help = '''
scheduling information

--classes    - Show scheduling classes
--details    - Show details
'''

rprog("schedinfo", "scheduling information",
      "-h    - list available options",
      help)


help = '''
Print process list in tree format.

-p          - Print process ID
-g          - Print number of threads
-s          - Print task state
-t          - Print a specific task and its children
'''


rprog("epstree", "Print process list in tree format",
      "-h   - list available options",
github sungju / pycrashext / regext.py View on Github external
help)

help = '''
Checking the data through insights
'''

rprog("insights", "Run insights with the currently available data",
      "-h       - list available options",
      help)


help = '''
Show process information
'''

rprog("psinfo", " ps output",
      "-h    - list available options",
      help)


help = '''
Show selinux related information
'''

rprog("seinfo", "SELinux output",
      "-h    - list available options",
      help)


help = '''
Shows UN(D) state processes with details
'''
github sungju / pycrashext / regext.py View on Github external
help = '''
networking related information.
'''

rprog("netinfo", "Network information",
      "-h       - list available options",
      help)



help = '''
memory related information
'''

rprog("meminfo", "Memory information",
      "-h       - list available options",
      help)



help = '''
time related information
'''

rprog("timeinfo", "Time information",
      "-h       - list available options",
      help)

help = '''
enhanced disasm command related information
'''
github sungju / pycrashext / regext.py View on Github external
help)


help = '''
Shows audit information
'''

rprog("auditinfo", "audit information",
      "-h   - list available options",
      help)

help = '''
Shows tracing information
'''

rprog("traceinfo", "trace information",
      "-h   - list available options",
      help)
github sungju / pycrashext / regext.py View on Github external
command list test.

--cmd  - The command set to run
--list          - Show the command set list
'''

rprog("cmds_test", "command list test",
      "-h       - list available options",
      help)


help = '''
Showing softirq and tasklet details.
'''

rprog("bh", "Bottom Half information",
      "-h       - list available options",
      help)


help = '''
filesystem related information.
'''

rprog("fsinfo", "Filesystem information",
      "-h       - list available options",
      help)

help = '''
CPU related information.
'''
github sungju / pycrashext / regext.py View on Github external
--tasks  - Show tasks in each runqueue
'''

rprog("lockup", "LOCKUP check",
      "-h   - list available options",
      help)


help = '''
Helper function for reverse engineering

--regs  - register details
--asm  - details about an instruction
'''

rprog("revs", "Reverse engineering helper",
      "-h    - list available options",
      help)


help = '''
cgroup information

--tglist    - task group list with details
--tree      - hierarchial display of cgroups
'''

rprog("cgroupinfo", "cgroup information",
      "-h    - list available options",
      help)