LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2010, 03:16 PM   #1
jahobjafwar
Member
 
Registered: Aug 2010
Posts: 31

Rep: Reputation: 0
is conky feeding me a line of crap


recently i started messing around with conky. its really neat and i like making new configurations and what not, just for fun.
the thing is, the other day i was playing around with the 'cpu' variables (cpu, cpubar, cpuguage) normally if you wanted to see the usage of say cpu0 or cpu1 you could call the variable as ${cpu cpu0} or ${cpu cpu1} respectively. well i input ${cpu5} (obviously i dont have 5 cpu's) well it still gave me output as if it was showing me the usage of that cpu. can any of you guys explain this. it also works for other parameters as well. is conky just showing me a bunch of random graphs and percentages or when i called that imaginary cpu does it default to a certain one. these are the only two answers i can come up with on my own.
 
Old 10-10-2010, 08:08 PM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,550

Rep: Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898Reputation: 2898
Don't quote me a 100% but from memory if you go past the last numbered variable, for those that use that format, then it utilises information from the highest numbered item.
ie. in your example if we assume you have only 2 cpu's then setting it to anything greater than 1 (because numbering starts at 0) will cause you to get the information
for the second cpu.

Been a while since I played with conky, but I hope that is still right.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
conky question: passing conky-variable to shell-script zlin50 Linux - Software 2 12-29-2012 07:47 PM
LXer: Conky Colors Makes Your Conky Beautiful In Seconds (Version 3.20 Released) LXer Syndicated Linux News 0 08-01-2010 12:21 PM
LXer: Conky Ubuntu Lucid Theme - Among The Easiest to Install Conky Theme in Ubuntu LXer Syndicated Linux News 0 07-05-2010 05:11 PM
Conky on Suse 10.0 - *** buffer overflow detected *** conky terminated Slidex Linux - Software 1 03-17-2006 12:50 PM
Linspire = Crap, Netzero also = Crap rm6990 General 16 09-20-2004 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration