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
host_name
()
src/unix/bsd/freebsd/system.rs:203
Method
host_name
()
src/unix/bsd/netbsd/system.rs:216
Method
host_name
()
src/unix/apple/system.rs:463
Method
host_name
()
src/unix/linux/system.rs:430
Method
host_name
()
src/windows/system.rs:418
Method
host_name
()
src/unknown/system.rs:138
Method
host_name
Returns the system hostname based off DNS. Important**: this information is computed every time this function is called. ```no_run use sysinfo::Syst
src/common/system.rs:972
Method
id
(&self)
src/unix/groups.rs:10
Method
id
(&self)
src/unix/bsd/freebsd/disk.rs:73
Method
id
(&self)
src/unix/bsd/freebsd/component.rs:39
Method
id
(&self)
src/unix/bsd/netbsd/disk.rs:67
Method
id
(&self)
src/unix/bsd/netbsd/component.rs:39
Method
id
(&self)
src/unix/apple/disk.rs:79
Method
id
(&self)
src/unix/apple/macos/component/arm.rs:169
Method
id
(&self)
src/unix/apple/macos/component/x86.rs:164
Method
id
(&self)
src/unix/apple/app_store/users.rs:8
Method
id
(&self)
src/unix/apple/app_store/component.rs:26
Method
id
(&self)
src/unix/linux/disk.rs:83
Method
id
(&self)
src/unix/linux/component.rs:367
Method
id
(&self)
src/windows/users.rs:43
Method
id
(&self)
src/windows/disk.rs:177
Method
id
(&self)
src/windows/groups.rs:17
Method
id
(&self)
src/windows/component.rs:68
Method
id
(&self)
src/unknown/users.rs:8
Method
id
(&self)
src/unknown/disk.rs:31
Method
id
(&self)
src/unknown/groups.rs:6
Method
id
(&self)
src/unknown/component.rs:26
Method
id
On Unix, returns the Unix device ID. On Windows, returns the Volume Serial Number. Returns `None` if the device ID or the Volume Serial Number canno
src/common/disk.rs:56
Method
id
Returns the identifier of the component. Note: The identifier should be reasonably unique but is provided by the kernel. It could change if the hardw
src/common/component.rs:271
Method
into_iter
(self)
src/common/disk.rs:241
Method
into_iter
(self)
src/common/component.rs:40
Method
into_iter
(self)
src/common/user.rs:220
Method
into_iter
(self)
src/common/network.rs:31
Function
ip_mask_enum_ipv4
()
src/unix/network_helper.rs:359
Function
ip_mask_enum_ipv4_invalid
()
src/unix/network_helper.rs:366
Function
ip_mask_enum_ipv6
()
src/unix/network_helper.rs:372
Function
ip_mask_enum_ipv6_invalid
()
src/unix/network_helper.rs:379
Method
ip_networks
(&self)
src/unix/bsd/network_common.rs:92
Method
ip_networks
(&self)
src/unix/apple/network.rs:127
Method
ip_networks
(&self)
src/unix/linux/network.rs:319
Method
ip_networks
(&self)
src/windows/network.rs:270
Method
ip_networks
(&self)
src/unknown/network.rs:79
Function
ipv4_mask
()
src/unix/network_helper.rs:326
Function
ipv4_mask_another
()
src/unix/network_helper.rs:333
Function
ipv6_mask
()
src/unix/network_helper.rs:346
Function
ipv6_mask_invalid
()
src/unix/network_helper.rs:353
Method
is_read_only
(&self)
src/unix/bsd/freebsd/disk.rs:97
Method
is_read_only
(&self)
src/unix/bsd/netbsd/disk.rs:91
Method
is_read_only
(&self)
src/unix/apple/disk.rs:107
Method
is_read_only
(&self)
src/unix/linux/disk.rs:111
Method
is_read_only
(&self)
src/windows/disk.rs:201
Method
is_read_only
(&self)
src/unknown/disk.rs:55
Method
is_read_only
Returns `true` if the disk is read-only. ```no_run use sysinfo::Disks; if let Ok(disks) = Disks::new_with_refreshed_list() { for disk in &disks { pr
src/common/disk.rs:161
Method
is_removable
(&self)
src/unix/bsd/freebsd/disk.rs:93
Method
is_removable
(&self)
src/unix/bsd/netbsd/disk.rs:87
Method
is_removable
(&self)
src/unix/apple/disk.rs:103
Method
is_removable
(&self)
src/unix/linux/disk.rs:107
Method
is_removable
(&self)
src/windows/disk.rs:197
Method
is_removable
(&self)
src/unknown/disk.rs:51
Method
is_removable
Returns `true` if the disk is removable. ```no_run use sysinfo::Disks; if let Ok(disks) = Disks::new_with_refreshed_list() { for disk in &disks { pr
src/common/disk.rs:146
Function
is_send
()
tests/send_sync.rs:7
Function
is_sync
()
tests/send_sync.rs:8
Method
is_windows_eleven
()
src/windows/system.rs:47
Method
kernel_long_version
Provides kernel version following this string format: | Platform | Result | |-|-| | Windows | Windows OS Build 20348.2227 | | Linux | Linux 6.12.13-2
src/common/system.rs:950
Method
kernel_name
()
src/unix/bsd/freebsd/system.rs:233
Method
kernel_name
()
src/unix/bsd/netbsd/system.rs:246
Method
kernel_name
()
src/unix/apple/system.rs:510
Method
kernel_name
()
src/unix/linux/system.rs:527
Method
kernel_name
()
src/windows/system.rs:463
Method
kernel_name
()
src/unknown/system.rs:134
Method
kernel_version
()
src/unix/bsd/freebsd/system.rs:214
Method
kernel_version
()
src/unix/bsd/netbsd/system.rs:227
Method
kernel_version
()
src/unix/apple/system.rs:468
Method
kernel_version
()
src/unix/linux/system.rs:449
Method
kernel_version
()
src/windows/system.rs:422
Method
kernel_version
()
src/unknown/system.rs:118
Method
kernel_version
Returns the system's kernel version. | example platform | value of `System::kernel_version()` | |---|---| | linux laptop | "6.8.0-48-generic" | | and
src/common/system.rs:831
Method
kill_and_wait
Sends [`Signal::Kill`] to the process then waits for its termination. Internally, this method is calling [`Process::kill`] then [`Process::wait`]. ⚠
src/common/system.rs:1702
Method
kill_with
(&self, signal: Signal)
src/unix/bsd/system_common.rs:69
Method
kill_with
(&self, signal: Signal)
src/unix/apple/macos/process.rs:141
Method
kill_with
(&self, _signal: Signal)
src/unix/apple/app_store/process.rs:12
Method
kill_with
(&self, signal: Signal)
src/unix/linux/process.rs:189
Method
kill_with
(&self, signal: Signal)
src/windows/process.rs:407
Method
kill_with
(&self, _signal: Signal)
src/unknown/process.rs:22
Method
kind
(&self)
src/unix/bsd/freebsd/disk.rs:64
Method
kind
(&self)
src/unix/bsd/netbsd/disk.rs:58
Method
kind
(&self)
src/unknown/disk.rs:23
Method
label
(&self)
src/unix/bsd/freebsd/component.rs:43
Method
label
(&self)
src/unix/bsd/netbsd/component.rs:43
Method
label
(&self)
src/unix/apple/macos/component/arm.rs:165
Method
label
(&self)
src/unix/apple/macos/component/x86.rs:160
Method
label
(&self)
src/unix/apple/app_store/component.rs:22
Method
label
(&self)
src/unix/linux/component.rs:363
Method
label
(&self)
src/windows/component.rs:64
Method
label
(&self)
src/unknown/component.rs:22
Method
label
Returns the label of the component. ## Linux Since components information is retrieved thanks to `hwmon`, the labels are generated as follows. Note:
src/common/component.rs:234
Method
list
(&self)
src/unix/bsd/freebsd/disk.rs:130
Method
list
(&self)
src/unix/bsd/freebsd/component.rs:83
Method
list
(&self)
src/unix/bsd/freebsd/network.rs:30
Method
list
(&self)
src/unix/bsd/netbsd/disk.rs:129
← previous
next →
1,001–1,100 of 1,805, ranked by callers