• 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
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The same happened long times for linux.

There are several threads launched,
- the jvm
- a gui-threat
- a gc-threat
... some more, all visible by 'top' or 'ps ajx'.

without explicitly using Threads.

Today I only see one java-Process in top, but don't know whether this depends on my new linux (2.6.x) or new jvm (1.5).
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's really only one process; this is just an artifact of how the ps tools work with the thread library your OS is using.

Originally posted by Stefan Wagner:

Today I only see one java-Process in top, but don't know whether this depends on my new linux (2.6.x) or new jvm (1.5).


Newer Linux systems use the NPTL (Native POSIX Thread Library), a newer thread library in which threads don't masquerade as processes.
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mmmh.

Interesting to know, thanks Ernest.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!