Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Other discussions > Linux and software for Linux
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 11-18-2009, 10:52 AM
Stream Recorder
 
Posts: n/a
Default

How to kill wine application with kill command from command line


As a Windows user I expected to press CTRL+ALT+DEL and see the list of processes that could be easily killed with a GUI program. However CTRL+ALT+DEL didn't bring the list of processes or applications in Ubuntu 9.10. But it is very easy to kill the application from a command line:


Type the following in the Terminal:
Code:
ps axwww | grep KEYWORD
This will show a list of processes that have KEYWORD in them.


Example: Killing Replay Media Catcher from command line:

Code:
admin@admin-desktop:~$ ps axwww | grep Replay
15864 ?        Sl     0:01 C:\Program Files\Replay Media Catcher\MediaCatcher.exe                                                                 
15903 pts/1    S+     0:00 grep --color=auto Replay
Look for the lowest number process id (the first column) that says something like "C:\Program Files\Replay Media Catcher\MediaCatcher.exe"

Then use this number to kill the process with (kill -9 PROCESS_NUMBER):
Code:
admin@admin-desktop:~$kill -9 15864
admin@admin-desktop:~$ ps axwww | grep Replay
15903 pts/1    S+     0:00 grep --color=auto Replay

You can also use the pidof to find the process id and then use this process id with the kill command. For example, if you want to kill the tvtime process:
Code:
admin@admin-desktop::~/rtmpdump$ pidof tvtime
10673
admin@admin-desktop::~/rtmpdump$ kill -9 10673
Reply With Quote
  #2  
Old 12-02-2009, 08:17 AM
Stream Recorder
 
Posts: n/a
Default

Re: How to kill wine application with kill command from command line


If you don't like command line, you can kill an application with xkill. Press ALT+F2, type xkill and hit the Run button. The program will displays a special cursor (usually a crosshair or a skull and crossbones) and will display a message such as
Code:
Select the window whose client you wish to kill with button
If a non-root window is then selected, the server will close its connection to the client that created that window, and the window will be destroyed.

Please note that xkill is not intended to be used as a routine way to terminate X client programs, but only as a last resort to abort malfunctioning or malicious clients.

Unlike kill, xkill does not request that the client process, which may be running on a different machine, be terminated. In fact, the process can continue running without an X connection. Most clients, however, do abort when their X connections are unexpectedly closed.
Reply With Quote
Reply Post New Thread
Tags: , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 08:11 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons