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