We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.
Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.
Hi, Glenn, and thanks for Desktopinfo!
One thing I'd like to find out: my Desktopinfo just run a batch file every 10 minutes to poke into my DAC (Picoreplayer+Allo Boss) thru a ssh session to get the uptime and the temperature. Works just fine, until one of two things happen:
1) I lock my session (Win+L) and, when I return the next day, Desktopinfo has stopped refreshing the info about the DAC. And stop responding when I close it and relaunch the program or kill the task in the Task manager (I've even tried TASKILL to close any instances of the program, but to no avail.)
2) After many times (say, 10) of editing the .ini file (it's addictive), Desktopinfo hangs and begin to behave weird. I have to logout on login again into the Windows session to get Desktopinfo to work again. (Again, I've even tried TASKILL to close any instances of the program, unsuccessfully.)
I hope you can give me some hints.
Thanks again for this great job!
Ariel
1) I don't recall any situation where Task Manager is unable to end the process. I will need to see the batch file to try to understand the situation.
2) Are you running WMI queries? This is a known Windows issue that can block Desktop Info.
Dear @glenn, thanks por answering. And pls never mind. This was a classic RTFM case. My bad.
Instead of sending the output of ssh straight to Desktopinfo I wrote a batch file that created two text files read by FILECONTENTS. The batch was as follows:
ssh tc@192.168.1.36 "uname -n -s -r -m;uptime | awk '{print substr($0, 1, length($0)-33)}'" > c:\{user folder}\picosound_uptime.txt
ssh tc@192.168.1.36 "cat /sys/class/thermal/thermal_zone0/temp | awk '{print substr($0, 1, length($0)-3)}'" > c:\Users\{user folder}\picosound_temp.txt
After reading the manual (again, my bad), I just used CMD, as follows (and it works flawlessly):
CMD=active:1,interval:300,file:cmd.exe parameters:/C ssh tc@192.168.1.36 "uname -n -s -r -m",display:%4
CMD=active:1,interval:300,file:cmd.exe parameters:/C ssh tc@192.168.1.36 "uptime",display:%4[sub:1:25]
CMD=active:1,interval:300,file:cmd.exe parameters:/C ssh tc@192.168.1.36 "cat /sys/class/thermal/thermal_zone0/temp", display:%4
Now, the only thing I cannot figure out is the number formatting in Desktopinfo. The temperature output is a five digit number; ie, 41855. This should be 41,8°C. But I didn't hit the right method yet. Not super important, but I enjoy learning.
Thanks again!
Ariel
OT: when the storm you mention in the forum header happened?
About a year ago now. We're still repairing the damage.OT: when the storm you mention in the forum header happened?
