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
↓ 1 callers
Function
sysinfo_rstring_free
(s: RString)
src/c_interface.rs:526
↓ 1 callers
Function
sysinfo_system_host_name
()
src/c_interface.rs:625
↓ 1 callers
Function
sysinfo_system_kernel_version
()
src/c_interface.rs:612
↓ 1 callers
Function
sysinfo_system_long_version
()
src/c_interface.rs:635
↓ 1 callers
Function
sysinfo_system_name
()
src/c_interface.rs:592
↓ 1 callers
Function
sysinfo_system_version
()
src/c_interface.rs:602
↓ 1 callers
Function
sysinfo_total_memory
(system: CSystem)
src/c_interface.rs:157
↓ 1 callers
Function
sysinfo_total_swap
(system: CSystem)
src/c_interface.rs:191
↓ 1 callers
Function
sysinfo_used_memory
(system: CSystem)
src/c_interface.rs:181
↓ 1 callers
Function
sysinfo_used_swap
(system: CSystem)
src/c_interface.rs:215
↓ 1 callers
Function
system_info_as_list
Returns a system info value as a list of strings. Absence of a value is treated as an empty list.
src/unix/linux/system.rs:668
↓ 1 callers
Method
temperature
Returns the temperature of the component (in celsius degree). ## Linux Returns `f32::NAN` if it failed to retrieve it. ```no_run use sysinfo::Compo
src/common/component.rs:160
↓ 1 callers
Method
thread_kind
If the process is a thread, it'll return `Some` with the kind of thread it is. Returns `None` otherwise. ⚠️ This method always returns `None` on othe
src/common/system.rs:2276
↓ 1 callers
Function
to_correct_name
(s: &str)
tests/code_checkers/docs.rs:7
↓ 1 callers
Function
to_cpath
(path: &std::path::Path)
src/unix/linux/utils.rs:61
↓ 1 callers
Method
total_errors_on_received
Returns the total number of incoming errors. If you want the amount of errors on received packets since the last refresh, take a look at the [`errors
src/common/network.rs:322
↓ 1 callers
Method
total_errors_on_transmitted
Returns the total number of outcoming errors. If you want the amount of errors on transmitted packets since the last refresh, take a look at the [`er
src/common/network.rs:364
↓ 1 callers
Method
total_packets_received
Returns the total number of incoming packets. If you want the amount of received packets since the last refresh, take a look at the [`packets_receive
src/common/network.rs:238
↓ 1 callers
Method
total_packets_transmitted
Returns the total number of outcoming packets. If you want the amount of transmitted packets since the last refresh, take a look at the [`packets_tra
src/common/network.rs:280
↓ 1 callers
Method
total_received
Returns the total number of received bytes. If you want the amount of received bytes since the last refresh, take a look at the [`received`](NetworkD
src/common/network.rs:154
↓ 1 callers
Method
total_time
(&self)
src/unix/linux/cpu.rs:274
↓ 1 callers
Method
total_transmitted
Returns the total number of transmitted bytes. If you want the amount of transmitted bytes since the last refresh, take a look at the [`transmitted`]
src/common/network.rs:196
↓ 1 callers
Function
try_create_instance
( create_instance: PfnVkCreateInstance, extensions: &[*const c_char], app_info: &VkApp
src/unix/linux/gpu.rs:841
↓ 1 callers
Function
ultostr
(s: *mut c_char, val: u32)
src/unix/apple/macos/component/x86.rs:210
↓ 1 callers
Method
update
(&mut self, cpu_usage: f32, cpu_data: Arc<CpuData>)
src/unix/apple/cpu.rs:167
↓ 1 callers
Method
update
( &mut self, refresh_kind: crate::ProcessRefreshKind, nb_cpus: u64, now: u64,
src/windows/process.rs:326
↓ 1 callers
Function
update_disk_usage
(p: &mut ProcessInner)
src/windows/process.rs:1200
↓ 1 callers
Function
update_existing_process
( is_thread: bool, proc: &mut Process, proc_dir: &mut ProcDir<'_>, parent_pid: Option<Pid>,
src/unix/linux/process.rs:1188
↓ 1 callers
Function
update_field
(old_field: &mut u64, new_field: &mut u64, value: u64)
src/unix/apple/macos/network.rs:184
↓ 1 callers
Function
update_network_data
(inner: &mut NetworkDataInner, data: &if_data64)
src/unix/apple/macos/network.rs:189
↓ 1 callers
Function
update_networks
(interfaces: &mut HashMap<OsString, NetworkData>)
src/unix/apple/macos/network.rs:20
↓ 1 callers
Method
update_old
(&mut self)
src/unix/bsd/freebsd/disk.rs:147
↓ 1 callers
Method
update_old
(&mut self)
src/unix/bsd/netbsd/disk.rs:108
↓ 1 callers
Function
update_optional_path
(target: &mut Option<PathBuf>, new_val: Option<&[u8]>)
src/unix/linux/process.rs:1037
↓ 1 callers
Function
update_parent_pid
(p: &mut ProcessInner, parent_pid: Option<Pid>, parts: &Parts)
src/unix/linux/process.rs:1122
↓ 1 callers
Function
update_proc_info
( kproc: &libc::kinfo_proc2, system_info: &super::system::SystemInfo, now: u64, refresh_kind:
src/unix/bsd/netbsd/process.rs:103
↓ 1 callers
Function
update_process
( wrap: &Wrap, pid: Pid, time_interval: Option<f64>, now: u64, refresh_kind: ProcessRefres
src/unix/apple/macos/process.rs:755
↓ 1 callers
Function
update_process_disk_activity
( p: &mut ProcessInner, proc_dir: &mut ProcDir<'_>, buf: &mut Vec<u8>, )
src/unix/linux/process.rs:781
↓ 1 callers
Method
update_procs_cpu
(&mut self, refresh_kind: ProcessRefreshKind)
src/unix/linux/system.rs:150
↓ 1 callers
Function
update_root
On Windows, the root folder is always the current drive. So we get it from its `cwd`.
src/windows/process.rs:657
↓ 1 callers
Function
update_threads_gpu_info
Threads which share the fd table of their parent process aren't refreshed as it would be a duplicate. Instead, we go through all updated processes and
src/unix/linux/process.rs:419
↓ 1 callers
Function
update_time_and_memory
( proc_dir: &mut ProcDir<'_>, entry: &mut ProcessInner, parts: &Parts, uptime: u64, info:
src/unix/linux/process.rs:1356
↓ 1 callers
Method
usage
(&self)
src/unix/bsd/freebsd/disk.rs:105
↓ 1 callers
Method
usage
(&self)
src/unix/bsd/netbsd/disk.rs:99
↓ 1 callers
Method
usage
(&self)
src/windows/gpu.rs:51
↓ 1 callers
Method
usage
Returns this CPU's usage. Note: You'll need to refresh it at least twice (diff between the first and the second is how CPU usage is computed) at firs
src/common/system.rs:3033
↓ 1 callers
Method
used_swap
Returns the amount of used SWAP in bytes. ```no_run use sysinfo::System; if let Ok(s) = System::new_all() { println!("{} bytes", s.used_swap()); } `
src/common/system.rs:716
↓ 1 callers
Function
utf16_to_string
(buf: &[u16])
src/windows/gpu.rs:235
↓ 1 callers
Method
vendor
Returns the name of the vendor of this GPU. Returns `None` if the information cannot be retrieved.
src/common/gpu.rs:249
↓ 1 callers
Function
walk_plane
( entry: &IOReleaser, plane: &CStr, result: &mut HashMap<Pid, u64>, keys: &Key
src/unix/apple/system.rs:713
↓ 1 callers
Function
windows_8_1_or_newer
()
src/windows/process.rs:255
↓ 1 callers
Function
with_autorelease
Calls the provided closure in the context of a new autorelease pool that is drained before returning. ## SAFETY: You must not return an Objective-C o
src/unix/apple/disk.rs:558
↓ 1 callers
Method
work_time
(&self)
src/unix/linux/cpu.rs:252
Function
accumulated_cpu_time
()
tests/process.rs:1038
Method
accumulated_cpu_time
(&self)
src/unix/bsd/system_common.rs:134
Method
accumulated_cpu_time
(&self)
src/unix/apple/macos/process.rs:209
Method
accumulated_cpu_time
(&self)
src/unix/apple/app_store/process.rs:76
Method
accumulated_cpu_time
(&self)
src/unix/linux/process.rs:254
Method
accumulated_cpu_time
(&self)
src/windows/process.rs:474
Method
accumulated_cpu_time
(&self)
src/unknown/process.rs:86
Method
add_assign
(&mut self, other: Self)
tests/code_checkers/utils.rs:13
Method
asset_tag
(&self)
src/unix/bsd/freebsd/motherboard.rs:13
Method
asset_tag
(&self)
src/unix/bsd/netbsd/motherboard.rs:14
Method
asset_tag
(&self)
src/unix/apple/motherboard.rs:50
Method
asset_tag
(&self)
src/unix/linux/motherboard.rs:13
Method
asset_tag
(&self)
src/windows/motherboard.rs:21
Method
asset_tag
(&self)
src/unknown/motherboard.rs:28
Method
available_memory
(&self)
src/unix/bsd/freebsd/system.rs:123
Method
available_memory
(&self)
src/unix/bsd/netbsd/system.rs:136
Method
available_memory
(&self)
src/unix/apple/system.rs:355
Method
available_memory
(&self)
src/unix/linux/system.rs:290
Method
available_memory
(&self)
src/windows/system.rs:361
Method
available_memory
(&self)
src/unknown/system.rs:78
Method
available_memory
Returns the amount of available RAM in bytes. Generally, "free" memory refers to unallocated memory whereas "available" memory refers to memory that
src/common/system.rs:664
Method
available_space
(&self)
src/unix/bsd/freebsd/disk.rs:89
Method
available_space
(&self)
src/unix/bsd/netbsd/disk.rs:83
Method
available_space
(&self)
src/unix/apple/disk.rs:99
Method
available_space
(&self)
src/unix/linux/disk.rs:103
Method
available_space
(&self)
src/windows/disk.rs:193
Method
available_space
(&self)
src/unknown/disk.rs:47
Method
available_space
Returns the available disk size, in bytes. ```no_run use sysinfo::Disks; if let Ok(disks) = Disks::new_with_refreshed_list() { for disk in &disks {
src/common/disk.rs:131
Function
bench_first_refresh_processes
(b: &mut test::Bencher)
benches/basic.rs:51
Function
bench_new
(b: &mut test::Bencher)
benches/basic.rs:11
Function
bench_new_all
(b: &mut test::Bencher)
benches/basic.rs:19
Function
bench_refresh_all
(b: &mut test::Bencher)
benches/basic.rs:27
Function
bench_refresh_components
(b: &mut test::Bencher)
benches/basic.rs:138
Function
bench_refresh_cpu_usage
(b: &mut test::Bencher)
benches/basic.rs:125
Function
bench_refresh_disk
(b: &mut test::Bencher)
benches/basic.rs:77
Function
bench_refresh_disks
(b: &mut test::Bencher)
benches/basic.rs:89
Function
bench_refresh_memory
(b: &mut test::Bencher)
benches/basic.rs:113
Function
bench_refresh_networks
(b: &mut test::Bencher)
benches/basic.rs:101
Function
bench_refresh_process
(b: &mut test::Bencher)
benches/basic.rs:63
Function
bench_refresh_processes
(b: &mut test::Bencher)
benches/basic.rs:38
Function
bench_refresh_users_list
(b: &mut test::Bencher)
benches/basic.rs:149
Method
boot_time
()
src/unix/bsd/freebsd/system.rs:151
Method
boot_time
()
src/unix/bsd/netbsd/system.rs:164
Method
boot_time
()
src/unix/apple/system.rs:400
Method
boot_time
()
src/unix/linux/system.rs:334
Method
boot_time
()
src/windows/system.rs:385
Method
boot_time
()
src/unknown/system.rs:102
← previous
next →
601–700 of 1,805, ranked by callers