Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th February 2006, 04:28 PM
jsanza@terra.es Offline
Registered User
 
Join Date: Sep 2005
Posts: 45
can i kill a thread from a process ?

Hello,

Is it possible to kill a thread from a process from shell ?

For example, can i stop/kill a thread that it is running into a java process?

thank you
Reply With Quote
  #2  
Old 28th February 2006, 07:57 PM
paul matthijsse Offline
Registered User
 
Join Date: Sep 2005
Location: Dieulefit, France
Posts: 721
Not sure if I understand your question. In ProcesManager you can kill (stop) processes. Are these sub-processes (processes that apparently originate from the mother process) called threads? They can be stopped as well.
Reply With Quote
  #3  
Old 28th February 2006, 08:00 PM
Shakes's Avatar
Shakes Offline
Registered User
 
Join Date: Feb 2005
Location: Scotland
Posts: 445
Have you got a thread running that won't stop, but you can't afford to kill the parent process? Otherwise you should be programmtically killing your thread.
Reply With Quote
  #4  
Old 28th February 2006, 08:12 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,305
Under Linux each thread shows up in the process table as a separate entry, so you should be able to kill it, provided the parent process handles the thread dying and doesn't decide to exit, but that's a matter of coding.
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
Reply

Tags
kill, process, thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to kill 99% CPU X process ? sunset Using Fedora 9 1st June 2006 12:23 PM
How do I kill a process? Sunnz Using Fedora 8 14th July 2005 03:16 AM
how to kill a process embassy Using Fedora 5 7th December 2004 01:26 PM


Current GMT-time: 02:59 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat