LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-22-2016, 04:14 PM   #1
postcd
Member
 
Registered: Oct 2013
Posts: 527

Rep: Reputation: Disabled
Linux command to discover high CPU Firefox extension?


Hello, please which Linux command can help me discover which Firefox extension is eating most of the CPU?
ps and top shows firefox processes, threads but im not recognizing particular extensions out of that info.

Last edited by postcd; 03-22-2016 at 04:17 PM.
 
Old 03-22-2016, 07:46 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Extensions would not normally show up in commands like top, try disabling all extensions and then add themnback one by one till you find the bad one, I'd start with flash.
 
Old 03-22-2016, 10:24 PM   #3
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
There ain't no Linux command for that. Only Firefox knows, or cares, what extensions are running. To the kernel, it's all Firefox. As Keith said, disable everything, then enable extensions one at a time until you find the culprit, if it is even an extension. It might be Firefox itself, it's a known resource hog.
 
Old 03-23-2016, 08:07 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by postcd View Post
Hello, please which Linux command can help me discover which Firefox extension is eating most of the CPU?
ps and top shows firefox processes, threads but im not recognizing particular extensions out of that info.
...and of the 724,000 hits in Google for "discover which Firefox extension is eating most of the cpu", there is much you can do. There are Firefox extensions to measure CPU and memory usage for each add-on and tab. Further, if you looked at any of the Firefox documentation, you'd have seen you could just type in "about:memory" (or "about:addons-memory") into your browser, and see detailed memory-tree usage, which will point you towards the culprit. You'd also see this has been an outstanding feature request since 2007:
https://bugzilla.mozilla.org/show_bug.cgi?id=400120

Did you try to look any of this up?
 
Old 03-23-2016, 08:34 AM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
FYI "about:addons-memory" is a plugin and needs to be installed.
https://addons.mozilla.org/en-US/fir...addons-memory/
But is quite useful.
 
Old 03-23-2016, 11:20 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Keith Hedger View Post
FYI "about:addons-memory" is a plugin and needs to be installed.
https://addons.mozilla.org/en-US/fir...addons-memory/
But is quite useful.
Yep...good clarification. I said "extensions", but plugin works too.
 
Old 03-24-2016, 04:05 AM   #7
postcd
Member
 
Registered: Oct 2013
Posts: 527

Original Poster
Rep: Reputation: Disabled
Yes, i already read about manually disabling/enabling one extension after another. Any suggestion how i can accurately meter the CPU impact so i can discover which ext. is bad (heavy CPU eater).
 
Old 03-24-2016, 07:12 AM   #8
oldtechaa
Member
 
Registered: May 2015
Location: US
Distribution: Fedora
Posts: 364

Rep: Reputation: 83
Watch the CPU usage with only the addon you're testing installed.
 
Old 03-24-2016, 11:10 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by postcd View Post
Yes, i already read about manually disabling/enabling one extension after another. Any suggestion how i can accurately meter the CPU impact so i can discover which ext. is bad (heavy CPU eater).
You were handed two in reply #4, along with the relevant bugzilla thread...did you not read/understand them?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] High CPU load, top not showing any high CPU process angel115 Linux - Server 8 10-12-2015 12:58 AM
uptime command shows high cpu load while atop shows cpu idle occam25 Linux - Newbie 4 09-19-2014 09:30 PM
[SOLVED] High CPU load, but low CPU usage (high idle CPU) baffy Linux - Newbie 5 03-13-2013 09:24 AM
Tools for finding source of high CPU in Firefox? Z038 Linux - Desktop 9 02-19-2010 09:56 PM
Firefox wont open / high CPU useage... jim_naisium Linux - Software 6 07-08-2006 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:30 AM.

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