Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Root797677y@Haxk20
No need for anything but the cli.
ps -x | awk '/^ */{print $1}'
Should be enough to get started ~ -
willol13897yIf I'm not mistaken, PIDs are only increasing, so they are never reallocated, so this kind of stuff is safe!
Related Rants
(another) Russian roulette for devs
$jobs -l
[1]+ 642 python .....etc
$sudo kill -9 642
.... other commands here
arrow up...arrow up... (looking for jobs -l)... got it.
arrow up...
$kill -9 642
F*uck! (i remember that i have not changed the pid)
kill: no such process (luckly no damages)
anyone killed something relevant making this mistake?
rant
bash
roulette
kill