Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dalance/procs
/ functions
Functions
323 in github.com/dalance/procs
⨍
Functions
323
◇
Types & classes
139
↓ 45 callers
Function
bytify
(x: u64)
src/util.rs:301
↓ 36 callers
Method
stat
(&self)
src/process/linux.rs:22
↓ 23 callers
Function
apply_color
( x: String, c: &ConfigColorByTheme, theme: &ConfigTheme, faded: bool, )
src/style.rs:79
↓ 16 callers
Function
run_default
(opt: &mut Opt, config: &Config)
src/main.rs:211
↓ 12 callers
Method
write_line
(&self, s: &str)
src/term_info.rs:35
↓ 7 callers
Method
add
(&mut self, proc: &ProcessInfo)
src/columns/uid.rs:35
↓ 6 callers
Method
filter
(&mut self, opt: &Opt, config: &Config, header_lines: usize)
src/view.rs:222
↓ 6 callers
Function
gen_completion
( shell: Shell, path: P, cmd: &mut clap::Command, )
src/opt.rs:204
↓ 5 callers
Function
truncate
(s: &'_ str, width: usize)
src/util.rs:196
↓ 4 callers
Method
clear_screen
(&self)
src/term_info.rs:47
↓ 4 callers
Function
format_duration
(duration: Duration)
src/columns/elapsed_time.rs:42
↓ 4 callers
Function
format_sid
(sid: &[u64], abbr: bool)
src/util.rs:286
↓ 4 callers
Function
lap
(instant: &mut Instant, msg: &str)
src/util.rs:307
↓ 4 callers
Function
parse_time
(x: u64)
src/util.rs:173
↓ 4 callers
Function
process_new
( pid: i32, procfs: &Option<std::path::PathBuf>, )
src/util.rs:375
↓ 4 callers
Method
update_width
(&mut self, pid: i32, _max_width: Option<usize>)
src/columns/tree.rs:195
↓ 3 callers
Method
add
(&mut self, proc: &ProcessInfo)
src/columns/tree.rs:31
↓ 3 callers
Function
ansi_trim_end
Trim trailing whitespace from a string that may contain ANSI escape sequences. Unlike str::trim_end(), this correctly handles ANSI codes at the end of
src/util.rs:229
↓ 3 callers
Method
cgroups
(&self)
src/process/linux.rs:36
↓ 3 callers
Function
command_with_kind_values
()
src/main.rs:44
↓ 3 callers
Function
default_color_by_theme
()
src/config.rs:76
↓ 3 callers
Function
deserialize_color
(s: &str)
src/config.rs:174
↓ 3 callers
Function
get_unchecked_str
(cp: *mut u8, start: *mut u8)
src/process/macos.rs:153
↓ 3 callers
Function
has_regex_syntax
(pattern: &str)
src/util.rs:131
↓ 3 callers
Function
ptr_to_cstr
std::ffi::FromBytesUntilNulError is missing until Rust 1.73.0 https://github.com/rust-lang/rust/pull/113701
src/util.rs:365
↓ 3 callers
Function
serialize_color
(c: &ConfigColor)
src/config.rs:152
↓ 2 callers
Method
add
(&mut self, proc: &ProcessInfo)
src/columns/tcp_port.rs:58
↓ 2 callers
Function
adjust
(x: &str, len: usize, align: &ConfigColumnAlign)
src/util.rs:152
↓ 2 callers
Method
adjust
(&mut self, config: &Config, min_widths: &HashMap<usize, usize>)
src/view.rs:392
↓ 2 callers
Function
change_endian
(val: u32)
src/util.rs:256
↓ 2 callers
Function
collect_task
(iter: TasksIter, map: &mut HashMap<i32, (i32, Stat, Option<Status>, Option<Io>)>)
src/process/linux.rs:191
↓ 2 callers
Function
deserialize_color_by_theme
(s: &str)
src/config.rs:209
↓ 2 callers
Method
display
( &mut self, opt: &Opt, config: &Config, theme: &ConfigTheme, )
src/view.rs:408
↓ 2 callers
Method
display_header
(&self, config: &Config, theme: &ConfigTheme)
src/view.rs:524
↓ 2 callers
Method
display_json
(&self)
src/view.rs:602
↓ 2 callers
Method
display_unit
(&self, config: &Config, theme: &ConfigTheme)
src/view.rs:551
↓ 2 callers
Method
fd
(&self)
src/process/linux.rs:43
↓ 2 callers
Function
find_column_kind
(pat: &str)
src/util.rs:238
↓ 2 callers
Function
find_exact
( columns: &[&dyn Column], pid: i32, keyword: &[T], logic: &ConfigSearchLogic, case: &Conf
src/util.rs:77
↓ 2 callers
Function
find_partial
( columns: &[&dyn Column], pid: i32, keyword: &[T], logic: &ConfigSearchLogic, case: &Conf
src/util.rs:31
↓ 2 callers
Function
from_wide_ptr
(ptr: *const u16)
src/process/windows.rs:620
↓ 2 callers
Function
get_handle
(pid: i32)
src/process/windows.rs:289
↓ 2 callers
Function
get_io
(handle: HANDLE)
src/process/windows.rs:402
↓ 2 callers
Function
get_name_cached
(psid: PSID)
src/process/windows.rs:564
↓ 2 callers
Method
get_parent_pids
(&self, pid: i32, parent_pids: &mut Vec<i32>)
src/view.rs:372
↓ 2 callers
Function
get_sid
(psid: PSID)
src/process/windows.rs:535
↓ 2 callers
Function
get_theme
(opt: &Opt, config: &Config)
src/util.rs:318
↓ 2 callers
Function
get_times
(handle: HANDLE)
src/process/windows.rs:309
↓ 2 callers
Method
loginuid
(&self)
src/process/linux.rs:50
↓ 2 callers
Function
run_gen_config
()
src/main.rs:180
↓ 2 callers
Function
serialize_color_by_theme
(c: &ConfigColorByTheme)
src/config.rs:197
↓ 2 callers
Method
sortable
(&self)
src/column.rs:11
↓ 1 callers
Function
apply_style_by_percentage
( x: String, s: &ConfigStyle, theme: &ConfigTheme, faded: bool, )
src/style.rs:59
↓ 1 callers
Function
apply_style_by_state
( x: String, s: &ConfigStyle, theme: &ConfigTheme, faded: bool, )
src/style.rs:22
↓ 1 callers
Function
apply_style_by_unit
( x: String, s: &ConfigStyle, theme: &ConfigTheme, faded: bool, )
src/style.rs:43
↓ 1 callers
Method
apply_visible
(&mut self, visible_pids: &[i32])
src/columns/tree.rs:168
↓ 1 callers
Function
arch_from_pid
(pid: i32)
src/columns/arch.rs:51
↓ 1 callers
Method
available
(&self)
src/column.rs:7
↓ 1 callers
Function
check_old_config
(s: &str, config: Result<Config, toml::de::Error>)
src/main.rs:103
↓ 1 callers
Function
classify
(keyword: &str)
src/util.rs:123
↓ 1 callers
Method
clear_rest_lines
(&self)
src/term_info.rs:57
↓ 1 callers
Function
clone_task_all_info
(src: &TaskAllInfo)
src/process/macos.rs:255
↓ 1 callers
Method
cmdline
(&self)
src/process/linux.rs:29
↓ 1 callers
Function
collect_proc
( interval: Duration, with_thread: bool, show_kthreads: bool, procfs_path: &Option<PathBuf>, )
src/process/linux.rs:83
↓ 1 callers
Function
color_to_column_style
(c: &ConfigColorByTheme)
src/style.rs:149
↓ 1 callers
Method
dec_sort_column
(&mut self)
src/view.rs:765
↓ 1 callers
Method
display_content
( &self, config: &Config, pid: i32, theme: &ConfigTheme, auxiliary: bo
src/view.rs:573
↓ 1 callers
Method
find_exact
(&self, _pid: i32, _keyword: &str, _content_to_lowercase: bool)
src/columns/tree.rs:130
↓ 1 callers
Method
find_partial
(&self, _pid: i32, _keyword: &str, _content_to_lowercase: bool)
src/columns/tree.rs:126
↓ 1 callers
Function
gen_column
( kind: &ConfigColumnKind, header: Option<String>, _docker_path: &str, separator: &str, ab
src/columns/os_macos.rs:162
↓ 1 callers
Function
gen_pager
()
src/term_info.rs:66
↓ 1 callers
Function
get_arg_max
()
src/process/macos.rs:123
↓ 1 callers
Method
get_child_pids
(&self, pid: i32, child_pids: &mut Vec<i32>)
src/view.rs:381
↓ 1 callers
Function
get_command
(handle: HANDLE)
src/process/windows.rs:367
↓ 1 callers
Function
get_config
(opt: &Opt)
src/main.rs:60
↓ 1 callers
Function
get_groups
(handle: HANDLE)
src/process/windows.rs:476
↓ 1 callers
Function
get_mem_total
()
src/columns/usage_mem.rs:38
↓ 1 callers
Function
get_memory_info
(handle: HANDLE)
src/process/windows.rs:337
↓ 1 callers
Function
get_name
(psid: PSID)
src/process/windows.rs:577
↓ 1 callers
Function
get_path_info
(pid: i32, mut size: size_t)
src/process/macos.rs:161
↓ 1 callers
Function
get_pids
()
src/process/windows.rs:247
↓ 1 callers
Function
get_ppid_threads
()
src/process/windows.rs:269
↓ 1 callers
Function
get_priority
(handle: HANDLE)
src/process/windows.rs:632
↓ 1 callers
Function
get_sys_value
( high: u32, low: u32, mut len: usize, value: *mut libc::c_void, mib: &mut [i32; 2], )
src/util.rs:266
↓ 1 callers
Function
get_tcp6_entry_list
()
src/columns/tcp_port.rs:265
↓ 1 callers
Function
get_tcp_entry_list
()
src/columns/tcp_port.rs:223
↓ 1 callers
Function
get_user
(handle: HANDLE)
src/process/windows.rs:420
↓ 1 callers
Method
inc_sort_column
(&mut self)
src/view.rs:752
↓ 1 callers
Method
is_match
(&self, text: &str)
src/search_regex.rs:23
↓ 1 callers
Method
move_cursor_to
(&self, x: usize, y: usize)
src/term_info.rs:52
↓ 1 callers
Method
owner
(&self)
src/process/linux.rs:57
↓ 1 callers
Method
reset_width
( &mut self, _order: Option<crate::config::ConfigSortOrder>, _config: &crate::config::
src/columns/tree.rs:185
↓ 1 callers
Function
run
()
src/main.rs:141
↓ 1 callers
Function
run_list
()
src/main.rs:187
↓ 1 callers
Function
run_watch
(opt: &mut Opt, config: &Config, interval: u64)
src/main.rs:207
↓ 1 callers
Function
set_privilege
()
src/process/windows.rs:205
↓ 1 callers
Method
sorted_pid
(&self, _order: &crate::config::ConfigSortOrder)
src/columns/tree.rs:134
↓ 1 callers
Function
validate_search_args
(opt: &Opt)
src/main.rs:243
↓ 1 callers
Method
wchan
(&self)
src/process/linux.rs:64
Method
add
(&mut self, proc: &ProcessInfo)
src/columns/command.rs:30
next →
1–100 of 323, ranked by callers