System Administration Guide: Advanced Administration

Example—Controlling Processes

The following example shows how to use process tools to stop and restart dtpad.


# pgrep dtpad 1
2921
# pstop 2921 2
# prun 2921 3
  1. Obtains the process identification number for dtpad

  2. Stops the dtpad process

  3. Restarts the dtpad process