platypush.message.response.system

class platypush.message.response.system.ConnectUserResponse(name: str, terminal: str, host: str, started: datetime.datetime, pid: Optional[int] = None, *args, **kwargs)[source]
__init__(name: str, terminal: str, host: str, started: datetime.datetime, pid: Optional[int] = None, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.ConnectedUserResponseList(responses: List[platypush.message.response.system.ConnectUserResponse], *args, **kwargs)[source]
__init__(responses: List[platypush.message.response.system.ConnectUserResponse], *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.CpuFrequencyResponse(min: int, max: int, current: int, *args, **kwargs)[source]
__init__(min: int, max: int, current: int, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.CpuInfoResponse(arch: str, bits: int, count: int, vendor_id: str, brand: str, hz_advertised: int, hz_actual: int, model: int, flags: List[str], family: Optional[int], stepping: Optional[int], l1_instruction_cache_size: Union[int, str, None], l1_data_cache_size: Union[int, str, None], l2_cache_size: Union[int, str, None], l3_cache_size: Union[int, str, None], *args, **kwargs)[source]
__init__(arch: str, bits: int, count: int, vendor_id: str, brand: str, hz_advertised: int, hz_actual: int, model: int, flags: List[str], family: Optional[int], stepping: Optional[int], l1_instruction_cache_size: Union[int, str, None], l1_data_cache_size: Union[int, str, None], l2_cache_size: Union[int, str, None], l3_cache_size: Union[int, str, None], *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.CpuResponse(target=None, origin=None, id=None, output=None, errors=None, timestamp=None, disable_logging=False)[source]
class platypush.message.response.system.CpuResponseList(responses: List[platypush.message.response.system.CpuResponse], *args, **kwargs)[source]
__init__(responses: List[platypush.message.response.system.CpuResponse], *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.CpuStatsResponse(ctx_switches: int, interrupts: int, soft_interrupts: int, syscalls: int, *args, **kwargs)[source]
__init__(ctx_switches: int, interrupts: int, soft_interrupts: int, syscalls: int, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.CpuTimesResponse(user: float, nice: float, system: float, idle: float, iowait: float, irq: float, softirq: float, steal: float, guest: float, guest_nice: float, *args, **kwargs)[source]
__init__(user: float, nice: float, system: float, idle: float, iowait: float, irq: float, softirq: float, steal: float, guest: float, guest_nice: float, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.DiskIoCountersResponse(read_count: int, write_count: int, read_bytes: int, write_bytes: int, read_time: int, write_time: int, read_merged_count: int, write_merged_count: int, busy_time: int, disk: Optional[str] = None, *args, **kwargs)[source]
__init__(read_count: int, write_count: int, read_bytes: int, write_bytes: int, read_time: int, write_time: int, read_merged_count: int, write_merged_count: int, busy_time: int, disk: Optional[str] = None, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.DiskPartitionResponse(device: str, mount_point: str, fstype: Optional[str] = None, opts: Optional[str] = None, *args, **kwargs)[source]
__init__(device: str, mount_point: str, fstype: Optional[str] = None, opts: Optional[str] = None, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.DiskResponse(target=None, origin=None, id=None, output=None, errors=None, timestamp=None, disable_logging=False)[source]
class platypush.message.response.system.DiskResponseList(responses: List[platypush.message.response.system.DiskResponse], *args, **kwargs)[source]
__init__(responses: List[platypush.message.response.system.DiskResponse], *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.DiskUsageResponse(path: str, total: int, used: int, free: int, percent: float, *args, **kwargs)[source]
__init__(path: str, total: int, used: int, free: int, percent: float, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.MemoryResponse(target=None, origin=None, id=None, output=None, errors=None, timestamp=None, disable_logging=False)[source]
class platypush.message.response.system.NetworkAddressResponse(nic: str, ipv4_address: Optional[str] = None, ipv4_netmask: Optional[str] = None, ipv4_broadcast: Optional[str] = None, ipv6_address: Optional[str] = None, ipv6_netmask: Optional[str] = None, ipv6_broadcast: Optional[str] = None, mac_address: Optional[str] = None, mac_broadcast: Optional[str] = None, ptp: Optional[str] = None, *args, **kwargs)[source]
__init__(nic: str, ipv4_address: Optional[str] = None, ipv4_netmask: Optional[str] = None, ipv4_broadcast: Optional[str] = None, ipv6_address: Optional[str] = None, ipv6_netmask: Optional[str] = None, ipv6_broadcast: Optional[str] = None, mac_address: Optional[str] = None, mac_broadcast: Optional[str] = None, ptp: Optional[str] = None, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.NetworkConnectionResponse(fd: int, family: str, type: str, local_address: str, local_port: int, remote_address: str, remote_port: int, status: str, pid: int, *args, **kwargs)[source]
__init__(fd: int, family: str, type: str, local_address: str, local_port: int, remote_address: str, remote_port: int, status: str, pid: int, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.NetworkInterfaceStatsResponse(nic: str, is_up: bool, duplex: str, speed: int, mtu: int, *args, **kwargs)[source]
__init__(nic: str, is_up: bool, duplex: str, speed: int, mtu: int, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.NetworkIoCountersResponse(bytes_sent: int, bytes_recv: int, packets_sent: int, packets_recv: int, errin: int, errout: int, dropin: int, dropout: int, nic: Optional[str] = None, *args, **kwargs)[source]
__init__(bytes_sent: int, bytes_recv: int, packets_sent: int, packets_recv: int, errin: int, errout: int, dropin: int, dropout: int, nic: Optional[str] = None, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.NetworkResponse(target=None, origin=None, id=None, output=None, errors=None, timestamp=None, disable_logging=False)[source]
class platypush.message.response.system.NetworkResponseList(responses: List[platypush.message.response.system.NetworkResponse], *args, **kwargs)[source]
__init__(responses: List[platypush.message.response.system.NetworkResponse], *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.ProcessResponse(pid: int, name: str, started: datetime.datetime, ppid: Optional[int], children: Optional[List[int]] = None, exe: Optional[List[str]] = None, status: Optional[str] = None, username: Optional[str] = None, terminal: Optional[str] = None, cpu_user_time: Optional[float] = None, cpu_system_time: Optional[float] = None, cpu_children_user_time: Optional[float] = None, cpu_children_system_time: Optional[float] = None, mem_rss: Optional[int] = None, mem_vms: Optional[int] = None, mem_shared: Optional[int] = None, mem_text: Optional[int] = None, mem_data: Optional[int] = None, mem_lib: Optional[int] = None, mem_dirty: Optional[int] = None, mem_percent: Optional[float] = None, *args, **kwargs)[source]
__init__(pid: int, name: str, started: datetime.datetime, ppid: Optional[int], children: Optional[List[int]] = None, exe: Optional[List[str]] = None, status: Optional[str] = None, username: Optional[str] = None, terminal: Optional[str] = None, cpu_user_time: Optional[float] = None, cpu_system_time: Optional[float] = None, cpu_children_user_time: Optional[float] = None, cpu_children_system_time: Optional[float] = None, mem_rss: Optional[int] = None, mem_vms: Optional[int] = None, mem_shared: Optional[int] = None, mem_text: Optional[int] = None, mem_data: Optional[int] = None, mem_lib: Optional[int] = None, mem_dirty: Optional[int] = None, mem_percent: Optional[float] = None, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.ProcessResponseList(responses: List[platypush.message.response.system.ProcessResponse], *args, **kwargs)[source]
__init__(responses: List[platypush.message.response.system.ProcessResponse], *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.SensorBatteryResponse(percent: float, secs_left: int, power_plugged: bool, *args, **kwargs)[source]
__init__(percent: float, secs_left: int, power_plugged: bool, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.SensorFanResponse(name: str, current: int, label: Optional[str] = None, *args, **kwargs)[source]
__init__(name: str, current: int, label: Optional[str] = None, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.SensorResponse(target=None, origin=None, id=None, output=None, errors=None, timestamp=None, disable_logging=False)[source]
class platypush.message.response.system.SensorResponseList(responses: List[platypush.message.response.system.SensorResponse], *args, **kwargs)[source]
__init__(responses: List[platypush.message.response.system.SensorResponse], *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.SensorTemperatureResponse(name: str, current: float, high: Optional[float] = None, critical: Optional[float] = None, label: Optional[str] = None, *args, **kwargs)[source]
__init__(name: str, current: float, high: Optional[float] = None, critical: Optional[float] = None, label: Optional[str] = None, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.SwapMemoryUsageResponse(total: int, percent: float, used: int, free: int, sin: int, sout: int, *args, **kwargs)[source]
__init__(total: int, percent: float, used: int, free: int, sin: int, sout: int, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.SystemResponse(target=None, origin=None, id=None, output=None, errors=None, timestamp=None, disable_logging=False)[source]
class platypush.message.response.system.SystemResponseList(responses: List[platypush.message.response.system.SystemResponse], *args, **kwargs)[source]
__init__(responses: List[platypush.message.response.system.SystemResponse], *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]

class platypush.message.response.system.VirtualMemoryUsageResponse(total: int, available: int, percent: float, used: int, free: int, active: int, inactive: int, buffers: int, cached: int, shared: int, *args, **kwargs)[source]
__init__(total: int, available: int, percent: float, used: int, free: int, active: int, inactive: int, buffers: int, cached: int, shared: int, *args, **kwargs)[source]
Params:

target – Target [String] origin – Origin [String] output – Output [String] errors – Errors [List of strings or exceptions]

id – Message ID this response refers to

timestamp – Message timestamp [Float]