8273526: Extend the OSContainer API pids controller with pids.current

Reviewed-by: sgehwolf, iklam
This commit is contained in:
Matthias Baesken 2021-09-16 07:08:19 +00:00
parent 74ffe12267
commit d4546b6b36
14 changed files with 88 additions and 3 deletions

View file

@ -365,6 +365,14 @@ public interface Metrics {
*/
public long getPidsMax();
/**
* Returns the current number of tasks in the Isolation Group.
*
* @return The current number of tasks or -2 if not supported
*
*/
public long getPidsCurrent();
/*****************************************************************
* BlKIO Subsystem
****************************************************************/