We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9093e4e commit 49c7d72Copy full SHA for 49c7d72
src/uu/ps/src/ps.rs
@@ -42,6 +42,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
42
proc_infos.extend(collector::process_collector(&matches, &snapshot));
43
proc_infos.extend(collector::session_collector(&matches, &snapshot));
44
45
+ proc_infos.sort_by(|a, b| a.borrow().pid.cmp(&b.borrow().pid));
46
proc_infos.dedup_by(|a, b| a.borrow().pid == b.borrow().pid);
47
48
sorting::sort(&mut proc_infos, &matches);
0 commit comments