Projects in Solaris 10

I need help with projects in Solaris 10, sparc system; and I am fairly new at this.
I know I can add new parameters for projects in /etc/projects or

projmod -a -K "task.max-lwps=(priv,100,deny)" myproject

I know that there are current process using that old attribute.
Logging the user out and logging back in is another method of applying the new change, is there another method of looking up all current PIDs by the user and changing it on the fly?
i.e I just changed the

 "project.max-shm-memory=(privileged,8342973972,deny)"

to

"project.max-shm-memory=(privileged,8342973972,deny)"

in /etc/projects.

Thanks for the help, let me know if I missed anything!

Take a look at newtask.

2 Likes

Thanks, that command works like a charm.

NOTE: it's not persistant across a reboot. if you want the change to be permanent. you need to do projmod AND newtask.