module Psutil::Linux
Extended Modules
Defined in:
linux/cpu.crlinux/disk.cr
linux/disk_common_types.cr
linux/host.cr
linux/load.cr
linux/memory.cr
linux/net.cr
Constant Summary
-
ADFS_SUPER_MAGIC =
44533
-
AFFS_SUPER_MAGIC =
44543
-
AFS_SUPER_MAGIC =
1397113167
-
ANON_INODE_FS_SUPER_MAGIC =
151263540
-
AUFS_SUPER_MAGIC =
1635083891
-
BDEVFS_MAGIC =
1650746742
-
BEFS_SUPER_MAGIC =
1111905073
-
BFS_MAGIC =
464386766
-
BINFMTFS_MAGIC =
1112100429
-
BTRFS_SUPER_MAGIC =
2435016766_i64
-
CEPH_SUPER_MAGIC =
12805120
-
CGROUP_SUPER_MAGIC =
2613483
-
CIFS_MAGIC_NUMBER =
4283649346_i64
-
CODA_SUPER_MAGIC =
1937076805
-
COH_SUPER_MAGIC =
19920823
-
CPU_TICK =
100_f64
-
CRAMFS_MAGIC =
684539205
-
DEBUGFS_MAGIC =
1684170528
-
DEVFS_SUPER_MAGIC =
4979
-
DEVPTS_SUPER_MAGIC =
7377
-
DISK_SECTOR_SIZE =
512
-
ECRYPTFS_SUPER_MAGIC =
61791
-
EFIVARFS_MAGIC =
3730735588_i64
-
EFS_SUPER_MAGIC =
4278867
-
EXT2_OLD_SUPER_MAGIC =
61265
-
EXT2_SUPER_MAGIC =
61267
-
EXT3_SUPER_MAGIC =
61267
-
EXT4_SUPER_MAGIC =
61267
-
EXT_SUPER_MAGIC =
4989
-
FAT_SUPER_MAGIC =
16390
-
FHGFS_SUPER_MAGIC =
428016422
-
FS_TYPES_MAP =
{ADFS_SUPER_MAGIC => "adfs", AFFS_SUPER_MAGIC => "affs", AFS_SUPER_MAGIC => "afs", ANON_INODE_FS_SUPER_MAGIC => "anon-inode FS", AUFS_SUPER_MAGIC => "aufs", BEFS_SUPER_MAGIC => "befs", BDEVFS_MAGIC => "bdevfs", BFS_MAGIC => "bfs", BINFMTFS_MAGIC => "binfmt_misc", BTRFS_SUPER_MAGIC => "btrfs", CEPH_SUPER_MAGIC => "ceph", CGROUP_SUPER_MAGIC => "cgroupfs", CIFS_MAGIC_NUMBER => "cifs", CODA_SUPER_MAGIC => "coda", COH_SUPER_MAGIC => "coh", CRAMFS_MAGIC => "cramfs", DEBUGFS_MAGIC => "debugfs", DEVFS_SUPER_MAGIC => "devfs", DEVPTS_SUPER_MAGIC => "devpts", ECRYPTFS_SUPER_MAGIC => "ecryptfs", EFS_SUPER_MAGIC => "efs", EXT_SUPER_MAGIC => "ext", EXT2_SUPER_MAGIC => "ext2/ext3", EXT2_OLD_SUPER_MAGIC => "ext2", FAT_SUPER_MAGIC => "fat", FHGFS_SUPER_MAGIC => "fhgfs", FUSEBLK_SUPER_MAGIC => "fuseblk", FUSECTL_SUPER_MAGIC => "fusectl", FUTEXFS_SUPER_MAGIC => "futexfs", GFS_SUPER_MAGIC => "gfs/gfs2", GPFS_SUPER_MAGIC => "gpfs", HFS_SUPER_MAGIC => "hfs", HPFS_SUPER_MAGIC => "hpfs", HUGETLBFS_MAGIC => "hugetlbfs", MTD_INODE_FS_SUPER_MAGIC => "inodefs", INOTIFYFS_SUPER_MAGIC => "inotifyfs", ISOFS_SUPER_MAGIC => "isofs", ISOFS_R_WIN_SUPER_MAGIC => "isofs", ISOFS_WIN_SUPER_MAGIC => "isofs", JFFS_SUPER_MAGIC => "jffs", JFFS2_SUPER_MAGIC => "jffs2", JFS_SUPER_MAGIC => "jfs", KAFS_SUPER_MAGIC => "k-afs", LUSTRE_SUPER_MAGIC => "lustre", MINIX_SUPER_MAGIC => "minix", MINIX_SUPER_MAGIC2 => "minix (30 char.)", MINIX2_SUPER_MAGIC => "minix v2", MINIX2_SUPER_MAGIC2 => "minix v2 (30 char.)", MINIX3_SUPER_MAGIC => "minix3", MQUEUE_MAGIC => "mqueue", MSDOS_SUPER_MAGIC => "msdos", NCP_SUPER_MAGIC => "novell", NFS_SUPER_MAGIC => "nfs", NFSD_SUPER_MAGIC => "nfsd", NILFS_SUPER_MAGIC => "nilfs", NTFS_SB_MAGIC => "ntfs", OPENPROM_SUPER_MAGIC => "openprom", OCFS2_SUPER_MAGIC => "ocfs2", PANFS_SUPER_MAGIC => "panfs", PIPEFS_MAGIC => "pipefs", PROC_SUPER_MAGIC => "proc", PSTOREFS_MAGIC => "pstorefs", QNX4_SUPER_MAGIC => "qnx4", QNX6_SUPER_MAGIC => "qnx6", RAMFS_MAGIC => "ramfs", REISERFS_SUPER_MAGIC => "reiserfs", ROMFS_MAGIC => "romfs", RPC_PIPEFS_SUPER_MAGIC => "rpc_pipefs", SECURITYFS_SUPER_MAGIC => "securityfs", SELINUX_MAGIC => "selinux", SMB_SUPER_MAGIC => "smb", SOCKFS_MAGIC => "sockfs", SQUASHFS_MAGIC => "squashfs", SYSFS_MAGIC => "sysfs", SYSV2_SUPER_MAGIC => "sysv2", SYSV4_SUPER_MAGIC => "sysv4", TMPFS_MAGIC => "tmpfs", UDF_SUPER_MAGIC => "udf", UFS_MAGIC => "ufs", UFS_BYTESWAPPED_SUPER_MAGIC => "ufs", USBDEVICE_SUPER_MAGIC => "usbdevfs", V9FS_MAGIC => "v9fs", VMHGFS_SUPER_MAGIC => "vmhgfs", VXFS_SUPER_MAGIC => "vxfs", VZFS_SUPER_MAGIC => "vzfs", XENFS_SUPER_MAGIC => "xenfs", XENIX_SUPER_MAGIC => "xenix", XFS_SUPER_MAGIC => "xfs", XIAFS_SUPER_MAGIC => "xia", ZFS_SUPER_MAGIC => "zfs"}
-
FUSE_SUPER_MAGIC =
1702057286
-
FUSEBLK_SUPER_MAGIC =
1702057286
-
FUSECTL_SUPER_MAGIC =
1702057283
-
FUTEXFS_SUPER_MAGIC =
195894762
-
GFS_SUPER_MAGIC =
18225520
-
GPFS_SUPER_MAGIC =
1196443219
-
HFS_SUPER_MAGIC =
16964
-
HOSTFS_SUPER_MAGIC =
12648430
-
HPFS_SUPER_MAGIC =
4187351113_i64
-
HUGETLBFS_MAGIC =
2508478710_i64
-
INOTIFYFS_SUPER_MAGIC =
732765674
-
ISOFS_R_WIN_SUPER_MAGIC =
16388
-
ISOFS_SUPER_MAGIC =
38496
-
ISOFS_WIN_SUPER_MAGIC =
16384
-
JFFS2_SUPER_MAGIC =
29366
-
JFFS_SUPER_MAGIC =
1984
-
JFS_SUPER_MAGIC =
827541066
-
KAFS_SUPER_MAGIC =
1799439955
-
LUSTRE_SUPER_MAGIC =
198183888
-
MINIX2_SUPER_MAGIC =
9320
-
MINIX2_SUPER_MAGIC2 =
9336
-
MINIX3_SUPER_MAGIC =
19802
-
MINIX_SUPER_MAGIC =
4991
-
MINIX_SUPER_MAGIC2 =
5007
-
MQUEUE_MAGIC =
427819522
-
MSDOS_SUPER_MAGIC =
19780
-
MTD_INODE_FS_SUPER_MAGIC =
288389204
-
NCP_SUPER_MAGIC =
22092
-
NFS_SUPER_MAGIC =
26985
-
NFSD_SUPER_MAGIC =
1852207972
-
NILFS_SUPER_MAGIC =
13364
-
NTFS_SB_MAGIC =
1397118030
-
OCFS2_SUPER_MAGIC =
1952539503
-
OPENPROM_SUPER_MAGIC =
40865
-
PANFS_SUPER_MAGIC =
2866260714_i64
-
PIPEFS_MAGIC =
1346981957
-
PROC_SUPER_MAGIC =
40864
-
PSTOREFS_MAGIC =
1634035564
-
QNX4_SUPER_MAGIC =
47
-
QNX6_SUPER_MAGIC =
1746473250
-
RAMFS_MAGIC =
2240043254_i64
-
REISERFS_SUPER_MAGIC =
1382369651
-
ROMFS_MAGIC =
29301
-
RPC_PIPEFS_SUPER_MAGIC =
1733912937
-
SECURITYFS_SUPER_MAGIC =
1935894131
-
SELINUX_MAGIC =
4185718668_i64
-
SMACK_MAGIC =
1128357203
-
SMB_SUPER_MAGIC =
20859
-
SOCKFS_MAGIC =
1397703499
-
SQUASHFS_MAGIC =
1936814952
-
SYSFS_MAGIC =
1650812274
-
SYSV2_SUPER_MAGIC =
19920822
-
SYSV4_SUPER_MAGIC =
19920821
-
TMPFS_MAGIC =
16914836
-
UDF_SUPER_MAGIC =
352400198
-
UFS_BYTESWAPPED_SUPER_MAGIC =
1410924800
-
UFS_MAGIC =
72020
-
USBDEVICE_SUPER_MAGIC =
40866
-
V9FS_MAGIC =
16914839
-
VMHGFS_SUPER_MAGIC =
3133910204_i64
-
VXFS_SUPER_MAGIC =
2768370933_i64
-
VZFS_SUPER_MAGIC =
1448756819
-
XENFS_SUPER_MAGIC =
2881100148_i64
-
XENIX_SUPER_MAGIC =
19920820
-
XFS_SUPER_MAGIC =
1481003842
-
XIAFS_SUPER_MAGIC =
19911021
-
ZFS_SUPER_MAGIC =
801189825
Instance Method Summary
- #cpu_times(per_cpu = true)
- #disk_io_counters
- #disk_partitions(all = false)
- #disk_usage(path = "/")
- #host_info
- #load_avg
- #net_io_counters(all = true)
- #virtual_memory