Trees | Indices | Help |
|
---|
|
object --+ | _SysInfo
Determines and saves the system information.
To Do: Does not support remote hosts from windows
|
|||
|
|||
|
|||
|
|||
None |
|
||
str |
|
||
None |
|
||
|
|||
str |
|
||
str |
|
||
|
|||
str |
|
||
Inherited from |
|
|||
_host_entry_name 'Title from schrodinger.hosts |
|||
_ssh_host_name 'Host' from schrodinger.hosts |
|
|||
host | |||
name | |||
bool |
isLinux Is this a Linux platform? |
||
bool |
isWindows Is this a Windows platform? |
||
bool |
isDarwin Is this a Darwin/Mac platform? |
||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Finds the _host_entry_name and _ssh_host_name based on the host argument.
|
Finds the host's SCHRODINGER path based on the hosts file.
|
Returns a string of os version information. Uses python's platform.linux_distribution, platform.mac_ver, or platform.win32_ver for Linux, Mac and Windows, respectively.
|
Returns a string of processor information. Uses platform.processor, sysctl -n machdep.cpu.brand_string, or /proc/cpuinfo on Windows, Mac and Linux, respectively.
|
Allows direct printing of the _SysInfo object.
|
|
name
|
isLinuxIs this a Linux platform?
|
isWindowsIs this a Windows platform?
|
isDarwinIs this a Darwin/Mac platform?
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon May 19 23:05:26 2014 | http://epydoc.sourceforge.net |