HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
n
nadb(1) nadb(1)
z signum [ +s | -s | +r | -r | +d | -d ]
Changes signal handling for a specified signum for all the threads of the current sub-
process. Disposition can be specified as:
+s Stop subprocess when signum is received.
-s Do not stop subprocess when signum is received.
+r Report when signum is received.
-r Do not report when signum is received.
+d Deliver signum to the target subprocess.
-d Do not deliver signal to the target subprocess.
w [ pid ] Switches from the current subprocess to the subprocess with process ID pid. This pro-
cess becomes the current subprocess. This subprocess must be an already attached or
created subprocess. Both subprocesses are in stopped state after this command.
wc [ pid ] Same as
w
however the previous current subprocess is not stopped.
Thread Commands
These commands manage the threads in the current subprocess. The command consists of a
] followed by
a modifier and an optional argument list.
s [ signum ]Sameas
:s. However it is strictly for the current thread only.
c [ signum ]Sameas:c. However it continues only the current thread. And count refers to the break-
point to skip for the current thread.
b [ command ]Sameas
:b. However it applies to the current thread only.
d [ num | * ]Sameas:d. However it applies to current thread only.
en [ num | * ]Sameas:en. However it applies to the current thread only.
di [ num | * ]Sameas:di. However it applies to the current thread only.
z signum [ +s | -s | +r | -r | +d | -d ]
Same as :z. However it is meant for the current thread only. If a signum occurs in the
context of this thread this disposition value is used instead of that of the subprocess.
es [ signum ] Sets the flag for this signum for the current thread. It means that if this signal signum
occurs in the context of this thread’s signal disposition value is used instead of that of the
subprocess.
w [ pid ] Switch from the current thread to some other thread. Both the threads are in stopped
state after this and the thread with threadid becomes the current thread.
Shell Commands
This action consists of a
! character followed by a string. The string is passed unchanged to the shell
defined by the SHELL environment variable or to /bin/sh.
Variable Commands
This is supported in backward compatibility mode only. It consists of a > followed by a variable, var and an
optional value. This action assigns value to the variable or register named by var.
If not specified, value is assumed to be the value of
dot. This behavior is deprecated.
Keyword Form Commands
All commands in this form consist of a keyword followed by a variable number of arguments.
In backward compatibility mode, a $ must precede these keyword form commands.
< filename Reads commands from filename. If this command is executed in a file, further com-
mands in the file are not seen.
In backward compatibility mode, if a count is given, it is placed in variable 9 before
the first command in the file is executed. This behavior is deprecated.
<< filename Similar to < except it can be used in a file of commands without causing the file to be
closed.
Section 1−−582 Hewlett-Packard Company − 6 − HP-UX 11i Version 1: September 2005