pywebui.system

Module Contents

Classes

SysInfo

Resource information object.

ResInfo

Resource information object.

SystemMethods

class pywebui.system.SysInfo

Resource information object.

arch_name

The name of the CPU architecture on which the process is executing.

Type

str

boottime

The time when the node was booted (Unix Epoch format).

Type

int

hw_name

The model name string of the node.

Type

str

nodename

The name of the node.

Type

str

serial_number

The system serial number from out of the Hardware Restart Parameter Block (HWRPB).

Type

str

version

The software version number of the OpenVMS operating system running on the node.

Type

str

class pywebui.system.ResInfo

Resource information object.

activeCPUCount

The active CPU count.

Type

int

bufio

The number of buffered I/Os.

Type

int

cef

The number of processes in the common event flag wait state.

Type

int

clk_tck

The number of CPU/core ‘ticks’ per second.

Type

int

colpg

The number of processes in the collided page wait state.

Type

int

com

The number of processes in the computable state.

Type

int

como

The number of outswapped processes in the computable state.

Type

int

cpuexec

The amount of time, in 10-millisecond units, spent by all CPUs in executive mode.

Type

int

cpuidle

The amount of time, in 10-millisecond units, spent by all CPUs in idle mode.

Type

int

cpuintstk

The amount of time, in 10-millisecond units, spent by all CPUs in processing interrupts.

Type

int

cpukernel

The amount of time, in 10-millisecond units, spent by all CPUs in kernel mode.

Type

int

cpumpsynch

The amount of time, in 10-millisecond units, spent by the primary CPU in synchronization mode.

Type

int

cpusuper

The amount of time, in 10-millisecond units, spent by all CPUs in supervisor mode.

Type

int

cpuuser

The amount of time, in 10-millisecond units, spent by all CPUs in user mode.

Type

int

cputotal

The total amount of time, in 10-millisecond units, spent by all CPUs (cputotal = cpuintstk + cpumpsynch + cpukernel + cpuexec + cpusuper + cpuuser + cpuidle).

Type

int

cur

The number of currently-executing processes.

Type

int

dirio

The number of direct I/Os.

Type

int

fpg

The number of processes in the free page wait state.

Type

int

frlist

The number of pages on the free list.

Type

int

hib

The number of processes in the hibernate state.

Type

int

hibo

The number of outswapped processes in the hibernate state.

Type

int

lef

The number of processes in the local event flag wait state.

Type

int

lefo

The number of outswapped processes in the local event flag wait state.

Type

int

memtotal

The total number of kilobytes of physical memory in the system configuration.

Type

int

memuse

The number of kilobytes of using physical memory in the system configuration.

Type

int

modlist

The number of pages on the modified page list.

Type

int

mwait

The number of processes in the miscellaneous resource wait state.

Type

int

nproc

The number of online/active CPU’s/cores.

Type

int

other

The sum of processes in the common event flag wait, in the collided page wait, in the free page wait, in the suspended states and out swapped processes in the suspended state.

Type

int

pfw

The number of processes in the page fault wait state.

Type

int

susp

The number of processes in the suspended state.

Type

int

suspo

The number of outswapped processes in the suspended state.

Type

int

time

The current system time is the number of seconds since November 17, 1858 (Unix Epoch format).

Type

int

total

The total number of processes.

Type

int

class pywebui.system.SystemMethods
get_sysinfo(self) SysInfo

Returns the system information.

get_resinfo(self) ResInfo

Returns the information about resources of node.