runcpu subcommand
The runcpu subcommand allows you to run any other kdb subcommand to for every processor in the system. It is intended for use with subcommands such as the f subcommand for which the output depends on the current processor in the KDB kernel debugger.
Format
runcpu cmd
Parameters
Item | Description |
---|---|
cmd | Specifies the kdb subcommand that is to be run for every processor in the system. |
The specified command only runs on processors that the KDB kernel debugger has stopped. If errors occur when the command is run on a particular processor, the runcpu subcommand continues and runs the command on the next processor. The runcpu subcommand can be stopped by pressing Ctrl+C.
Other
No aliases.
Examples
The following is an example of how to use the runcpu subcommand:
KDB(0)> runcpu f
--- CPU #0 ---
pvthread+000200 STACK:
[00026078]waitproc_find_run_queue+00018C (0000000000000001 [??])
[000285DC]waitproc+000134 ()
[000DE8F8]procentry+000010 (??, ??, ??, ??)
--- CPU #1 ---
pvthread+000300 STACK:
[00026124]waitproc_find_run_queue+000238 (0000000000000080 [??])
[000285DC]waitproc+000134 ()
[000DE8F8]procentry+000010 (??, ??, ??, ??)
KDB(0)>