-
 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    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (17) . 

Service Monitor

   2.0  

Plasmoid Script

Score 90%
Service Monitor
zoom


Service Monitor
zoom


Service Monitor
zoom


Blog:  Link
Minimum required   KDE 4.x
Downloads:  1714
Submitted:  May 24 2010
Updated:  Nov 2 2011

Description:

Distribution-independent utility for monitoring/toggling background services (daemons).

Features: show current status of services; start/stop with a single click; placeable on desktop or in dock;
maximum flexibility through shell commands

Installation: plasmapkg -i service-monitor.zip

Submit bugs and feature requests on GitHub: https://github.com/mbleichner/service-monitor/issues

You are welcome to contribute to development, feel free to create a fork on GitHub!

New Features in v2.0:
- Password input dialog now included (no more dependency on external tools like kdesudo)
- Easier management of service definition files (incl. one-click update)
- Hide unavailable services
- Environment variables aren't needed any more ($INITDIR will be guessed, $SUDO has become superfluous)
- Ability to copy existing services as custom services
- Sudo configuration helper (creates snippets for inclusion in /etc/sudoers)
- Three different indicator icon themes
- Option to suppress stdout of start/stop commands
- Report external state changes through KNotify
- Service icons can be placed directly in the panel (without popup)




LicenseGPL
(v2.0 - latest release)
(v1.2 - old stable release)
(v1.1 - very old stable release)
Donate
Send to a friend
Subscribe
Other  Apps  from mbleichner
Report inappropriate content



goto page: prev   1  2  3 

-
.

 Last version

 
 by molostoff on: Nov 10 2010
 
Score 50%

Please turn back (+) and (-) as check buttons instead of currently red and green balls
I have several monitors and on some of them red/green balls look identically, so I probably can say that it looks like a form of daltonism.

Pluses and minuses are very clear to see, and the idea of coloring their state changes can be accommodated on background of (+) and (-)


Reply to this

-

 Re: Last version

 
 by mbleichner on: Nov 10 2010
 
Score 50%

Hm, maybe I could compile different icon themes... but currently I have no time for that, so you will have to fix this problem locally:
all icons are contained in a Qt resource file which is compiled from ~/.kde/share/apps/plasma/plasmoids/contents/code/UI/Icons.qrc
Adapt it to your needs, then execute "pyrcc4 Icons.qrc > Icons_rc.py" to recompile the resource file.

Please note: only edit the paths, not the aliases! The paths must be relative from the working directory and if after successful compilation the old icons are still displayed, try to restart Plasma/KDE or reboot (because Qt caches loaded resources and I haven't found out yet how to flush this cache)


Reply to this

-

 All start/stop commands result in the same error

 
 by Epimetheus11 on: Oct 17 2011
 
Score 50%

When the service is start'ed or stop'ed using sudo, I get the following error message:

--------------

The command produced the following error:
QPixmap::handle(): Pixmap is not an X11 class pixmap
QPixmap::handle(): Pixmap is not an X11 class pixmap
QPixmap::handle(): Pixmap is not an X11 class pixmap

---------------


Reply to this

-

 Re: All start/stop commands result in the same err

 
 by mbleichner on: Nov 1 2011
 
Score 50%

Can you try issuing the commands from command line and check if it produces the same error?


Reply to this

-

 Useful service to toggle screen on/off

 
 by Epimetheus11 on: Oct 17 2011
 
Score 50%

Occasionally I want to turn the screen off while leaving the laptop/desktop running in the background. This example service makes it a single button click:

DPMS
Turn the screen off/on

Install check:

which xset
Running check:

xset q | grep "DPMS is Enabled"
Start command:

xset dpms force on
Stop command:

xset dpms force off


Reply to this

-

 Re: Useful service to toggle screen on/off

 
 by mbleichner on: Nov 1 2011
 
Score 50%

Thank you very much. I have included the definitions in the tools & settings file.


Reply to this

-
.

 mysql check fails on kde env

 
 by rdonato on: Oct 18 2011
 
Score 50%

You should change mysqld job detection: it fails on kde because akonadi uses mysqld for its embedded db. I added a new service for akonadi mysqld job and a new check for running jobs.

<service id="mysql-daemon for kde env" priority="0">
<name>MySQL Database</name>
<description>Database server used by many programs (stopping could be a bad idea)</description>
<installcheck>ls $INITDIR/mysql</installcheck>
<runningcheck>ps fax|grep mysqld|grep "akonadi"|cut -d"?" -f1|grep -v grep</runningcheck>
<startcommand>$SUDO $INITDIR/mysql start</startcommand>
<stopcommand>$SUDO $INITDIR/mysql stop</stopcommand>
</service>

<service id="mysql-daemon" priority="0">
<name>MySQL Database</name>
<description>Database server used by many programs (stopping could be a bad idea)</description>
<installcheck>ls $INITDIR/mysql</installcheck>
<runningcheck>ps fax|grep mysqld|grep -v "akonadi"|cut -d"?" -f1|grep -v grep</runningcheck>
<startcommand>$SUDO $INITDIR/mysql start</startcommand>
<stopcommand>$SUDO $INITDIR/mysql stop</stopcommand>
</service>


Reply to this

-
.

 Re: mysql check fails on kde env

 
 by rdonato on: Oct 18 2011
 
Score 50%

Humm I was wrong..you are expecting an exit code from the check...I fixed it adding a custom shell script for mysql process (put it in your path):


#!/bin/sh
SERVICE=$1
if [ "$SERVICE" = "akonadi" ]
then
if ps fax | grep -v grep | grep "mysqld" | grep $SERVICE > /dev/null
then
echo "$SERVICE service running, bye bye"
exit 0
else
echo "$SERVICE is not running"
exit 1
fi
else
if ps fax | grep -v grep | grep "mysqld" | grep -v "akonadi" > /dev/null
then
echo "Mysqld service running, bye bye"
exit 0
else
echo "$SERVICE is not running"
exit 1
fi
fi


And daemons-common.xml:


<service id="mysql-daemon for kde env" priority="0">
<name>MySQL Database for KDE Env</name>
<description>Database server used by kde (stopping could be a bad idea)</description>
<installcheck>ls $INITDIR/mysql</installcheck>
<runningcheck>pidofmysql.sh akonadi</runningcheck>
<startcommand>$SUDO $INITDIR/mysql start</startcommand>
<stopcommand>$SUDO $INITDIR/mysql stop</stopcommand>
</service>

<service id="mysql-daemon" priority="0">
<name>MySQL Database</name>
<description>Database server</description>
<installcheck>ls $INITDIR/mysql</installcheck>
<runningcheck>pidofmysql.sh mysql</runningcheck>
<startcommand>$SUDO $INITDIR/mysql start</startcommand>
<stopcommand>$SUDO $INITDIR/mysql stop</stopcommand>
</service>


Reply to this

-

 Re: Re: mysql check fails on kde env

 
 by mbleichner on: Nov 1 2011
 
Score 50%

Thank you for the suggestions!

Actually, it seems you were thinking a bit too complicated. The following commands seem to work fine:

show non-akonadi process:
ps ax | grep "/usr/sbin/mysqld" | grep -v grep| grep -v akonadi

show akonadi process:
ps ax | grep "/usr/sbin/mysqld" | grep -v grep| grep akonadi

Can you check if they work correctly? Then I'll include them into the official sources.


Reply to this

-
.

 Re: Re: Re: mysql check fails on kde env

 
 by rdonato on: Nov 2 2011
 
Score 50%

Hi,

humm...I think it fails because you are going to expect a return code from the test....that's why i used a custom shell script to check mysql instances.


Reply to this

-

 Re: Re: Re: Re: mysql check fails on kde env

 
 by mbleichner on: Nov 2 2011
 
Score 50%

The return code is irrelevant if the commands are syntactically correct and produce no errors. So for the check to succeed it must only produce non-empty output.


Reply to this

-
.

 Re: Re: Re: Re: Re: mysql check fails on kde env

 
 by rdonato on: Nov 3 2011
 
Score 50%

May be I am wrong..but you are using "proc.exitCode()" and your original check calls pidof which returns an exit code. Running ps returns everytime 0. That's why your check fails...from pidof man:

EXIT STATUS
0 At least one program was found with the requested name.

1 No program was found with the requested name.


Reply to this

-

 Re: Re: Re: Re: Re: Re: mysql check fails on kde e

 
 by mbleichner on: Nov 3 2011
 
Score 50%

That may be right, but pidof also produces no output if the given process cannot be found.
For a check to fail, it is sufficient to return non-zero exit code OR zero output.
For a check to succeed, it must return exit code zero AND non-empty output.

Besides, on second thought it makes little to define a service for the akonadi MySQL process, because there is no shutdown possibility other than killing the server or akonadi itself. For akonadi there is already a service defined, and killing the MySQL process right under Akonadi's nose seems a bad idea to me.



-

 Get this into KDE

 
 by DavidEdmundson on: Oct 23 2011
 
Score 50%

This is one of the most polished well designed plasmoids I've seen.

You should try and get it into KDE extragear.


Reply to this

-

 service plasmoid

 
 by grisse on: Nov 23 2011
 
Score 50%

Hi
wollte das script verwenden aber leider funzt es nicht. Habe opensuse 12 und beim starten kommmt die Fehlermeldeung dass es ein Python script brauht. Weist du zufällig welches Paket ich zusätzlich installieren muß ?

danke wäre super denn das Script könnte ich gut brauchen
lg
chris


Reply to this

-

 Re: service plasmoid

 
 by mbleichner on: Nov 28 2011
 
Score 50%

Unter Debian muss "plasma-scriptengine-python" installiert sein, bei suse müsste es dasselbe oder was ähnliches geben. Falls es das nicht war, welche Fehlermeldung bekommst du?


Reply to this

-

 Re: Re: service plasmoid

 
 by grisse on: Dec 2 2011
 
Score 50%

also als Fehlermeldung kommt bei mir: "Der python-skript Treiber für Service Monitor kann nicht installiert werden"

Jetzt weis ich nicht in welchem Packet der drinnen ist

kannst du mir da weiterhelfen ?


Reply to this

-

 Re: Re: Re: service plasmoid

 
 by mbleichner on: Dec 2 2011
 
Score 50%

Puh, das wird vermutlich schon die Plasma Scriptengine für Python sein. Aber ich weiß nicht, was für ein Paket man da unter SuSE installieren muss. Hast du mal geschaut, ob es ein Paket "plasma-scriptengine-python" gibt?


Reply to this

goto page: prev   1  2  3 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

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

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.