Library /sys$common/syshlp/helplib.hlb  —  KILL  Examples
    1.$ KILL BU
      Kill BURKHDR      BURKHDR_1       -SUB-     *DCL            <N>? y
      %KILL-I-KILLED, Killed BURKHDR_1
      Kill BURKHDR      Clock_240002B5  -DET-     XCLOCK          <N>?
      Kill BURKHDR      DECW$MWM        -DET-     DECW$MWM        <N>?
      Kill BURKHDR      DECW$TE_02D0     MBA142:  DECW$TERMINAL   <N>? <Ctrl-Z>
      $

      This example demonstrates several points about the KILL
      command:

      1. KILL allows you to specify partial usernames. Wildcarded
         usernames are supported in two cases: a * at the end of a
         username will be ignored (BU* is treated in the same way as
         BU) and a username of * will match all usernames.

      2. By default KILL confirms and logs all kills. This can be
         overridden with /NOCONFIRM and /NOLOG respectively.

      3. The default answer to the confirmation question is no. This
         means that you can safely move through the confirmation list
         by pressing <Return> until you find the right process.

      4. Pressing <Ctrl-Z> at the confirmation prompt exits KILL
         ignoring the remaining processes.

    2.$ KILL/ID=(24009253,2400E2BE,2400D8EA)
      Kill BURKHDR      WKUVX1 BURKHDR_1       -SUB-     *DCL            <N>?
      %KILL-W-SUICIDE, Skipping process 2400E2BE
      Kill BURKHDR      WKUVX1 BURKHDR_2       -SUB-     *DCL            <N>?

      If you specify the PID of your own process in the /ID list,
      you will be warned with a message to that effect. When killing
      by username, the process that is running KILL will be excluded
      from the list of candidates.

    3.$ KILL "<login>",BURKHDR/NODE=*
      Kill <login>      WKUVX1 DECW$LOGINOUT   -SUB-     LOGINOUT        <N>?
      Kill BURKHDR      WKUVX1 Clock_240002B5  -DET-     XCLOCK          <N>?
      Kill BURKHDR      WKUVX1 DECW$MWM        -DET-     DECW$MWM        <N>?
      Kill BURKHDR      WKUVX1 DECW$TE_02D0     MBA142:  DECW$TERMINAL   <N>?
      Kill BURKHDR      WKUVX1 Darrell          FTA315:  RTPAD           <N>?
      Kill BURKHDR      WKUVX1 My Evil Twin     FTA385:  TPU             <N>?
      Kill BURKHDR      WKUVX4 Darrell          RTA1:    MAIL            <N>?
      Kill BURKHDR      WKUVX4 SERVER_0018     -NET-     NETSERVER       <N>?

      The /CONFIRM, /DISCONNECTED, /FORCEX, /KILL, /LOG, and /NODE
      qualifiers are positional, i.e., their meaning depends on
      where they are positioned within the command. Qualfiers that
      appear after the KILL command are global to the command. These
      global qualifiers can be overridden for a particular username
      by including local qualifiers after the username. Thus, in the
      example above, the /NODE=* qualifier applies only to processes
      of the BURKHDR username.

    4.$ KILL/DISC *
      %KILL-W-NOPROCS, No matching processes were found

      When killing by username, the warning message above will be
      displayed if no processes are selected.

    5.$ KILL BURKHDR
      Kill BURKHDR      Clock_240002B5  -DET-     XCLOCK          <N>? f
      %KILL-I-FORCEX, Forced exit for Clock_240002B5
      Kill BURKHDR      DECW$MWM        -DET-     DECW$MWM        <N>? <Ctrl-Z>

      It is possible to override the /KILL and /FORCEX qualifiers
      from the confirmation prompt. Answering with the letter ``F''
      means to force image exit. Answering with the letter ``K''
      means to kill.
Close Help