MCPcopy Create free account

hub / github.com/GuillaumeGomez/sysinfo / functions

Functions1,805 in github.com/GuillaumeGomez/sysinfo

Methodnext
(&mut self)
src/unix/network_helper.rs:108
Methodnothing
Creates a new `DiskRefreshKind` with every refresh set to false. ``` use sysinfo::DiskRefreshKind; let r = DiskRefreshKind::nothing(); assert_eq!(r
src/common/disk.rs:423
Methodnothing
Creates a new `ProcessRefreshKind` with every refresh set to `false`, except for `tasks`. By default, we want to list all processes and tasks are cons
src/common/system.rs:2647
Methodopen
(hkey: HKEY, path: &[u16])
src/windows/system.rs:568
Functionopen_files
()
tests/process.rs:1165
Methodopen_files
(&self)
src/unix/bsd/freebsd/process.rs:66
Methodopen_files
(&self)
src/unix/bsd/netbsd/process.rs:54
Methodopen_files
(&self)
src/unix/apple/macos/process.rs:265
Methodopen_files
(&self)
src/unix/apple/app_store/process.rs:118
Methodopen_files
(&self)
src/unix/linux/process.rs:325
Methodopen_files
(&self)
src/windows/process.rs:593
Methodopen_files
(&self)
src/unknown/process.rs:128
Functionopen_files_counts_the_open_descriptors
()
tests/open_files.rs:99
Methodopen_files_limit
(&self)
src/unix/bsd/freebsd/process.rs:111
Methodopen_files_limit
()
src/unix/bsd/freebsd/system.rs:258
Methodopen_files_limit
(&self)
src/unix/bsd/netbsd/process.rs:65
Methodopen_files_limit
()
src/unix/bsd/netbsd/system.rs:282
Methodopen_files_limit
FIXME: Should query the value, because it can be changed with setrlimit and other means. For now, cannot find where to get this information sadly...
src/unix/apple/process.rs:82
Methodopen_files_limit
Comment in XNU source: https://github.com/apple-oss-distributions/xnu/blob/main/bsd/kern/kern_resource.c#L1643 The real NOFILE limits enforced by the
src/unix/apple/system.rs:557
Methodopen_files_limit
(&self)
src/unix/linux/process.rs:339
Methodopen_files_limit
()
src/unix/linux/system.rs:566
Methodopen_files_limit
(&self)
src/windows/process.rs:609
Methodopen_files_limit
()
src/windows/system.rs:496
Methodopen_files_limit
(&self)
src/unknown/process.rs:132
Methodopen_files_limit
()
src/unknown/system.rs:150
Methodopen_files_limit
Returns the (default) maximum number of open files for a process. Important**: this information is computed every time this function is called. ```n
src/common/system.rs:1015
Methodoperational_state
(&self)
src/unix/bsd/network_common.rs:108
Methodoperational_state
(&self)
src/unix/apple/network.rs:143
Methodoperational_state
(&self)
src/unix/linux/network.rs:335
Methodoperational_state
(&self)
src/windows/network.rs:286
Methodoperational_state
(&self)
src/unknown/network.rs:95
Methodoperational_state
Returns the operational state of the interface. The operational state indicates whether the interface is able to pass packets or not. For details on
src/common/network.rs:475
Methodos_version
()
src/unix/bsd/freebsd/system.rs:178
Methodos_version
()
src/unix/bsd/netbsd/system.rs:191
Methodos_version
()
src/unix/apple/system.rs:473
Methodos_version
()
src/unix/linux/system.rs:471
Methodos_version
()
src/windows/system.rs:433
Methodos_version
()
src/unknown/system.rs:122
Methodos_version
Returns the system version (e.g. for macOS this will return 15.1 rather than the kernel version). | example platform | value of `System::os_version()
src/common/system.rs:852
Methodpackets_received
(&self)
src/unix/bsd/network_common.rs:56
Methodpackets_received
(&self)
src/unix/apple/network.rs:91
Methodpackets_received
(&self)
src/unix/linux/network.rs:283
Methodpackets_received
(&self)
src/windows/network.rs:234
Methodpackets_received
(&self)
src/unknown/network.rs:43
Methodpackets_transmitted
(&self)
src/unix/bsd/network_common.rs:64
Methodpackets_transmitted
(&self)
src/unix/apple/network.rs:99
Methodpackets_transmitted
(&self)
src/unix/linux/network.rs:291
Methodpackets_transmitted
(&self)
src/windows/network.rs:242
Methodpackets_transmitted
(&self)
src/unknown/network.rs:51
Methodparent
(&self)
src/unix/bsd/system_common.rs:114
Methodparent
(&self)
src/unix/apple/macos/process.rs:182
Methodparent
(&self)
src/unix/apple/app_store/process.rs:56
Methodparent
(&self)
src/windows/process.rs:454
Methodparent
(&self)
src/unknown/process.rs:66
Methodpartial_cmp
(&self, other: &Self)
src/common/user.rs:35
Methodpartial_cmp
(&self, other: &Self)
src/common/gpu.rs:228
Methodpci
(&self)
src/unix/apple/gpu.rs:224
Methodpci
(&self)
src/unix/linux/gpu.rs:58
Methodpci
(&self)
src/windows/gpu.rs:42
Methodpci
(&self)
src/unknown/gpu.rs:24
Methodphysical_core_count
()
src/unix/bsd/freebsd/system.rs:244
Methodphysical_core_count
()
src/unix/bsd/netbsd/system.rs:268
Methodphysical_core_count
()
src/unix/apple/system.rs:536
Methodphysical_core_count
()
src/unix/linux/system.rs:557
Methodphysical_core_count
()
src/windows/system.rs:492
Methodphysical_core_count
()
src/unknown/system.rs:146
Methodphysical_core_count
Returns the number of physical cores on the CPU. In case there are multiple CPUs, it will combine the physical core count of all the CPUs. Important
src/common/system.rs:1002
Methodpid
(&self)
src/unix/bsd/system_common.rs:86
Methodpid
(&self)
src/unix/apple/app_store/process.rs:28
Methodpid
(&self)
src/windows/process.rs:430
Methodpid
(&self)
src/unknown/process.rs:38
Methodprocess
(&self, pid: Pid)
src/unix/bsd/freebsd/system.rs:103
Methodprocess
(&self, pid: Pid)
src/unix/bsd/netbsd/system.rs:116
Methodprocess
(&self, pid: Pid)
src/unix/apple/system.rs:335
Methodprocess
(&self, _pid: Pid)
src/unknown/system.rs:58
Functionprocess_loop
Show only 10 processes.
examples/simple.c:50
Methodprocesses
(&self)
src/unix/bsd/freebsd/system.rs:95
Methodprocesses
(&self)
src/unix/bsd/netbsd/system.rs:108
Methodprocesses
(&self)
src/unix/apple/system.rs:327
Methodprocesses
(&self)
src/unix/linux/system.rs:262
Methodprocesses
(&self)
src/windows/system.rs:332
Methodprocesses
(&self)
src/unknown/system.rs:50
Methodprocesses_mut
(&mut self)
src/unix/bsd/freebsd/system.rs:99
Methodprocesses_mut
(&mut self)
src/unix/bsd/netbsd/system.rs:112
Methodprocesses_mut
(&mut self)
src/unix/apple/system.rs:331
Methodprocesses_mut
(&mut self)
src/windows/system.rs:336
Methodprocesses_mut
(&mut self)
src/unknown/system.rs:54
Methodreal_filter
(e: &libc::kinfo_proc, filter: &[Pid])
src/unix/bsd/freebsd/system.rs:293
Methodreal_filter
(e: &libc::kinfo_proc2, filter: &[Pid])
src/unix/bsd/netbsd/system.rs:325
Methodreal_filter
(e: Pid, filter: &[Pid])
src/unix/apple/system.rs:252
Methodreal_filter
(e: Pid, filter: &[Pid])
src/windows/system.rs:204
Methodreceive_link_speed
(&self)
src/unix/bsd/network_common.rs:104
Methodreceive_link_speed
(&self)
src/unix/apple/network.rs:139
Methodreceive_link_speed
(&self)
src/unix/linux/network.rs:331
Methodreceive_link_speed
(&self)
src/windows/network.rs:282
Methodreceive_link_speed
(&self)
src/unknown/network.rs:91
Methodreceive_link_speed
Returns the receive link speed of the interface in bits per second. For Ethernet interfaces, this is the negotiated link speed. For Wi-Fi interfaces
src/common/network.rs:457
Methodreceived
(&self)
src/unix/bsd/network_common.rs:40
Methodreceived
(&self)
src/unix/apple/network.rs:75
Methodreceived
(&self)
src/unix/linux/network.rs:267
← previousnext →1,301–1,400 of 1,805, ranked by callers