Skip to content

πŸ“ Proc API

linuxpy.proc

iter_cpu_info()

Iterate over CPU info. Each item represents the information about one of the processors in the system.

cpu_info()

CPU info as a sequence of dictionaries, each with information about one of the system processors.

iter_mem_info()

Iterate over the system memory information. Each item is a pair of field name and field value.

mem_info()

System memory information.

iter_modules()

Iterate over system modules. Each item represents the information about one of the modules in the system.

modules()

Modules info as a sequence of dictionaries, each with information about one of the system modules.

iter_stat()

Iterate over the system stats information. Each item is a pair of field name and field value.

stat()

System stats information.

iter_dev()

Iterate over network devices. Each item represents the information about one of the network devices in the system.

dev()

Network devices info as a sequence of dictionaries, each with information about one of the system network devices.

iter_wireless()

Iterate over wireless network devices. Each item represents the information about one of the wireless network devices in the system.

wireless()

Wireless netowrk devices info as a sequence of dictionaries, each with information about one of the system wireless network devices.

iter_netstat()

Iterate over network statistics.

netstat()

Network statistics.

iter_snmp()

Iterate over SNMP statistics.

snmp()

SNMP statistics.