-
 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   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (26) .- Knowledge Base (1) . 

Yasp-Scripted (Systemmonitor) v1.0.8a

   1.0.8a  

Plasmoid Binary

Score 86%
Yasp-Scripted (Systemmonitor) v1.0.8a
zoom


Yasp-Scripted (Systemmonitor) v1.0.8a
zoom


Yasp-Scripted (Systemmonitor) v1.0.8a
zoom


Minimum required   KDE 4.x
Downloads:  10408
Submitted:  Jul 31 2009
Updated:  Feb 25 2011

Description:

Yes, Yet another systemmonitor plasmoid.
But still different from the others.
The only useful plasmoid systemmonitor i have found was Yasp. The problem with it was that it was not configurable enough.
So I came up with the idea, that everyone has its own imaginations of what belongs into a systemmonitor and what not. The birth of Yasp-scripted.
The name is similar to Yasp, because I use some modified code from that project.
The biggest advantage is that you can add things to the monitor or remove some, by just changing the script file and reparse it again...) No recompilation or something like that needed...
The scriptfile which comes with this applet is a scriptfile which fits exactly my system. You probably need to change it to fit your system (e.g. if you do not have a wireless lan card, you need to remove the wlan stuff from the script file).

You can send me your script, such that I can upload a whole bunch of scripts, the user could choose of later (maybe with a screenshot to see directly what the script does)

The scripts can be found in the directory yasp_scripts.
The 1st screenshot is systemmonitor_by_mtr.script, the 2nd screenshot is systemmonitor_by_patkoscsaba.script
and the 3rd screenshot is the script collection by duncan
(thx for the scripts).

If you want to align things, you should either use a monospace font, or use a \t in the value.

If you are familiar with svg you maybe will create your own svg's for the bar-meter. Send them please to me to have a wider range of look and feel for the system monitor ;)




Changelog:

1.0.8a - wrong folder prefix ;)

1.0.8 - bug fixed when reparsing (the kde-plasma-handle was deleted, but we should not delete it)

1.0.7 - bug fixed if engine-sensors contains a colon
- Added script by joseph (thx for the script)
- New script by aldo (thx for the script)

1.0.6 - stack keyword added to plotter (thx Chris99 for the patch)
- Script by mtr added (thx for the script)

1.0.5 - fix crash on reparsing in kde-4.5.2 (with 4.5.2 reparsing works again, but 4.5.1 and 4.5.0 have a bug)

1.0.4
- Label preferredSize setting correctly + sizePolicy changed

1.0.3
- meter sizePolicy changed (works now better in KDE-4.5)
- bugfix for KDE-4.5 such that it does not crash on removal

1.0.2
- workaround for problems with KDE-4.5 and meters (min_height parameter added)
- added script by aldo to the package (italian labels)
(- known issue: yasp-scripted crashes on reparsing in kde-4.5. This will be fixed in a later release)

1.0.1 - bug fixed if yasp is closed while parsing the script

1.0: - Reparsing should be more stable




LicenseGPL
Source(Yasp-Scripted v1.0.8a)
Arch(Arch Linux PKGBUILD)
Send to a friend
Subscribe
Other  Artwork  from finkandreas
Report inappropriate content



goto page: prev   1  2  3  4  5  6  7  8  9  10  11  12  13  14  15 

-

 Temperature informations

 
 by nicollivier on: Mar 18 2010
 
Score 50%

I would like to have Cpu's temperature informations. So I installed lm_sensors, but I still have no information...

I missed something ?!

Thanks...

Nico


Reply to this

-

 Re: Temperature informations

 
 by finkandreas on: Mar 18 2010
 
Score 50%

First make sure that lm_sensors works at all, i.e. type 'lm_sensors' in a terminal and look at the output.

Then you need to define sensors in yasp-scripted which parse the output of lm_sensors to get the desired result..

If lm_sensors itself is working and you have no idea how to get the result to yasp, you can post the output of lm_sensors, and I can help you.


Reply to this

-

 Re: Re: Temperature informations

 
 by nicollivier on: Mar 19 2010
 
Score 50%

Hi,

Thanks for your help.

lm_sensors works fine, and this is the result of «sensors»:

