LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 01: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, 01: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 05:24 PM
How to find how many cpu's a particular process uses. imran111 Linux - Server 6 02-04-2010 11:48 PM
find a port of a particular process ak.lokesh Linux - Newbie 1 03-19-2009 07:05 AM
Can i find all threads by a process? msbinu Linux - Newbie 1 09-19-2008 12:32 AM
How to find the process ID of process executing in the background akeneche Linux - Newbie 1 01-03-2008 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:12 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
Open Source Consulting | Domain Registration