Class ServerManager
java.lang.Object
com.aoindustries.aoserv.daemon.server.ServerManager
The
ServerManager controls stuff at a server level.- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcontrolProcess(String process, String command) static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic String[]static Stringstatic Stringstatic Stringstatic longGets the "MemTotal" from/proc/meminfo, converted to bytes.static String[]Gets the listing of the /etc/xen/auto directory.static voidstatic voidstatic voidstatic voidstatic voidstartXfs()static voidstatic voidstopCron()static voidstopXfs()static voidstopXvfb()
-
Method Details
-
controlProcess
- Throws:
IOExceptionSQLException
-
restartCron
- Throws:
IOExceptionSQLException
-
restartXfs
- Throws:
IOExceptionSQLException
-
restartXvfb
- Throws:
IOExceptionSQLException
-
startCron
- Throws:
IOExceptionSQLException
-
startXfs
- Throws:
IOExceptionSQLException
-
startXvfb
- Throws:
IOExceptionSQLException
-
stopCron
- Throws:
IOExceptionSQLException
-
stopXfs
- Throws:
IOExceptionSQLException
-
stopXvfb
- Throws:
IOExceptionSQLException
-
get3wareRaidReport
- Throws:
IOException
-
getMdStatReport
- Throws:
IOException
-
getMdMismatchReport
- Throws:
IOException
-
getDrbdReport
- Throws:
IOExceptionSQLException
-
getLvmReport
- Throws:
IOException
-
getHddTempReport
- Throws:
IOException
-
getHddModelReport
- Throws:
IOException
-
getFilesystemsCsvReport
- Throws:
IOExceptionSQLException
-
getLoadAvgReport
- Throws:
IOException
-
getMemInfoReport
- Throws:
IOException
-
getMemTotal
Gets the "MemTotal" from/proc/meminfo, converted to bytes.- Throws:
IOException
-
getXenAutoStartLinks
Gets the listing of the /etc/xen/auto directory.
-
