On Mon, Jan 20, 2003 at 11:11:29AM +1100, Michael Wardle wrote: > On Mon, 2003-01-20 at 10:41, Hugh Saunders wrote: > > On Mon, Jan 20, 2003 at 10:22:13AM +1100, Michael Wardle wrote: > > > On Mon, 2003-01-20 at 02:40, Hugh Saunders wrote: > > > > ps x gives a list of xine's which i would like to kill > > > > > > My preferred method is: > > > $ kill `ps -C xine -o pid=` > > > OR > > > $ ps -C xine -o pid= | xargs kill > > > > > that makes sense, this is my understanding: > > -C means command name, -o defines the desired format > > of the ps output and xargs uses whatever is piped to it as the > > argument for kill? > > Yes, "-C" matches processes named "xine" (and apparently any process > whose name begins with "xine"), "-o pid=" means show a list of process > IDs without a header line, the backquotes insert the output of the shell > command, and xargs passes its arguments read from the pipe to the > command named as its first parameter. (Just like you said.) > so now we have the understanding, why dont they die?
anni:~# ps -C xine -o pid= 1609 1610 1618 1619 1620 anni:~# ps -C xine -o pid= |xargs kill anni:~# ps -C xine -o pid= 1609 1610 1618 1619 1620 anni:~# if more info needed, ask and ill insert whatever! dont really want to reboot but these xines are annoying!! hugh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]