ServerInfo
- class tomcatmanager.models.ServerInfo(*args, **kwargs)
Discrete data about the Tomcat server.
This object is a dictionary of keys and values as returned from the Tomcat server. It also has properties for well-known values.
Usage:
>>> tomcat = getfixture('tomcat') >>> r = tomcat.server_info() >>> r.server_info['OS Architecture'] '...' >>> r.server_info.jvm_vendor '...'
- property tomcat_major_minor: tomcatmanager.models.TomcatMajorMinor
An instance of
TomcatMajorMinor
indicating which major and minor version of Tomcat is running on the server.This value is computed, not received from the server, and therefore does not show up in the dictionary, ie
server_info["tomcat_major_minor"]
does not exist.New in version 3.0.0.
- property tomcat_version
The tomcat version string.
- property os_name
The operating system name.
- property os_version
The operating system version.
- property os_architecture
The operating system architecture.
- property jvm_version
The java virtual machine version string.
- property jvm_vendor
The java virtual machine vendor.