Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GuillaumeGomez/sysinfo
/ functions
Functions
1,805 in github.com/GuillaumeGomez/sysinfo
⨍
Functions
1,805
◇
Types & classes
230
Method
next
(&mut self)
src/unix/network_helper.rs:108
Method
nothing
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
Method
nothing
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
Method
open
(hkey: HKEY, path: &[u16])
src/windows/system.rs:568
Function
open_files
()
tests/process.rs:1165
Method
open_files
(&self)
src/unix/bsd/freebsd/process.rs:66
Method
open_files
(&self)
src/unix/bsd/netbsd/process.rs:54
Method
open_files
(&self)
src/unix/apple/macos/process.rs:265
Method
open_files
(&self)
src/unix/apple/app_store/process.rs:118
Method
open_files
(&self)
src/unix/linux/process.rs:325
Method
open_files
(&self)
src/windows/process.rs:593
Method
open_files
(&self)
src/unknown/process.rs:128
Function
open_files_counts_the_open_descriptors
()
tests/open_files.rs:99
Method
open_files_limit
(&self)
src/unix/bsd/freebsd/process.rs:111
Method
open_files_limit
()
src/unix/bsd/freebsd/system.rs:258
Method
open_files_limit
(&self)
src/unix/bsd/netbsd/process.rs:65
Method
open_files_limit
()
src/unix/bsd/netbsd/system.rs:282
Method
open_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
Method
open_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
Method
open_files_limit
(&self)
src/unix/linux/process.rs:339
Method
open_files_limit
()
src/unix/linux/system.rs:566
Method
open_files_limit
(&self)
src/windows/process.rs:609
Method
open_files_limit
()
src/windows/system.rs:496
Method
open_files_limit
(&self)
src/unknown/process.rs:132
Method
open_files_limit
()
src/unknown/system.rs:150
Method
open_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
Method
operational_state
(&self)
src/unix/bsd/network_common.rs:108
Method
operational_state
(&self)
src/unix/apple/network.rs:143
Method
operational_state
(&self)
src/unix/linux/network.rs:335
Method
operational_state
(&self)
src/windows/network.rs:286
Method
operational_state
(&self)
src/unknown/network.rs:95
Method
operational_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
Method
os_version
()
src/unix/bsd/freebsd/system.rs:178
Method
os_version
()
src/unix/bsd/netbsd/system.rs:191
Method
os_version
()
src/unix/apple/system.rs:473
Method
os_version
()
src/unix/linux/system.rs:471
Method
os_version
()
src/windows/system.rs:433
Method
os_version
()
src/unknown/system.rs:122
Method
os_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
Method
packets_received
(&self)
src/unix/bsd/network_common.rs:56
Method
packets_received
(&self)
src/unix/apple/network.rs:91
Method
packets_received
(&self)
src/unix/linux/network.rs:283
Method
packets_received
(&self)
src/windows/network.rs:234
Method
packets_received
(&self)
src/unknown/network.rs:43
Method
packets_transmitted
(&self)
src/unix/bsd/network_common.rs:64
Method
packets_transmitted
(&self)
src/unix/apple/network.rs:99
Method
packets_transmitted
(&self)
src/unix/linux/network.rs:291
Method
packets_transmitted
(&self)
src/windows/network.rs:242
Method
packets_transmitted
(&self)
src/unknown/network.rs:51
Method
parent
(&self)
src/unix/bsd/system_common.rs:114
Method
parent
(&self)
src/unix/apple/macos/process.rs:182
Method
parent
(&self)
src/unix/apple/app_store/process.rs:56
Method
parent
(&self)
src/windows/process.rs:454
Method
parent
(&self)
src/unknown/process.rs:66
Method
partial_cmp
(&self, other: &Self)
src/common/user.rs:35
Method
partial_cmp
(&self, other: &Self)
src/common/gpu.rs:228
Method
pci
(&self)
src/unix/apple/gpu.rs:224
Method
pci
(&self)
src/unix/linux/gpu.rs:58
Method
pci
(&self)
src/windows/gpu.rs:42
Method
pci
(&self)
src/unknown/gpu.rs:24
Method
physical_core_count
()
src/unix/bsd/freebsd/system.rs:244
Method
physical_core_count
()
src/unix/bsd/netbsd/system.rs:268
Method
physical_core_count
()
src/unix/apple/system.rs:536
Method
physical_core_count
()
src/unix/linux/system.rs:557
Method
physical_core_count
()
src/windows/system.rs:492
Method
physical_core_count
()
src/unknown/system.rs:146
Method
physical_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
Method
pid
(&self)
src/unix/bsd/system_common.rs:86
Method
pid
(&self)
src/unix/apple/app_store/process.rs:28
Method
pid
(&self)
src/windows/process.rs:430
Method
pid
(&self)
src/unknown/process.rs:38
Method
process
(&self, pid: Pid)
src/unix/bsd/freebsd/system.rs:103
Method
process
(&self, pid: Pid)
src/unix/bsd/netbsd/system.rs:116
Method
process
(&self, pid: Pid)
src/unix/apple/system.rs:335
Method
process
(&self, _pid: Pid)
src/unknown/system.rs:58
Function
process_loop
Show only 10 processes.
examples/simple.c:50
Method
processes
(&self)
src/unix/bsd/freebsd/system.rs:95
Method
processes
(&self)
src/unix/bsd/netbsd/system.rs:108
Method
processes
(&self)
src/unix/apple/system.rs:327
Method
processes
(&self)
src/unix/linux/system.rs:262
Method
processes
(&self)
src/windows/system.rs:332
Method
processes
(&self)
src/unknown/system.rs:50
Method
processes_mut
(&mut self)
src/unix/bsd/freebsd/system.rs:99
Method
processes_mut
(&mut self)
src/unix/bsd/netbsd/system.rs:112
Method
processes_mut
(&mut self)
src/unix/apple/system.rs:331
Method
processes_mut
(&mut self)
src/windows/system.rs:336
Method
processes_mut
(&mut self)
src/unknown/system.rs:54
Method
real_filter
(e: &libc::kinfo_proc, filter: &[Pid])
src/unix/bsd/freebsd/system.rs:293
Method
real_filter
(e: &libc::kinfo_proc2, filter: &[Pid])
src/unix/bsd/netbsd/system.rs:325
Method
real_filter
(e: Pid, filter: &[Pid])
src/unix/apple/system.rs:252
Method
real_filter
(e: Pid, filter: &[Pid])
src/windows/system.rs:204
Method
receive_link_speed
(&self)
src/unix/bsd/network_common.rs:104
Method
receive_link_speed
(&self)
src/unix/apple/network.rs:139
Method
receive_link_speed
(&self)
src/unix/linux/network.rs:331
Method
receive_link_speed
(&self)
src/windows/network.rs:282
Method
receive_link_speed
(&self)
src/unknown/network.rs:91
Method
receive_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
Method
received
(&self)
src/unix/bsd/network_common.rs:40
Method
received
(&self)
src/unix/apple/network.rs:75
Method
received
(&self)
src/unix/linux/network.rs:267
← previous
next →
1,301–1,400 of 1,805, ranked by callers