LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-17-2004, 11:57 PM   #1
r_213
Member
 
Registered: Sep 2004
Posts: 36

Rep: Reputation: 15
Many processes are starting in Linux


When I start application in Linux...many processes are started . I am using Linux version Linux ec4nec120008 2.4.9-e.3.

But in another Linux version this problem is not occuring. It shows just one process for one application started...

can anybody explain to me why it occurs?

-Rangan
 
Old 11-18-2004, 04:42 AM   #2
TreeHugger
Member
 
Registered: Jul 2003
Location: London
Distribution: Debian, Redhat
Posts: 98

Rep: Reputation: 15
What do you see that you don't like when you run ps -eaf
?
 
Old 11-18-2004, 05:15 AM   #3
r_213
Member
 
Registered: Sep 2004
Posts: 36

Original Poster
Rep: Reputation: 15
here's the output.

Hi,

I just executed a small java program and when I tried ps -eaf|grep java

root 3614 2745 0 16:32 pts/2 00:00:00 java sampleProgram
root 3616 3614 0 16:32 pts/2 00:00:00 java sampleProgram
root 3619 3616 0 16:32 pts/2 00:00:00 java sampleProgram
root 3620 3616 0 16:32 pts/2 00:00:00 java sampleProgram
root 3621 3616 0 16:32 pts/2 00:00:00 java sampleProgram
root 3622 3616 0 16:32 pts/2 00:00:00 java sampleProgram
root 3623 3616 0 16:32 pts/2 00:00:00 java sampleProgram
root 3624 3616 0 16:32 pts/2 00:00:00 java sampleProgram
root 3625 3616 0 16:32 pts/2 00:00:00 java sampleProgram
root 3626 3616 0 16:32 pts/2 00:00:00 java sampleProgram

can u tell me y so many instances are shown when one process is started.
I am using linux version 2.4.9-e.3

When i run the same program in another version of Linux it is showing only one process.

Plz help.

-Ranganathan
 
Old 11-18-2004, 05:20 AM   #4
shazam75
Member
 
Registered: Oct 2004
Location: Australia, Brisbane
Distribution: Gentoo
Posts: 296

Rep: Reputation: 30
They must be threads that have started in the Java program??

Shelton.
 
Old 11-18-2004, 05:27 AM   #5
r_213
Member
 
Registered: Sep 2004
Posts: 36

Original Poster
Rep: Reputation: 15
Well this behaviour is happening only for this version of Linux. Is it a normal behaviour because in another version it shows just one process.
 
Old 11-18-2004, 09:45 AM   #6
TreeHugger
Member
 
Registered: Jul 2003
Location: London
Distribution: Debian, Redhat
Posts: 98

Rep: Reputation: 15
don't worry about it for java. it's a known issue. it's actually each java thread getting registered as a whole process which its not. Which version of linux did you use where this doesn't happen? I find it annoying and would be happy if it was resolved
 
Old 11-18-2004, 01:22 PM   #7
r_213
Member
 
Registered: Sep 2004
Posts: 36

Original Poster
Rep: Reputation: 15
In Linux version 2.4.21-20.EL i get only one instance. Can you tell me exact reason why it is occuring in the other version of Linux.
 
  


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
starting processes on startup Henster Linux - Newbie 2 06-28-2005 12:12 PM
Linux Processes? cdegroat Linux - General 6 04-18-2005 01:06 PM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 01:58 AM
Starting processes from remote shell and keep them running... johannes Linux - Networking 5 07-23-2003 09:38 AM
Starting Processes baldurkn Linux - Newbie 2 06-28-2003 07:08 PM


All times are GMT -5. The time now is 02:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration