Kill all wine run apps, all wine processes

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Oli Warner

Kill all wine run apps, all wine processes

Post by Oli Warner »

Sometimes Wine locks up. win32 things explode and I want to nuke everything
and start again. This usually involves me going through the process list,
killing each process. I'll miss a few occasionally and, on a bad day, it can
take me a minute before everything's where I want it to be.

I have just read a method for nuking wineserver (wineserver -k) safely but
I'm curious to know if there's a catch-all command for killing everything
that started up as a result of my initial wine command.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

try the killall command?
Martin Gregorie

Kill all wine run apps, all wine processes

Post by Martin Gregorie »

On Tue, 2009-09-29 at 17:31 +0100, Oli Warner wrote:
Sometimes Wine locks up. win32 things explode and I want to nuke everything
and start again. This usually involves me going through the process list,
killing each process. I'll miss a few occasionally and, on a bad day, it can
take me a minute before everything's where I want it to be.
Most Linuxes provide a killall command:

killall wineserver

nukes all wineserver processes. Use it with care: it will kill all
processes with that name regardless of which user is running them unless
you use the -u option. It can also take a list of process names or a
regular expression that matches several processes. See "man killall" for
full details.


Martin
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Re: Kill all wine run apps, all wine processes

Post by DaVince »

Oli Warner wrote:Sometimes Wine locks up. win32 things explode and I want to nuke everything
and start again. This usually involves me going through the process list,
killing each process. I'll miss a few occasionally and, on a bad day, it can
take me a minute before everything's where I want it to be.

I have just read a method for nuking wineserver (wineserver -k) safely but
I'm curious to know if there's a catch-all command for killing everything
that started up as a result of my initial wine command.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
wineserver -k kills all Wine processes, locked up or not. Simple as that.

You can also use wine taskmgr for a ctrl-alt-delete style Windows task manager, where you can kill Wine processes individually.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Kill all wine run apps, all wine processes

Post by vitamin »

Martin Gregorie wrote:killall wineserver
DO NOT kill server like that, unless you ok with corrupting Wine's registry.

If you have to kill Wine, try 'wineserver -k' first. It will force terminate all Wine process and wineserver will gracefully exit. If that doesn't work, find the process that hung (most likely would be the name of the windows application) and kill it with 'kill -9 <pid>' or 'killall -9 app.exe'.
Locked