htop retuns dozewns of the same process on RHEL

Posted on 2012-08-27
Last Modified: 2012-09-11
I havea slow machine, and when i run htop on it, it shows all ram is used, and there are many same-named processes that are running.  top does not return that many process..  Is that possible that i have that many java process on my box??
Question by:icongo
    LVL 34

    Accepted Solution

    The extra "processes" are probably threads. To confirm, go to htop's setup screen and check the box to show threads in a different colour.
    It does look like your memory is all used - I've always found Java to be pretty memory hungry. You could confirm in a command window by running free. Green bars from htop are really used memory - on my lightly loaded system I also see light blue and yellow bars for buffers and cache (not sure which is which - only just installed it :)
    Top never shows individual threads. That is why htop shows you so many more entries.
    LVL 34

    Expert Comment

    by:Duncan Roe
    You're also using almost 2G of swap, which is also going to impact performance. I would say an upgrade to 32G RAM will see you right for a while

    Author Closing Comment


    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now