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 void
controlProcess
(String process, String command) static String
static String
static String
static String
static String
static String
static String[]
static String
static String
static String
static long
Gets the "MemTotal" from/proc/meminfo
, converted to bytes.static String[]
Gets the listing of the /etc/xen/auto directory.static void
static void
static void
static void
static void
startXfs()
static void
static void
stopCron()
static void
stopXfs()
static void
stopXvfb()
-
Method Details
-
controlProcess
- Throws:
IOException
SQLException
-
restartCron
- Throws:
IOException
SQLException
-
restartXfs
- Throws:
IOException
SQLException
-
restartXvfb
- Throws:
IOException
SQLException
-
startCron
- Throws:
IOException
SQLException
-
startXfs
- Throws:
IOException
SQLException
-
startXvfb
- Throws:
IOException
SQLException
-
stopCron
- Throws:
IOException
SQLException
-
stopXfs
- Throws:
IOException
SQLException
-
stopXvfb
- Throws:
IOException
SQLException
-
get3wareRaidReport
- Throws:
IOException
-
getMdStatReport
- Throws:
IOException
-
getMdMismatchReport
- Throws:
IOException
-
getDrbdReport
- Throws:
IOException
-
getLvmReport
- Throws:
IOException
-
getHddTempReport
- Throws:
IOException
-
getHddModelReport
- Throws:
IOException
-
getFilesystemsCsvReport
- Throws:
IOException
SQLException
-
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.
-