Post A2ioQ2bHJ1WeHVzCeu by bram@social.wxcafe.net
(DIR) More posts by bram@social.wxcafe.net
(DIR) Post #A2ioQ2bHJ1WeHVzCeu by bram@social.wxcafe.net
2020-12-30T08:37:34Z
3 likes, 2 repeats
Random #shell tip: you can sort "ps" result by adding the "k" option then specifying the key (in *lowercase* for some reason) after "+" or "-" for the order.For example: ps ak +timeWill order by ascending order or time values process.The keys are the column name at the top of ps output.Other example: ps vk -%mem | grep firefox | grep childID | head -n 1 | awk '{print $1}' | xargs killWill kill firefox most memory consuming child because how firefox stop eating all my ram x_x