This example shows how to associate a running process with a different task and new project.
Before You Begin
To perform this action, you must be the root user, have the required rights profile, or be the owner of the process and be a member of the new project.
$ pgrep book_catalog 8100
The –c option specifies that newtask operate on the existing named process.
$ newtask -v -p booksite -c 8100 17
$ pgrep -T 17 8100