Original question asked at Detecting exhaustion of resource allowance from within CloudLinux LVE? (serverfault.com) before being allowed access to this forum. In summary: Are LVE constrained users able to call some function in /opt/liblve/liblve.so to, or by any other reasonably costly mean, determine having stepped over a limit?
Since posting the above, I've found what seemed to be an authoritative answer in 2018 in process limit exceeded - how to monitor within user account stating (emphasis added by me):
> End-users can check LVE usage statistics only via control panel interface. Unfortunately, lvetop and lveps commands are not available inside CageFS.
Would that be correct and still being the case? (REST API access might have been added since, but is clearly still way too expensive.)
If so, there is the even older question of Running script whenever user hits resources limits. Is the answer to that one too also still no?
Since posting the above, I've found what seemed to be an authoritative answer in 2018 in process limit exceeded - how to monitor within user account stating (emphasis added by me):
> End-users can check LVE usage statistics only via control panel interface. Unfortunately, lvetop and lveps commands are not available inside CageFS.
Would that be correct and still being the case? (REST API access might have been added since, but is clearly still way too expensive.)
If so, there is the even older question of Running script whenever user hits resources limits. Is the answer to that one too also still no?
Comment