Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6959797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:19:11+00:00 2026-05-27T15:19:11+00:00

In a linux server(fedora), we run a single JBOSS Application Server, and we use

  • 0

In a linux server(fedora), we run a single JBOSS Application Server, and we use quartz to schedule our task.
Yesterday,

I use a top command to view process status

see more than one processes named Java with different pid are displayed.

But if i use ps aux|grep java only one java process(Jboss AS) is displayed?
So my question would be:

Is a java thread mapped to native linux thread(cloned process), or does top not show threads?

Env:

  1. Kernerl: 2.6.18
  2. JDK: 1.6.0-23
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:19:12+00:00Added an answer on May 27, 2026 at 3:19 pm

    It depends on your versions of various tools. Most likely, you have a version of top that doesn’t understand the relationship between threads and processes on Linux, resulting in it incorrectly showing each thread as its own process. The implementation of Java threads depends on your VM, but the typical implementation on modern JVMs and Linux versions is 1-to-1, that is, each Java thread is a Linux KSE created by the clone system call.

    If you have a Linux distribution that came out within the past three years, you shouldn’t have this issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to Linux and have inherited keeping our single linux server running. It's
How to schedule a task to linux server system using php script? For example,
We have a Linux server application that is comprised of a number of open-source
I'm currently using a linux server, we run a couple of web sites of
I have a rails application running on a Linux server. I would like to
Our Linux server with Apache 2.x, Plesk 8.x hosts a number of e-commerce websites.
I run an SVN server on a linux server. I'm going out of town
At work one of our target platforms is a resource constrained mini-server running Linux
I am running a Linux server and one of our suppliers only knows how
I connect to the linux server via putty SSH. I tried to run it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.