Htop and processes question.

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
kelean
Oyster-Slurper
Posts: 26
Joined: Thu Dec 06, 2012 8:54 am

Htop and processes question.

Unread post by kelean » Fri Jan 11, 2013 5:45 pm

I am running sailtimbocca on a Dell latitude d-800 laptop. I was looking at htop after installing iceweasel to see the difference between it and chromium. Thans when I noticed that there were 28 entries for iceweasel, 17 entries for chromium, and 30 entries for terminal. I have been running linux for years and have never seen this before. Most of the processes have the same stats. I was wondering if anyone else has seen this or just my machine.

Thanks kelean.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Htop and processes question.

Unread post by machinebacon » Fri Jan 11, 2013 5:53 pm

in htop, press 'H' and it should look clearer ;)
..gnutella..

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: Htop and processes question.

Unread post by pidsley » Fri Jan 11, 2013 5:54 pm

It's not just you. I don't know what the browsers do with all those processes, but it happens. You can run "pstree" in a terminal to see another representation of what's happening.

Code: Select all

init-+-acpid
     |-conky---5*[{conky}]
     |-cron
     |-cupsd
     |-2*[dbus-daemon]
     |-dbus-launch
     |-dhclient
     |-5*[getty]
     |-hddtemp
     |-login---zsh---startx---xinit-+-Xorg
     |                              `-ratpoison-+-sh---stalonetray
     |                                          `-sh---firefox-bin---19*[{firefox-bin}]
     |-rpc.idmapd
     |-rpc.mountd
     |-rpc.statd
     |-rpcbind
     |-rsyslogd---3*[{rsyslogd}]
     |-tmux-+-zsh-+-pstree
     |      |     `-zsh
     |      `-zsh
     |-udevd---2*[udevd]
     `-urxvtd---2*[tmux]
Firefox has 19 processes.

(edit) and I should note that this output is from a machine running straight Debian sid, before anyone thinks this is something unique to BBQ systems.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Htop and processes question.

Unread post by machinebacon » Fri Jan 11, 2013 5:57 pm

Another sicko is consolekit, but IIRC that's (still) a consolekit-bug
..gnutella..

kelean
Oyster-Slurper
Posts: 26
Joined: Thu Dec 06, 2012 8:54 am

Re: Htop and processes question.

Unread post by kelean » Fri Jan 11, 2013 7:16 pm

Thanks everyone. The H cleaned it up htop mb but the first time I put h not H big difference.

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: Htop and processes question.

Unread post by ivanovnegro » Fri Jan 11, 2013 7:34 pm

Do not worry about it or do. :) It depends. Chrome/ium has a process for every damn opened tab! Would mean, 50 tabs=50 processes.

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: Htop and processes question.

Unread post by rhowaldt » Fri Jan 11, 2013 7:51 pm

^ isn't that part of their sandboxy-security-thingy maybe?

lots of y's in that sentence.
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Htop and processes question.

Unread post by machinebacon » Fri Jan 11, 2013 7:59 pm

Yep, crash a tab, not a browser. But generally, these are the threads, not processes, shown in htop. Press H and you get the 'old' output that doesn't look frightening :) What counts is in the upper left corner.
..gnutella..

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: Htop and processes question.

Unread post by ivanovnegro » Fri Jan 11, 2013 8:02 pm

Machine is right but that does not prevent Chrome to use more resources than Firefox. Once it was advertised as a lightweight alternative. Ok, I stop to rant, going off-topic.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Htop and processes question.

Unread post by machinebacon » Fri Jan 11, 2013 8:27 pm

Oh this (lightweightness of Chromium) was never point of discussion :D Anything else than elinks or xlinks is already blo....

I nearly said the bad word.

Heck, even roaster is ;)
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Htop and processes question.

Unread post by wuxmedia » Fri Jan 11, 2013 8:40 pm

i've gone all stallman and just wget my webpages now,
then read through the HTML... writing directly to port 80 for POST'ing things.
bit quicker than sniffing the TCP/IP packets...
NOT. 8)

sorry am i offtopic?
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Htop and processes question.

Unread post by machinebacon » Fri Jan 11, 2013 8:48 pm

not really, thats how elinks/lynx does it :D
..gnutella..

Post Reply