SystemInformation#

class caf.toolkit.log_helpers.SystemInformation(user, pc_name, python_version, operating_system, architecture, processor, cpu_count, total_ram)[source]#

Information about the PC and Python version.

Parameters:

Attributes

user

Account name of the currently logged in user.

pc_name

Name of the PC.

python_version

Python version being used.

operating_system

Information about the name and version of OS.

architecture

Name of the machine architecture e.g. "AMD64".

processor

Name of the processor e.g. "Intel64 Family 6 Model 85 Stepping 7, GenuineIntel".

cpu_count

Number of logical CPU cores on the machine.

total_ram

Total virtual memory (bytes) on the machine.

Methods

__init__(*args, **kwargs)

load()

Load system information.

Attributes Documentation

user: str[source]#

Account name of the currently logged in user.

pc_name: str[source]#

Name of the PC.

python_version: str[source]#

Python version being used.

operating_system: str[source]#

Information about the name and version of OS.

architecture: str[source]#

Name of the machine architecture e.g. “AMD64”.

processor: str[source]#

Name of the processor e.g. “Intel64 Family 6 Model 85 Stepping 7, GenuineIntel”.

cpu_count: int | None[source]#

Number of logical CPU cores on the machine.

total_ram: int | None[source]#

Total virtual memory (bytes) on the machine.