How do I limit the system unit time that a process can use?
I have some processes that often hang and I had this thought that maybe they could be killed after they used a fixed amount of cpu resources. It's easy for me to see that these specific processes have hung by using AIX's "topas" utility.
When I do "ps -ef" I can easily spot the hung processes by looking at the values in the 'C' and 'TIME' columns.
I tried the "chuser" command with the "cpu=" and "cpu_hard=" parameters, but that did not work.
I have two questions:
1. Can what I want to do be done?
2. The man page for "chuser" says that "cpu" and "cpu_hard" sets the "largest amount of system unit time (in seconds) that a user's process can use". How do I monitor "system unit time"?