Go to main content

Managing System Information, Processes, and Performance in Oracle® Solaris 11.4

Exit Print View

Updated: October 2019
 
 

How to Control Processes

  1. Obtain the process ID of the process that you want to control.
    $ pgrep process

    The process ID displayed in the first column of the output.

  2. If you do not own the process, assume the root role.
    $ su root
    root password: password
    #
  3. Use the appropriate process command to control the process.
    # /usr/bin/pcommand PID
    pcommand

    The process command that you want to run. For a description of all the process commands, see Using the /proc File System and Commands.

    PID

    The process ID.

  4. Verify the process status.
    # ps -ef | grep PID