Let's say we're going to kill Tomcat:
So we first need Tomcat's process number PID:
Ps-aux | grep Tomcat
After writing down Tomcat's PID, execute: Kill PID (Tomcat)
All right, here we go.
Passers-by: the little ones, the guy who cheated people's feelings!
Me: Cough! Everybody calm and calm, I this will give everyone to add vegetables ...
—————————————————————————————————————————————————
Study is not to become lazy, that and salted fish have what difference!
Ps-aux | grep Flume after the situation presumably everyone has the impulse to beat people: drawings
Now please kill the process associated with Flume:
Kill 22042
Kill 35564
Kill 64608
...
Passers-by: brothers, beat him!
The eating melon people who are ignorant of the truth: OK!
Me: Everybody calm down, the food is coming!
—————————————————————————————————————————————————
To avoid a kill, we need to extract the flume process number:
Ps-aux | grep Flume | awk ' {print $} '
It's clear now!
But is the process number, or do you want to kill the PID of the implementation of the strips?
In fact, this statement adds a little bit to it.
Ps-aux | grep Flume | awk ' {print $} ' | Xargs Kill
It is so simple, do not say, ready to run, flicker failure ...
Eat melon masses: So simple a sentence you said so much ....
In the run of me: Everyone, next time you pass tea!!!
Linux query process PS or kill process kill the tips