U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » UppHub » [SysInfo - Improvement - Koldo] Better way to find distribution version & more
Re: [SysInfo - Improvement - Koldo] Better way to find distribution version & more [message #41122 is a reply to message #41121] Fri, 01 November 2013 23:37 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 1117
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Koldo,

Using sensors command is the easiest solution and safe solution, but not efficient one. Calling external program always associated with the overhead time. In addition we can check where are input files only once per program to optimize the algorithm.

Quote:


To get CPU temperature is more complicated than expected, and more difficult than checking folders.



I am almost sure that we can do this in above way (Open sources projects like "Conky" do this in simillar way).

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Fri, 01 November 2013 23:45]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with FileBrowser
Next Topic: AES for sqlite database
Goto Forum:
  


Current Time: Sat Apr 25 21:19:38 GMT+2 2026

Total time taken to generate the page: 0.00665 seconds