psutil._psaix

AIX platform implementation.

Module Contents

__extra__all__ = ['PROCFS_PATH']
HAS_THREADS
PAGE_SIZE
PROC_STATUSES
TCP_STATUSES
proc_info_map
NoSuchProcess
ZombieProcess
AccessDenied
TimeoutExpired
pmem
pfullmem
scputimes
svmem
get_procfs_path()

Return updated psutil.PROCFS_PATH constant.

virtual_memory()
swap_memory()

Swap system memory as a (total, used, free, sin, sout) tuple.

cpu_times()

Return system-wide CPU times as a named tuple

per_cpu_times()

Return system per-CPU times as a list of named tuples

cpu_count_logical()

Return the number of logical CPUs in the system.

cpu_count_physical()
cpu_stats()

Return various CPU stats as a named tuple.

disk_io_counters
disk_usage
disk_partitions(all=False)

Return system disk partitions.

net_if_addrs
net_io_counters
net_connections(kind, _pid=-1)

Return socket connections. If pid == -1 return system-wide connections (as opposed to connections opened by one process only).

net_if_stats()

Get NIC stats (isup, duplex, speed, mtu).

boot_time()

The system boot time expressed in seconds since the epoch.

users()

Return currently connected users as a list of namedtuples.

pids()

Returns a list of PIDs currently running on the system.

pid_exists(pid)

Check for the existence of a unix pid.

wrap_exceptions(fun)

Call callable into a try/except clause and translate ENOENT, EACCES and EPERM in NoSuchProcess or AccessDenied exceptions.

class Process(pid)

Bases:object

Wrapper class around underlying C implementation.

__slots__ = ['pid', '_name', '_ppid', '_procfs_path', '_cache']
memory_full_info
oneshot_enter(self)
oneshot_exit(self)
_proc_name_and_args(self)
_proc_basic_info(self)
_proc_cred(self)
name(self)
exe(self)
cmdline(self)
create_time(self)
num_threads(self)
threads(self)
connections(self, kind='inet')
nice_get(self)
nice_set(self, value)
ppid(self)
uids(self)
gids(self)
cpu_times(self)
terminal(self)
cwd(self)
memory_info(self)
status(self)
open_files(self)
num_fds(self)
num_ctx_switches(self)
wait(self, timeout=None)
io_counters(self)