LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 07:34 AM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 205

Rep: Reputation: 27
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:	249
Size:	131.5 KB
ID:	10726  

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

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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, 10:38 AM   #3
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 205

Original Poster
Rep: Reputation: 27
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



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 03:55 AM
htop upgrade to 0.9, extra empty processes now shown batfastad Linux - Software 7 03-09-2011 05:07 AM
Using 'time' command with multiple background processes jiffydude Linux - Newbie 5 09-09-2008 08:16 PM
ps command displays multiple processes mghiya Linux - Software 0 07-28-2006 04:28 AM
HTTPD running multiple processes jjustin01 Linux - Software 1 03-04-2004 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:57 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
Open Source Consulting | Domain Registration