Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-06-2011, 01:40 PM   #1
Registered: Apr 2010
Posts: 82

Rep: Reputation: 1
find process with same name

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

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

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

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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:50 AM.

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