<< Click to Display Table of Contents >>

Monitor

This class provides methods related to the monitor log function of OZ Server.


Constructor Detail

Monitor

public Monitor(String url, String id, String pw, boolean bAutoLogin, boolean useUSL)

Performs the real-time monitoring related functions of OZ Server.

Parameters:

url - URL of OZ Server

id - User ID

pw - User Password

bAutoLogin - Whether to use the AutoLogin

useUSL - Whether to use the USL


Method Detail

getVersions

public Versions getVersions() throws OZCPException

Gets the version information of the server and respective modules.

getMemoryInfo

public MemoryStatus getMemoryInfo() throws OZCPException

Gets the current memory usage status.(total memory, used memory, free memory)

downloadMonitorLog

public byte[] downloadMonitorLog() throws OZCPException

Gets the monitor log file saved in the Server.

downloadMonitorLog

public void downloadMonitorLog(String fileName) throws OZCPException

Gets the monitor log file saved in the Server and saves it in the set location as file name.