• Post Reply Bookmark Topic Watch Topic
  • New Topic

multiple process in AIX  RSS feed

 
arvindh seshadri
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
we are using IBM - AIX and IBM JDK 131 . When I execute a vanilla java process from commandline , it seems to fork multiple processes even though logically only one process runs but i see multiple processes for the same process name given . Why is this happening ?

Thanks
Arvindh
 
Yaroslav Chinskiy
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest looking at the IBM's JVM specification.

Some older versions of Linux JVM did the same. U lunch 1 javm process but ps will return 10.
 
Ranga Kalidindi
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I work on applications that use similar environment (AIX and Jdk1.3.1).
If your java application is starting threads as soon as you start your application, then for a breif time (while your program is spawning threads), it shows that those threads as 'sub-processes'. you will know which process is the actual process and which are 'subprocesses/threads' by looking at their process id and parent process id columns of 'ps' command. For the actual process, the parent id would not have any number and its process id would be show as parent id for the sub-process/thread instances of the 'ps' output. If you execute the ps command after a little while (couple of minutes) later, you will only see the actual process and not those subprocess entries.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!