[~] sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +36.0°C (crit = +127.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0: +47.0°C (high = +82.0°C, crit = +100.0°C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1: +47.0°C (high = +82.0°C, crit = +100.0°C)

coretemp-isa-0002
Adapter: ISA adapter
Core 2: +43.0°C (high = +82.0°C, crit = +100.0°C)

coretemp-isa-0003
Adapter: ISA adapter
Core 3: +43.0°C (high = +82.0°C, crit = +100.0°C)


Thanks a lot :)

Nico


Reply to this

-

 Re: Re: Re: Temperature informations

 
 by finkandreas on: Mar 19 2010
 
Score 50%

It depends how you want to have the output (one line with all 4 temperatures, 4 lines with the temperature for each core, the mean value of all temperatures, etc)

here a possiblity to get all Core values in one line
sensor name="Temp" type="program" cmd=%cat temp | grep Core | sed -e "s/Core [0-3]: +\(..\).*/\1/" | xargs%

value key="Core Temp" use="Temp"

If you want another type of output let me know, then i can give you other possible sensor/value lines ;)


Reply to this

-

 Re: Re: Re: Re: Temperature informations

 
 by nicollivier on: Mar 19 2010
 
Score 50%

Now I'm using my netbook, and the command «sensors» return this:

coretemp-isa-0000
Adapter: ISA adapter
Core 0: +34.0°C (high = +105.0°C, crit = +105.0°C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1: +31.0°C (high = +105.0°C, crit = +105.0°C)

So I think I could use your command?!
But there is a problem:
«cat:temp: No file or folder of this type» ...

Thans a lot for your help :)


Reply to this

-

 Re: Re: Re: Re: Re: Temperature informations

 
 by nicollivier on: Mar 19 2010
 
Score 50%

I looked inside « systemmonitor.script », and I found this:
sensor name="Core0Temp" type="program" cmd=%sensors | grep -A1 Core0 | xargs | sed "s/.*Temp: \(+[0-9]*\).*Temp: \(+[0-9]*\)../\1 \2/"%

And I adapted it with « ... grep -A1 " Core 0".... », and now I've informations... But there's all informations, with limits....

How can I do to have only temp...

Thanks :)

Nico


Reply to this

-

 Re: Re: Re: Re: Re: Re: Temperature informations

 
 by nicollivier on: Mar 19 2010
 
Score 50%

Well, with this script « systemmonitor_by_patkoscsaba.script », I found the right command:

sensor name="Core0Temp" type="program" cmd=%sensors | grep -A1 "Core 0" | xargs | sed "s/.*: +\([0-9].....\).* \(+[0-9].*\)/\1/"%

But I've again a litte problem :), I would like have all Cpu1's informations in only one line..
Now I've two lines:
1 to Cpu's use with this:
sensor name="Cpu0Load" type="engine" cmd="systemmonitor:cpu/cpu0/TotalLoad:value" math="int $0"
value key="Cpu0: " use="Cpu0Load" format="$1 %"
And second to Cpu's Temp

So if I could have these informations in only one line, it's great :)

And a last one, if I can :)
I would like to have HDD's temp, but I don't know how I have to adapt the command....

Thanks a lot for your help :)

Nico



-

 Re: Re: Re: Re: Re: Re: Temperature informations

 
 by finkandreas on: Mar 19 2010
 
Score 50%

sorry, in my command before you should of course replace 'cat temp' by 'sensors' (I copied your output to a file called temp, to test my own command ;) )

To have all informations in one line, define your two sensors (Core0Temp and Cpu0Load) and add this line to your script:
value key="Cpu0: " use="Cpu0Load" use="Core0Temp" format="$1 % $2"

How can you get hdd-temp in a console, and how does the output look like?



-

 Re: Re: Temperature informations

 
 by ondrokm on: May 27 2010
 
Score 50%

Hi,
temperature doesn't work for me neither.

$ sesors:
acpitz-virtual-0
Adapter: Virtual device
temp1: +52.0°C (crit =90.0°C)
temp2: +52.0°C (crit = +90.0°C)

Could you help me, pls?


Reply to this

-

 Re: Temperature inform

 
 by DuncanKDE on: May 27 2010
 
Score 50%

That's all the sensors command outputs? If so, all you need to do is sed for the temps. If not, you'll have to grep for the adaptor (using the -An option to include n additional lines after), then grep or sed the result.

Assuming that it's the whole sensors output, try this as the command for temp1, change the temp1 to temp2 for it (if you don't want the fraction, simply omit the . in [0-9.]):

sensors | sed -n 's/temp1: +\([0-9.]\+\).*/\1/p'

You can try that on the command line and see what it outputs, before trying it in your yasp-script.

If you have other temp1 sensors as well, you'll probably need to grep for the adapter first, so you get the correct temp1, as so:

sensors | grep -A3 acpitz-virtual-0

So then the complete command looks like this:

sensors | grep -A3 acpitz-virtual-0 | sed -n 's/temp1: +\([0-9.]\+\).*/\1/p'

(As none of those lines include the " char, you can use it as the command delimiter in the yasp-script.)


Reply to this

-

 Re: Re: Temperature inform

 
 by ondrokm on: May 28 2010
 
Score 50%

Thanks. Yes, that was the whole output of $ sensors.
Your commands doesn't work, finally I have found

sensors | grep -A1 "temp1" | xargs | sed "s/.*: +\([0-9].....\).* \(+[0-9].*\)/\1/"

Hope it will helps someone else.


Reply to this

-

 Re:Temperature informations..

 
 by nicollivier on: Mar 19 2010
 
Score 50%

Thanks a lot :) it's OK for Cpu's Temps

For Hdd's Temp, I use this command « hddtemp /dev/sda »
And return:
/dev/sda: TOSHIBA MK2555GSX: 37°C


Reply to this

-

 Re: Re:Temperature informations..

 
 by finkandreas on: Mar 19 2010
 
Score 50%

sensor name="HddTemp" type="program" cmd=%hddtemp /dev/sda | sed -e "s/.*: \([0-9]*\).*/\1/"%
value key="Hdd Temp:" use="HddTemp"


Reply to this

-

 Re: Re: Re:Temperature informations..

 
 by nicollivier on: Mar 19 2010
 
Score 50%

Perfect
Thanks a lot :D


Reply to this

-
.

 Waiting for: HomeUsed

 
 by Grindcore on: Apr 17 2010
 
Score 50%

Hi,

Compiling and installing was no problem but after choosing the systemmonitor.script all I get is the following message: Waiting for: HomeUsed.

The relevant line in the script is this one:
sensor name="HomeUsed" type="engine" cmd="systemmonitor:partitions/home
/usedspace:value" math="int $0 256 /"

What is the problem?

Thanks for advice!


Reply to this

-

 Re: Waiting for: HomeUsed

 
 by DuncanKDE on: Apr 17 2010
 
Score 50%

Quote:
Waiting for: HomeUsed. [...]

sensor name="HomeUsed" type="engine" cmd="systemmonitor:partitions/home
/usedspace:value" math="int $0 256 /"


Do you have a separate /home partition, or is it on the same partition as / ?

yasp-scripted is designed for you to be able to create your own system monitor scripts to fit your own needs and system layout, possibly modifying the ones shipped with it as examples, possibly creating your own, from scratch. If you're not modifying them for your own installation, you're missing the point, and there's likely a lot that's going to be broken -- that'd be just the first bit it couldn't understand.

If it's waiting for that system monitor engine value, it's probably because that value doesn't exist, which is probably because that partition doesn't exist. Check the README.syntax file shipped with the sources for the details, but in short, try running "plasmaengineexplorer" and taking a look at all the systemmonitor data-sources. If you have a partitions/home/usedspace source available, the problem is something else, but it won't be available if you don't have a separate partition mounted at /home, which is what I expect is the issue there, because you've not customized the script for your system.


Reply to this

-

 Great Job

 
 by ransom on: May 10 2010
 
Score 50%

Thanks for Yasp-Scripted. Finally I got what I missed all the time: A simple line in the panel displaying temps, fans and disk space. Great!


Reply to this

-

 multiple icons in one line.

 
 by vi3dr0 on: May 10 2010
 
Score 50%

I'd like to have multiple icons and text values in one line, like:

<icon> : $1 <icon2> : $2 <icon3> : $3 ...

so it could give nice conky-like experience docked in panel. Is it possible?


Reply to this

-

 Re: multiple icons in one line.

 
 by finkandreas on: May 14 2010
 
Score 50%

Sorry that's not possible. You can only have a line of icons with no text or a line of one icon on the left side and then some text....

And at the moment I do not have that much time, for implementing this.


Reply to this

-

 Application RAM as %?

 
 by Contrast on: May 12 2010
 
Score 50%
ContrastContrast
-
Mike Vaughn 37

United States of America, Georgetown, KY
Last visit Jul 19 2014
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

I've been trying to set this up for weeks with no success. Would someone be so kind as to post a script for this? To clarify, I'm trying to get the percentage of RAM currently in use, not counting buffers/cache. Ten thousand internets for whoever can oblige. :)


Reply to this

-
.

 Re: Application RAM as %?

 
 by DuncanKDE on: May 13 2010
 
Score 50%

Quote:
percentage of RAM currently in use, not counting buffers/cache.


Should be easy enough (famous last words!). You're wanting app RAM (not counting buffs/cache) divided by physical RAM (not counting swap), right?

Getting the two values is reasonably easy. Here's the sensors I use, as should be in the files I contributed to the tarball, minus the KB > MB conversion. (Note that each sensor is one line, regardless of what the wrapping as displayed here is, and that I'm retyping them "raw and untested", so there might be a typo in the form of a missing quote or some such. Testing and typo correction's your job. =:^)

# mem.phys in bytes

sensor name="mem.phys.kb" type="program" cmd="sed -ne 's/MemTotal: *\([0-9]*\).*/\1/p' /proc/meminfo"

# mem.appl in bytes

sensor name="mem.appl.kb" type="engine" cmd="systemmonitor:mem/physical/application:value"

# What's left is a math sensor to combine them with the appropriate division

sensor name="mem.appl.pt" type="math" use="mem.appl.kb" use="mem.phys.kb" math="double $1 100 * $2 /"

Of course, you could do the math at the end of the second sensor and not include a math sensor at all, if desired, and that's probably how I'd actually deploy it if I wasn't using the mem.appl raw KB number, but I left it as three separate sensors here, for clarity.

The other alternative, which I chose to use in my memory display as is now shipped in the tarball as an example, would be to convert both mem.phy and mem.appl (as well as buffer, cache, and total used) to MB, (divide the raw numbers by 1024), and display them both as-is, and plotted, with the physical RAM number hard-coded as the plotter max. This effectively gives me percentage as plotted, since the plotter domain is 100% of the physical memory, but megabyte values as displayed. Given that multiple values can be plotted at once, I can plot used/appl/cach/buff all on the same plotter against physical RAM as 100%, giving me several times the information of a single plot, while using no additional display space. =:^) The only additional display space used would be if all values were to be displayed as text as well, which I do, but which you could omit if you're short on space.


Reply to this

-

 Re: Re: Application RAM as %?

 
 by Contrast on: May 13 2010
 
Score 50%
ContrastContrast
-
Mike Vaughn 37

United States of America, Georgetown, KY
Last visit Jul 19 2014
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Thanks for the quick reply. That's really close to what I'm trying to get, but what do I need to put in the value line so it just shows the first two digits without the decimal point and the following two digits? Here's what I have now:
value use="mem.appl.pt" font="Eurostile Extended, 48" format="$1%" alignment="Center" interval="1000"
And that's showing, for example, "50.05%", when I'd like for it to just show "50%". Again, thanks for your help. :)


Reply to this

-

 Re: Application RAM as

 
 by DuncanKDE on: May 13 2010
 
Score 50%

In that case, just change the "double" on that math sensor to "int". Should do the trick. It won't be quite as accurate, the reason I used double in the first place, but it sounds like a bit of rounding error isn't something that concerns you, and putting the multiplication first helps too.


Reply to this

-

 Re: Re: Application RAM as

 
 by Contrast on: May 13 2010
 
Score 50%
ContrastContrast
-
Mike Vaughn 37

United States of America, Georgetown, KY
Last visit Jul 19 2014
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Awesome, that got it. Many thanks for your help on this - I was struggling with the math sensor forever. Here's the final result: http://kde-look.org/content/show.php?content=124682


Reply to this

goto page: prev   1  2  3  4  5  6  7  8  9  10  11  12  13  14  15 

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
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

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

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.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.