Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Often times I want to kill process that I believe has changed its command name (I think through setproctitle() or something similar).

Apparent pkill, pgrep, and friends do not read the new command names (ie ruby process renames its command, pkill still sees it as ruby and not delayed_job).

However ps and h?top do.

Is my only resort greping/awking ps to kill these kinds of processes or am I missing something?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.