org.cougaar.tools.server.system |
org.cougaar.tools.server.system package overview
org.cougaar.tools.server.system package overview
In this package are system-level access API for:
- Creating a process command-line that will provide
the process-id -- see ProcessLauncher
- Listing the running processes in a structured
format -- see ProcessStatusReader
- Triggering a JVM Thread-Dump -- see
JavaThreadDumper
- Force the kill of a running process -- see
ProcessKiller
See SystemAccessFactor for details and Operating System
dependencies.
See org.cougaar.tools.server.examples.SystemAccess in
the server's "examples/" directory for sample usage.
|
Java Source File Name | Type | Comment |
InvokeUtility.java | Class | Simple utilities for spawning a Process and
capturing the full result to an InputStream . |
JavaThreadDumper.java | Interface | Sent a "\-BREAK" to a process, which will make a JVM
print a full thread dump to StdOut. |
ProcessKiller.java | Interface | Forcefully kill a running process (kill -9). |
ProcessLauncher.java | Interface | |
ProcessStatus.java | Class | A status summary of a running process, which may or may
not be a Java Virtual Machine, which includes references
to parent/child processes and basic process information. |
ProcessStatusReader.java | Interface | |
SystemAccessFactory.java | Class | Operating-System aware factory for creating the various system
access utilities (JavaThreadDumper , etc). |