Assume you have a configuration with two pools that are named studio and backstage. The /etc/project file has the following contents:
user.paul:1024::::project.pool=studio user.george:1024::::project.pool=studio user.ringo:1024::::project.pool=backstage passes:1027::paul::project.pool=backstage
With this configuration, processes that are started by user paul are bound by default to the studio pool.
User paul can modify the pool binding for processes he starts. paul can use newtask to bind work to the backstage pool as well, by launching in the passes project.
$ newtask -l -p passes
Use a double dollar sign ($$) to pass the process number of the parent shell to the command.
$ poolbind -q $$ 6384 pool backstage
The system displays the process ID and the pool binding.