The listed program appears to issue SIGCONT and SIGSTOP to the offending program. This can work, but it just seems messy. Additionally, the application can ignore those signals, correct?
For a kludge, it seems like it would work. Having worked in academia, however, there are some percentage of users who will try to get around this. On the other hand, that is what the human side of policy is for (lock account, petition to have it reinstated, blah blah blah).
I still contend that this belongs in the scheduler. That being said, however, if this functionality does not exist in the scheduler, then the suggested solution is reasonable.
| [reply] |