Get chrome to prompt for restart after update

Martin Cigorraga martincigorraga at gmail.com
Fri Apr 11 13:06:38 UTC 2014


>
> I may be missing something here, but what's wrong with `killall -9
> evolution`?
>

Hello Liam,

Despite the name of the command (kill) what it actually do is send ENDING/
TERMINATION signals to ** PROCESSES **, not applications.

Here you have a tidy list of the available termination signals you can use:
http://linux.about.com/od/commands/l/blcmdl7_signal.htm

So, how do you learn what's the PID (process identification) of the
application
you want to end/kill/terminate?
>From console you can just do:
$ ps aux | grep -i name_of_the_application

This will list all the processes involved with the application you want to
kill, be
sure to kill the parent process if it has spawned several child processes
(like
Chrome/Chromium does).

Another way would be using a tool like htop
(http://mylinuxbook.com/htop-interactive-process-monitor/) which let you
manage system processes from the comfort of a nice text interface.

Last in the list comes the graphical System Monitor shipped with Ubuntu:
usually these type of low-level tools has an ugly performance when running
as
a graphical application - compared with their text siblings - making them
the
last choice if any.

What you indeed can use to kill processes by its name is the tool 'killall'
like
this:
$ killall some_app
$ sudo killall some_app_owned_by_root

An interesting thing about it is that while in GNU+Linux it just kill
processes
by their names, in FreeBSD from where it's original it will just *kill all*
the
processes running on the system effectively render it unusable (it may or
may not shutdown).
E. g.:
$ killall evolution

For further reference:
$ man kill
$ man killall

Bonus track: https://www.youtube.com/watch?v=Fow7iUaKrq4

-Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140411/349c72ca/attachment.html>


More information about the ubuntu-users mailing list