LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2011, 02:40 PM   #1
fachhoch@gmail.com
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 1
find process with same name


two shell scripts with same name like startTomcat.sh are running , I must kill one ,and how can I differentaite the two startTomcat.sh

I know one tomcat is located under /user/app1
and other is user/app2

in tasklist I see both the process as startTomcat.sh
how can I trace back the process ?
 
Old 10-06-2011, 02:52 PM   #2
kbscores
Member
 
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
Code:
ps -ef
should list full path for script, then use pid with kill command.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I find the pid of a certain process? BeyondSora Linux - Newbie 3 02-04-2011 06:24 PM
How to find how many cpu's a particular process uses. imran111 Linux - Server 6 02-05-2010 12:48 AM
find a port of a particular process ak.lokesh Linux - Newbie 1 03-19-2009 08:05 AM
Can i find all threads by a process? msbinu Linux - Newbie 1 09-19-2008 01:32 AM
How to find the process ID of process executing in the background akeneche Linux - Newbie 1 01-03-2008 11:08 AM


All times are GMT -5. The time now is 01:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration