HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

k
kwdb(1M) kwdb(1M)
X Print a word in hexadecimal. Increment the address by four.
Y Print a word as a date and time string. Increment the address by four
bytes (see ctime(3C) for format information).
expr Evaluate the expression expr (in kwdb q4
mode only).
fields [flags][struct|union] type
listing fields of a specified type in the format defined by the following flags:
-c print fields in C style.
-h print header even if output is redirected.
-v print fields with offset and size in C style.
-x expand any embedded structures in C style.
forget [num|-num|name]
Delete the current pile or delete a specified pile as specified below. If a pile is not
specified, then the current pile is deleted.
num The pile number.
-num The number of piles before the current pile.
name The pile name.
help q4 Print a list of q4 commands
help q4 cmd Print the help message for the specified q4 command, cmd.
history Print the history of loaded data structures.
include file Load the PERL script from the specified file.
info type-clash [regex]
Enable processing for type-clash and list the types of registers whose name
match with the regular expression specified by regex. If the regex argument is omit-
ted, list all types that have the name CLASH.
keep [cond_expr] Select structures satisfying a condition, cond_expr.
load [-r][type]from addr[max expr | skip expr] next
next_field | until addr
Read a collection of structures:
-r Read the structures without address translation.
type The type of the data structure to read. If the type is not given,
then use the type of addr if available.
from addr Start reading structures from the value of addr. addr can be an
expression.
max expr Read at most expr number of structures.
skip expr Skip expr number of structures before starting to read.
next next_field The name of the field in the structure which points to the next
structure in a linked list.
until addr Read structures until addr is reached. addr can be an expres-
sion.
merge [num|-num|name]
Merge data from a pile specified by num, -num,orname to the current pile. See
the forget command for information on num, -num, and name.
modules Print details of currently loaded DLKM modules.
name it [num|-num|name]
Name the current pile or the pile specified with name.
pileon [type]from field
Read structures of type from values of field from the current pile.
pophistory Pop the piles marked by last pushhistory.
pushhistory Save the state of the current pile history for future popping.
HP-UX 11i Version 3: February 2007 9 Hewlett-Packard Company 417