LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2012, 08:34 AM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Rep: Reputation: 26
Why are multiple processes running with the same command - htop in Debian Squeeze


Hi all,
Attached is a screen cap of htop running in my Debian Squeeze sorted by showing processes of user mysql only. I am having kind of a hard time understanding how (and why) the same command (see column "Command") has multiple instances running with different PIDs.
Also, some of those processes seem to not have used or be using much CPU time (that is what the TIME+ column indicates, if I am not mistaken, which makes me wonder about the necessity of having them running.
Any advice?
(Sorry if this is a super noob question)
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	120
Size:	131.5 KB
ID:	10726  

Last edited by gacanepa; 09-19-2012 at 08:35 AM.
 
Old 09-19-2012, 11:03 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
Quote:
Originally Posted by gacanepa View Post
Any advice?
See 'man pthreads' for an introduction.
Htop > F2 > Display options > select "Hide userland threads", is your answer.
 
Old 09-19-2012, 11:38 AM   #3
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by unSpawn View Post
See 'man pthreads' for an introduction.
Htop > F2 > Display options > select "Hide userland threads", is your answer.
Thank you so very much! I'll add to your reputation right now and mark this thread as solved.
Have a great day.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Various segmentation faults Debian Squeeze Virtualbox running on Debian Squeeze host fordwrench Debian 1 07-21-2011 04:55 AM
htop upgrade to 0.9, extra empty processes now shown batfastad Linux - Software 7 03-09-2011 06:07 AM
Using 'time' command with multiple background processes jiffydude Linux - Newbie 5 09-09-2008 09:16 PM
ps command displays multiple processes mghiya Linux - Software 0 07-28-2006 05:28 AM
HTTPD running multiple processes jjustin01 Linux - Software 1 03-04-2004 08:16 AM


All times are GMT -5. The time now is 04:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration