MCPcopy Create free account

hub / github.com/GuillaumeGomez/sysinfo / functions

Functions1,805 in github.com/GuillaumeGomez/sysinfo

↓ 1 callersMethodget_non_nvidia_gpus
(&mut self, need_vulkan: &mut Vec<PCI>, need_nvidia: &mut Vec<PCI>)
src/unix/linux/gpu.rs:134
↓ 1 callersFunctionget_now
()
src/unix/bsd/freebsd/system.rs:753
↓ 1 callersFunctionget_now
()
src/unix/bsd/netbsd/system.rs:502
↓ 1 callersFunctionget_now
()
src/unix/apple/system.rs:126
↓ 1 callersFunctionget_now
()
src/windows/system.rs:551
↓ 1 callersMethodget_nvidia_gpus
(&self, gpus: &mut Vec<Gpu>)
src/unix/linux/gpu.rs:463
↓ 1 callersMethodget_old
(&self)
src/unix/bsd/freebsd/cpu.rs:199
↓ 1 callersMethodget_old
(&self)
src/unix/bsd/netbsd/cpu.rs:233
↓ 1 callersFunctionget_path
(pid: crate::Pid, kind: libc::c_int)
src/unix/bsd/netbsd/process.rs:269
↓ 1 callersFunctionget_physical_core_count
()
src/unix/linux/cpu.rs:487
↓ 1 callersFunctionget_physical_core_count
()
src/windows/cpu.rs:494
↓ 1 callersFunctionget_proc_and_tasks
( path: PathBuf, pid: Pid, refresh_kind: ProcessRefreshKind, processes_to_update: ProcessesToU
src/unix/linux/process.rs:1512
↓ 1 callersFunctionget_proc_env
( params: &T, handle: HANDLE, refresh_kind: ProcessRefreshKind, environ: &mut Vec<OsString>, )
src/windows/process.rs:1085
↓ 1 callersFunctionget_proc_list
()
src/unix/apple/macos/process.rs:878
↓ 1 callersMethodget_proc_missing_info
I keep as is for readability reasons.
src/unix/bsd/freebsd/system.rs:645
↓ 1 callersFunctionget_proc_tasks
( path: &Path, parent_pid: Pid, retrieve_ids: bool, buffers: &mut ProcessBuffers, )
src/unix/linux/process.rs:1571
↓ 1 callersFunctionget_process_data
( kproc: &libc::kinfo_proc, wrap: &WrapMap, page_size: isize, fscale: f32, now: u64, r
src/unix/bsd/freebsd/process.rs:147
↓ 1 callersFunctionget_process_handler
(pid: Pid)
src/windows/process.rs:70
↓ 1 callersFunctionget_process_params
( process: &mut ProcessInner, refresh_kind: ProcessRefreshKind, refresh_parent: bool, )
src/windows/process.rs:849
↓ 1 callersFunctionget_process_times
(handle: HANDLE)
src/windows/process.rs:640
↓ 1 callersFunctionget_process_user_id
(process: &mut ProcessInner, refresh_kind: ProcessRefreshKind)
src/windows/process.rs:96
↓ 1 callersMethodget_read
(&mut self)
src/unix/bsd/freebsd/disk.rs:150
↓ 1 callersMethodget_read
(&mut self)
src/unix/bsd/netbsd/disk.rs:190
↓ 1 callersFunctionget_reg_value_u32
(hkey: HKEY, path: &str, field_name: &str)
src/windows/system.rs:646
↓ 1 callersFunctionget_start_and_run_time
(handle: HANDLE, now: u64)
src/windows/process.rs:681
↓ 1 callersFunctionget_statvfs
Returns `(total_space, available_space, is_read_only)`.
src/unix/bsd/freebsd/disk.rs:193
↓ 1 callersFunctionget_statvfs
Returns `(total_space, available_space, is_read_only)`.
src/unix/bsd/netbsd/disk.rs:139
↓ 1 callersMethodget_swap_info
Returns (used, total).
src/unix/bsd/freebsd/system.rs:554
↓ 1 callersFunctionget_sys_value_array
(mib: &[libc::c_int], value: &mut [T])
src/unix/bsd/freebsd/utils.rs:34
↓ 1 callersFunctionget_sys_value_array
(mib: &[libc::c_int], value: &mut [T])
src/unix/bsd/netbsd/utils.rs:24
↓ 1 callersFunctionget_sys_value_osstr
( mib: &[libc::c_int], buf: &mut [libc::c_char], )
src/unix/bsd/netbsd/utils.rs:94
↓ 1 callersFunctionget_sys_value_str
(mib: &[libc::c_int])
src/unix/bsd/netbsd/utils.rs:118
↓ 1 callersFunctionget_sysctl_raw
( mib: &[libc::c_int], data: *mut (), len: &mut libc::size_t, )
src/unix/bsd/freebsd/utils.rs:86
↓ 1 callersFunctionget_sysctl_raw
( mib: &[libc::c_int], data: *mut (), len: &mut libc::size_t, )
src/unix/bsd/netbsd/utils.rs:76
↓ 1 callersFunctionget_tasks
(system: &System, pid: Pid)
tests/process.rs:1115
↓ 1 callersFunctionget_temperature
(con: io_connect_t, key: &[i8])
src/unix/apple/macos/component/x86.rs:297
↓ 1 callersMethodget_total_memory
(&self)
src/unix/bsd/freebsd/system.rs:580
↓ 1 callersFunctionget_u32_property
( h_dev_info: HDEVINFO, dev_info_data: &SP_DEVINFO_DATA, key: SETUP_DI_REGISTRY_PROPERTY, )
src/windows/gpu.rs:244
↓ 1 callersFunctionget_u64
(dict: &CFDictionary<CFString, CFType>, key: &CFString)
src/unix/apple/system.rs:789
↓ 1 callersMethodget_used_memory
(&self)
src/unix/bsd/freebsd/system.rs:595
↓ 1 callersFunctionget_user_groups
( name: *const libc::c_char, group_id: libc::gid_t, )
src/unix/users.rs:85
↓ 1 callersFunctionget_users
(users: &mut Vec<crate::User>)
src/unix/users.rs:126
↓ 1 callersFunctionget_value
(s: &str)
src/unix/linux/cpu.rs:829
↓ 1 callersMethodget_vendor_and_devices
Returns the vendor name and the vendor's known devices.
src/unix/linux/gpu.rs:90
↓ 1 callersFunctionget_vendor_id_and_brand
()
src/unix/apple/cpu.rs:382
↓ 1 callersFunctionget_vendor_id_and_brand
Returns the brand/vendor string for the first CPU (which should be the same for all CPUs).
src/unix/linux/cpu.rs:811
↓ 1 callersFunctionget_vendor_id_and_brand
(info: &SYSTEM_INFO)
src/windows/cpu.rs:373
↓ 1 callersFunctionget_vendor_id_not_great
(info: &SYSTEM_INFO)
src/windows/cpu.rs:347
↓ 1 callersFunctionget_volume_guid_paths
Returns a list of zero-terminated wide strings containing volume GUID paths. Volume GUID paths have the form `\\?\{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx
src/windows/disk.rs:47
↓ 1 callersFunctionget_volume_path_names_for_volume_name
Given a volume GUID path (`\\?\{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\`), returns all volume paths (drive letters and mount paths) associated with it
src/windows/disk.rs:81
↓ 1 callersMethodget_vulkan_info
(&self, gpus: &mut [Gpu])
src/unix/linux/gpu.rs:987
↓ 1 callersMethodget_written
(&mut self)
src/unix/bsd/freebsd/disk.rs:153
↓ 1 callersMethodget_written
(&mut self)
src/unix/bsd/netbsd/disk.rs:193
↓ 1 callersFunctiongetrlimit
()
src/unix/apple/system.rs:623
↓ 1 callersFunctiongetrlimit
()
src/unix/linux/system.rs:22
↓ 1 callersMethodglobal_cpu_usage
(&self)
src/windows/cpu.rs:247
↓ 1 callersMethodgpu_memory
(&self)
src/common/system.rs:2403
↓ 1 callersMethodgpu_usage
(&self)
src/unix/apple/macos/process.rs:302
↓ 1 callersMethodgpu_usage
(&self)
src/common/system.rs:2379
↓ 1 callersMethodgroup_id
Returns the group ID of the user. ⚠️ This information is not set on Windows. Windows doesn't have a `username` specific group assigned to the user.
src/common/user.rs:80
↓ 1 callersMethodgroups
(&self)
src/unix/users.rs:40
↓ 1 callersFunctionhandle_tests
(res: &mut [TestResult])
tests/code_checkers/mod.rs:18
↓ 1 callersMethodhas_all_info
(&self)
src/unix/linux/cpu.rs:862
↓ 1 callersFunctionhas_anything_to_update
(process: &ProcessInner, refresh_kind: ProcessRefreshKind)
src/windows/process.rs:840
↓ 1 callersFunctionhas_swap
CI might not have swap, to prevent this test to fail, we disable some checks in this case.
tests/system.rs:179
↓ 1 callersMethodidle_time
(&self)
src/unix/linux/cpu.rs:264
↓ 1 callersFunctioninit_cpus
( port: libc::mach_port_t, cpus: &mut Vec<Cpu>, global_cpu: &mut CpuUsage, refresh_kind: CpuRe
src/unix/apple/cpu.rs:299
↓ 1 callersFunctioninit_cpus
(refresh_kind: CpuRefreshKind)
src/windows/cpu.rs:575
↓ 1 callersFunctioninitialize_connection
()
src/windows/component.rs:149
↓ 1 callersMethodinitialize_cpu_counters
(&mut self, refresh_kind: CpuRefreshKind)
src/windows/system.rs:99
↓ 1 callersFunctioninitialize_geom
()
src/unix/bsd/freebsd/disk.rs:233
↓ 1 callersFunctioninitialize_security
()
src/windows/component.rs:158
↓ 1 callersMethodinner_mut
(&mut self)
src/windows/groups.rs:43
↓ 1 callersFunctioninspect
(entry: &IOReleaser, result: &mut HashMap<Pid, u64>, keys: &Keys)
src/unix/apple/system.rs:737
↓ 1 callersFunctioninterpret_input
( input: &str, sys: Result<&mut System, &mut Error>, gpus: Result<&mut Gpus, &mut Error>, netw
examples/simple.rs:74
↓ 1 callersMethodinto_vec
(self)
src/windows/disk.rs:278
↓ 1 callersMethodinto_vec
(self)
src/unknown/disk.rs:91
↓ 1 callersMethodip
(&self)
src/unix/network_helper.rs:82
↓ 1 callersMethodip_networks
Returns the Ip Networks associated to current interface. ```no_run use sysinfo::Networks; if let Ok(mut networks) = Networks::new_with_refreshed_lis
src/common/network.rs:394
↓ 1 callersFunctionis_gpu
(device: io_object_t, class_code_key: &CFString)
src/unix/apple/gpu.rs:173
↓ 1 callersFunctionis_gpu_device
( dir: &Dir, file_name: &[libc::c_char], stat: &mut MaybeUninit<libc::stat>, )
src/unix/linux/process.rs:468
↓ 1 callersFunctionis_new_processor
(line: &str)
src/unix/linux/cpu.rs:846
↓ 1 callersFunctionis_proc_running
(handle: HANDLE)
src/windows/system.rs:512
↓ 1 callersFunctionis_send
(_: &T)
src/common/disk.rs:467
↓ 1 callersMethodis_unspecified
Checks if this `MacAddr` has all bytes equal to `0`.
src/common/network.rs:491
↓ 1 callersFunctioniter
(val: T)
src/unix/linux/process.rs:1389
↓ 1 callersFunctionjoin_cgroup_path
(root: &Path, path: &Path)
src/unix/linux/cgroup.rs:358
↓ 1 callersMethodkill_with_and_wait
Sends the given `signal` to the process.then waits for its termination. Internally, this method is calling [`Process::kill_with`] then [`Process::wai
src/common/system.rs:1729
↓ 1 callersMethodkind
(&self)
src/unix/apple/disk.rs:75
↓ 1 callersMethodkind
(&self)
src/windows/disk.rs:169
↓ 1 callersMethodkind
Returns the kind of disk. ```no_run use sysinfo::Disks; if let Ok(disks) = Disks::new_with_refreshed_list() { for disk in &disks { println!("[{:?}]
src/common/disk.rs:37
↓ 1 callersFunctionlimits_for_base
Evaluate the conventional cgroup roots for system-wide limits.
src/unix/linux/cgroup.rs:94
↓ 1 callersFunctionlimits_for_base_with_context
( v2_bases: &[CGroupBase], v1_bases: &[CGroupBase], context: CGroupLimitsContext, )
src/unix/linux/cgroup.rs:102
↓ 1 callersFunctionlimits_for_process
(proc_path: &Path)
src/unix/linux/cgroup.rs:71
↓ 1 callersFunctionlimits_for_system
()
src/unix/linux/cgroup.rs:57
↓ 1 callersFunctionload_statvfs_values
(mount_point: &Path)
src/unix/linux/disk.rs:232
↓ 1 callersMethodmac_addr
(&self)
src/unix/network_helper.rs:98
↓ 1 callersMethodmac_address
Returns the MAC address associated to current interface. ```no_run use sysinfo::Networks; if let Ok(mut networks) = Networks::new_with_refreshed_lis
src/common/network.rs:379
↓ 1 callersMethodmax
Returns the maximum temperature of the component (in celsius degree). Note: if `temperature` is higher than the current `max`, `max` value will be up
src/common/component.rs:185
↓ 1 callersFunctionmaybe_start_child
(last: String, args: &[String])
test_bin/main.rs:5
← previousnext →401–500 of 1,805, ranked by callers