Comments (8)
I changed the code which produces the process list to use GlibTop and I also added an option to filter out system processes. I expected kernel module processes to disappear, but it might be removed other processes too. I'll look into this.
Actually the extension has an error in the design. You will see the statistics for the previous refresh. That's because statistics has to be re-calculated asynchronously in the background, otherwise you will experience a lag in Gnome Shell at each refresh period (e.g. mouse pointer stops every 2 seconds). Unfortunately there is no way to create threads from an extension, so I had to use the glib.idle_add()
function to schedule statistics calculation in the background. Sometimes I still see the lag, but I don't understand why.
I'll think about other solutions.
from gnome-shell-extension-system-monitor.
I don't think the delay is much of an issue, because I don't expect the extension to be real-time. I would just expect it to give me a rough idea of what is going on - which it does well (except the missing processes).
It looks to me that processes started from the terminal (eg not from .desktop
entries) are not listed? It might be the issue I see since I'm starting geary from the commandline.
from gnome-shell-extension-system-monitor.
Alright. But if someone changes the refresh period to 10 seconds, it would mean a 10 seconds delay which is not so good.
Thanks for the info, I'll check it.
from gnome-shell-extension-system-monitor.
@bagage I've found and fixed the problem with the process list.
Could you test it for me, please?
Here is the fixed version: [email protected]
from gnome-shell-extension-system-monitor.
Yes, it works great. Again, thanks for the quick fix :).
from gnome-shell-extension-system-monitor.
I'm glad to see that. :)
New release is on the way.
from gnome-shell-extension-system-monitor.
Just on a side note: what does 1% of CPU usage means for the extension? It seems that htop and top have "100%" available for each CPU core. So in my case I can have up to 400% for a single process.
I believe the extension 100% is the equivalent of the above 400%, right? If not, I am seeing odd values:
http://webm.land/media/1q7r.webm
from gnome-shell-extension-system-monitor.
@bagage Yes, 100% means all available CPU cores are utilised (equivalent to htop's 400%).
The percentage is computed using the time values from the first line of /proc/stat
.
from gnome-shell-extension-system-monitor.
Related Issues (20)
- Can't remove HOT 1
- Too many Icons
- Relase 18: TypeError: GObject.registerClass() used with invalid base class (is PopupBaseMenuItem) HOT 7
- Gnome 3.36 support HOT 4
- JS ERROR: Extension [email protected]: TypeError: Array.slice is not a function
- interferes with display driver HOT 1
- statvfs journal spam HOT 1
- Gnome 3.40 support HOT 3
- Put a color to the whole icon, not part of it HOT 3
- Do not match GNOME System Monitor HOT 2
- [BUG]: Endless adding icons HOT 2
- GNOME 41 support HOT 2
- GNOME 42 support HOT 3
- gpu statistics
- Gnome Shell Crash HOT 5
- Gnome Shell 43 support HOT 3
- Met errors when installing on Ubuntu 22.04.1 LTS HOT 1
- regular hard lockups in display HOT 6
- GNOME 45 support HOT 3
- The popover stretches limitless outside the screen HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnome-shell-extension-system-monitor.