sswap(total=4294963200, used=0, free=4294963200, percent=0.0, sin=0, sout=0)
----
磁盘
disk_partitions 获取所有磁盘信息.../dev/loop1', mountpoint='/snap/core/11798', fstype='squashfs', opts='ro,nodev,relatime')
disk_usage 获取单个磁盘信息...io信息
disk_io_counters 获取io信息
psutil.disk_io_counters()
sdiskio(read_count=30304, # 读取次数
write_count...SocketKind.SOCK_STREAM: 1>, laddr=addr(ip='0.0.0.0', port=3306), raddr=(), status='LISTEN', pid=1472)
net_if_addrs 获取网卡的信息...26669, 26836, 26957, 27171, 27261, 27264, 27669, 27670, 27671, 27745, 27759, 27760, 27762, 27764, 27769
获取进程信息