Warning: session_start(): open(/tmp/sess_lg5s617jk35arp7kq7m6bc4h43, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
KDE Priority handler openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

KDE Priority handler

   1.0 RC2  

KDE Other Utility

Score 81%
KDE Priority handler
zoom


Link:  http://
Downloads:  574
Submitted:  Sep 13 2007
Updated:  Oct 29 2007

Description:

KDE Priority handler is an application that monitors the current active processes/applications and let's the user categorize the process into an priority group.

This is very usefull for buggy and/or cpu intensive applications. By adding these to an low priority group makes the desktop usable even if they go berserk on the system.

Hope you find it usefull.

How it works:

By default most user processes get the nice level 0, higest possible to set without root access.
My program monitors the active processes and change thire nice level to correspondent with the group it's been added to witin my program.

ex. The user starts konqueror, and get an popup about this processes is found and is unrated. Now the user chooses "konqueror" in the treeview to the left, then presses the "Webbrowser" icon.
This renices konqueror to the nice level of webbrowsers. Next time konqueror is started (and KDE Priority handler is runing) it will automaticly renice the process without any user interferance.

With the introduction of v0.2 most of the suggested features are added and quite a few other. Please feel free to comment/drop me an mail about features you miss or bugs you found.




Changelog:

2007-10-29 KDE Priority handler v1.0 RC2

Fix: It now works with kernel 2.6.23, as well as with prior kernels.

Fix: The systray and active icons now works properly.

Feature: Autohide empty categories in the treeview (grouped, independent, unrated)

2007-10-28
I just upgraded to kernel 2.6.23, and it looks like theer might have been some changes to the /proc layout due to the new shedulers. So right now this app wont work for .23.

2007-10-10
I noticed an graphical glitch, when an process goes deactive/active the indication icon for this wont change. Ill fix it to RC2.

2007-10-08 Archlinux -- AUR
This application is now avaible in the AUR for archlinux, the package name is knice.

2007-10-08 KDE Priority handler v1.0 RC1

This is the first release candidate. It should be quite stable and fast. NOTE: The GUI hasent changed from 0.2.

Fix: There was an issue with increasing cpu usage when the list of processes grew. This should now be fixed.

Fix: Various internal improvments, this should be noticed in less cpu usage.

Fix: Changed the update interval from 2 seconds to 3 seconds to even further decrease the cpu usage.

2007-10-04 KDE Priority handler v0.2 Beta Bug fix

Fix: In some uniqe situations a process dosent live long enought to retrive information from it. This caused an crash (std::__throw_length_error()).

2007-10-01 KDE Priority handler v0.2 Beta (Major update)

Feature: Group management. It's now possible to add and remove groups.

Feature: Added the abilaty to handle processes independent from any group.

Feature: Added icons to indicate whatever an process is active or not.

Feature: It's now possible to change priority and icon for a group by selecting it with the right mouse button.

Fix: New unrated processes now get an low priority (17).

2007-09-15 Beta 0.1.1 relased

Fix: Removed the "Store" button as it's function was removed prior to the beta release.

Fix: Removed the popup. Dident work well, was mostly annoying.

Feature: The system tray now uses an different icon if there is unrated processes.

Feature: It's now possible remove the rating policy for an process. Select it in the "Rated" tree and press delete(keyboard).

NOTE: The package filename have changed to include version.

-----------

Fixed the download link.

First beta release, not to buggy i hope :)




LicenseGPL
Source(KDE Priority handler)
Send to a friend
Subscribe
Other  Content  from Lilltiger
Report inappropriate content



goto page:  1  2 

-
.

 download link broken

 
 by ZdadrDeM on: Sep 13 2007
 
Score 50%

Hm, the download link is broken.


Reply to this

-
.

 Re: download link broken

 
 by BorgQueen on: Sep 13 2007
 
Score 50%

yep, hmm


Reply to this

-
.

 dowload

 
 by Lilltiger on: Sep 13 2007
 
Score 50%

download link fixed


Reply to this

-

 Still much to do...

 
 by KNT on: Sep 14 2007
 
Score 50%

Bugs:
Notifing of every process that is not rated.
Cannot remove a rating.
SIGBARTed on alt-Tab to firefox (Debian)

(no debugging symbols found)
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(no debugging symbols found) [Repeated lotsa times]
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1228523840 (LWP 6782)]
(no debugging symbols found) [Repeated lotsa times]
(no debugging symbols found)
[KCrash handler]
#6 0xffffe410 in __kernel_vsyscall ()
#7 0xb6cbe7f5 in raise () from /lib/i686/cmov/libc.so.6
#8 0xb6cc0181 in abort () from /lib/i686/cmov/libc.so.6
#9 0xb6ec67b0 in __gnu_cxx::__verbose_terminate_handler ()
from /usr/lib/libstdc++.so.6
#10 0xb6ec4055 in std::set_unexpected () from /usr/lib/libstdc++.so.6
#11 0xb6ec4092 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb6ec41ba in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0xb6e5af5f in std::__throw_length_error () from /usr/lib/libstdc++.so.6
#14 0xb6ea1bfc in std::string::replace () from /usr/lib/libstdc++.so.6
#15 0x08056935 in KMainWindow::metaObject ()
#16 0x08058129 in KMainWindow::metaObject ()
#17 0x080581be in KMainWindow::metaObject ()
#18 0x08058340 in KMainWindow::metaObject ()
#19 0x08050eee in KMainWindow::metaObject ()
#20 0x08050b04 in KMainWindow::metaObject ()
#21 0xb74edd23 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#22 0xb74ee7c8 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0xb787c426 in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#24 0xb7515b02 in QTimer::event () from /usr/lib/libqt-mt.so.3
#25 0xb74854e0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#26 0xb748730f in QApplication::notify () from /usr/lib/libqt-mt.so.3
#27 0xb7c5fff2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#28 0xb7418595 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#29 0xb7477e6b in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#30 0xb742ca10 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#31 0xb749fbe6 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#32 0xb749f9f6 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#33 0xb7487089 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#34 0x08055dee in KMainWindow::metaObject ()
#35 0xb6caa050 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#36 0x0804ff41 in ?? ()

