#8162: pidof & pkill (...& pgrep?) ---------------------------------------------+----------------------------- Reporter: fano | Owner: nobody Type: enhancement | Status: new Priority: normal | Milestone: R1 Component: Applications/Command Line Tools | Version: Keywords: pidof, pkill, pgrep | R1/Development Blocking: | Blocked By: Platform: All | Has a Patch: 0 ---------------------------------------------+----------------------------- Yesterday playing with Haiku I've discovered there isn't a pidof (and consequently) no a pkill equivalent, too. I think can be useful and I've a sort of "stub" code already created... it is simply a native Haiku application that interrogates BRoster to find the tid (pid) of process that has that name. Having pidof, pkill can be done with a little scripting some like: {{{ pidof $0 | xargs kill }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/8162> Haiku <http://dev.haiku-os.org> Haiku - the operating system.