limiting User from executing a specific process in duplicate

32 Views Asked by At

I'm trying to figure out a way to limit a specific process from running in duplicate.

I have a process (named ops_tool) that is executed with a functional user. This user is accessible to multiple users and the process is executed on demand. If one person executes and another one executes, it's a mess. Reports are generated incorrectly, etc.

what I want is to limit the execution of the process. I could use ulimit to limit the quantity of the processes but that would limit in general and I want to specifically limit that process to 1.

Regards

0

There are 0 best solutions below