Info needed:
How does it work anyway???
What the icons on the right mean?
Does it renice the apps dynamicaly (guess no, no root privliges required)?


Reply to this

-
.

 Re: Still much to do...

 
 by Lilltiger on: Sep 14 2007
 
Score 50%

> Notifing of every process that is not rated.

This was the intention, but this might get to messy. So I'm thinking of just makin the systray icon indicate that there is unrated processes.

> Cannot remove a rating.

Why would you want this, as you can change an rating. Dont see why you want to "unrate" a process.

> SIGBARTed on alt-Tab to firefox (Debian)

Can you reproduce this, I have tried on archlinux but cant manage to get it to crash.

> Info needed:

I'll add this to the description of the app.

Thanks for your input.


Reply to this

-

 Re: Still much to do

 
 by KNT on: Sep 14 2007
 
Score 50%

>> Cannot remove a rating.
>
>Why would you want this, as you can >change an rating. Dont see why you want >to "unrate" a process.

Maybe I could change my mind.
So I would like to have the option of removing control over some processes without resolving to manualy editing configs


Reply to this

-

 Re: Re: Still much to do

 
 by Lilltiger on: Sep 14 2007
 
Score 50%

Well there is an slight issue with this, as this program operates between 0 and 19 in nice level, and if you remove the control the nice level will default to 0.
This means higher priority then all the other processes and same as the xserver, and this is a bad thing..

Im thinking of adding an default renice level to use on unrated (to get it away from 0).

The idea is to have all processes categorized, and if you cange your mind of a processes just expand the "Rated" tree and change it's group.

If you would be able to remove it, then the app would just find it as unrated again.


Reply to this

-

 yeeyyyy

 
 by mtadeunet on: Sep 14 2007
 
Score 50%

kinda nice... :)
I've been needing something like this for the last few weeks.
just also think that unrate should be available. And the priority definitions too. I might want raise or low the priority of stuff as thinks get more or less cpu intensive.
Allow me to explain. Under cpu intensive conditions I might want to listen music some times...maybe play a game other times...watch a movies on others...messenger on others....so this should be easy to change.

thanks


Reply to this

-
.

 Re: yeeyyyy

 
 by Lilltiger on: Sep 14 2007
 
Score 50%

Thats why music is the top one :)

But yes, I will add an group manager where the user can add/remove and change an group.

How would you like the temporary raise/lowering renice work, should it raise it only for a certain time, or untill the user choose to lower it.


Reply to this

-

 Re: Re: yeeyyyy

 
 by gunnicom on: Oct 1 2007
 
Score 50%

Maybe storing some different profiles will do the best job for that kind of requests?


Reply to this

-
.

 Re: Re: Re: yeeyyyy

 
 by Lilltiger on: Oct 1 2007
 
Score 50%

I think it is solved now with the new group handling. Either on just selects a group (right click) and raise the priority of the whole group. Or select the app and raise it individually (it will then become independent) then it's just to add it to the group again after having had it boosted.

But if there is an demand after some other way, like profiles/groups that raises tehe priority of something for a certain amouth of time i will add that feature.


Reply to this

-
.

 name

 
 by BorgQueen on: Sep 14 2007
 
Score 50%

Hi going to create an rpm for this.
Is the app called knice or KDE Priority handler?

thanks


Reply to this

-
.

 Re: name

 
 by Lilltiger on: Sep 15 2007
 
Score 50%

Im not sure, i guess KDE Priority handler might be a more mature name, while knice has a nice ring to it :D. But name it KDE Priority handler (knice) or something :) Still just a beta, name may change. :0)


Reply to this

-

 Daemon

 
 by dovidhalevi on: Sep 16 2007
 
Score 50%

Such a beast needs be a daemon.

Two are on the Debian packages:
"rniced" which in reality is not a daemon but seems to only run, renice and end.
"and" a nice daemon which works off a config file.

I like to idea of a GUI. Might integrate with "and". (caveat--and has three times for three nice levels. The first time is before ANY renicing. These are settable.)


Reply to this

-

 Re: Daemon

 
 by Lilltiger on: Sep 16 2007
 
Score 50%

My code is already separated and built with a daemon in mind. While im right now working on the feature/GUI so i know what i need to change in the backend first before making it into a daemon, and I also want it to be more stable.


Reply to this

goto page:  1  2 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team