aspose file tools
The moose likes Threads and Synchronization and the fly likes Threads Linux and the PS command Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "Threads Linux and the PS command" Watch "Threads Linux and the PS command" New topic
Author

Threads Linux and the PS command

David Kafrissen
Greenhorn

Joined: May 04, 2004
Posts: 10
Greetings,

I have a multi-threaded application that we run under Mandrake Linux.

In the past when I issues the PS command, each thread was listed as a separate entry in the PS listing.

Now I only get one entry for the application.

Is the a new behavior in Java 1.5, in a new Linux Kernel.

Any thoughts would be appreciated.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24051
    
  13

It's the NPTL, the Native POSIX Thread Library -- a 2.6 kernel feature.


[Jess in Action][AskingGoodQuestions]
David Kafrissen
Greenhorn

Joined: May 04, 2004
Posts: 10
thanks so much.

I figured it was something like that.

However, that still leaves a question in my mind.

We are using a vendor modified mandrake distribution.

When I would originally do a uname -r I got
2.4.21


Now I get:
2.4.25

How does this relate to the 2.6 kernel?

Thanks in advance,

David Kafrissen
David Kafrissen
Greenhorn

Joined: May 04, 2004
Posts: 10
How could I check which threading library we are using?
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

try a 1.4 jvm?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: Threads Linux and the PS command
 
Similar Threads
Equivalent kill -n for process.destroy()
executing linux commands through java socket
Two JFrames in one app / event handling
Identifying Java Processes on UNIX boxes
Determine CPU Usage On Remote Machine