public class SystemOperation extends Object
A class that implements system operations for using cgroups.
Constructor and Description |
---|
SystemOperation() |
public static boolean isRoot() throws IOException
IOException
public static void mount(String name, String target, String type, String options) throws IOException
IOException
public static void umount(String pathToDir) throws IOException
IOException
public static String exec(String cmd) throws IOException
IOException
Copyright © 2022 The Apache Software Foundation. All rights reserved.