pyfarm.agent.sysinfo.system module

System

Information about the operating system including type, filesystem information, and other relevant information. This module may also contain os specific information such as the Linux distribution, Windows version, bitness, etc.

pyfarm.agent.sysinfo.system.filesystem_is_case_sensitive()[source]

returns True if the file system is case sensitive

pyfarm.agent.sysinfo.system.environment_is_case_sensitive()[source]

returns True if the environment is case sensitive

pyfarm.agent.sysinfo.system.machine_architecture(arch='x86_64')[source]

returns the architecture of the host itself

pyfarm.agent.sysinfo.system.interpreter_architecture()[source]

returns the architecture of the interpreter itself (32 or 64)

pyfarm.agent.sysinfo.system.uptime()[source]

Returns the amount of time the system has been running in seconds.

pyfarm.agent.sysinfo.system.operating_system(plat='linux2')[source]

Returns the operating system for the given platform. Please note that while you can call this function directly you’re more likely better off using values in pyfarm.core.enums instead.