All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: [Feature request] Load average and temperature display
PostPosted: Wed May 10, 2017 6:30 am 
Offline
greencedars - FlightAware user avatar

Joined: Sat Feb 04, 2017 1:53 pm
Posts: 2
Hello,
As a person who loves to see numbers and data in general, I was wondering if it would be possible to display the load average and temperature of the device in SkyView. It doesn't have to be fancy; maybe a discrete line on top of the panel on the right.
I run other services on the Rpi and it would be useful to see this information; I usually ssh in and check it.
It is also useful to check the CPU temperature if the device is not well ventilated or outdoors.
Thank you for your consideration.

g.


Top
 Profile  
 
 Post subject: Re: [Feature request] Load average and temperature display
PostPosted: Wed May 10, 2017 6:35 am 
Offline
FlightAware Member
conligwx - FlightAware user avatar

Joined: Sat Mar 18, 2017 8:00 pm
Posts: 90
Location: EGAC/EGAD
I too would like to see some sort of built in values, Perhaps even on a separate page?


Top
 Profile  
 
 Post subject: Re: [Feature request] Load average and temperature display
PostPosted: Wed May 10, 2017 8:11 am 
Offline
FlightAware Staff
ericcarlson - FlightAware user avatar

Joined: Sun Jan 01, 2006 5:00 pm
Posts: 150
Thank you for the suggestion. We will consider it for a future update.


Top
 Profile  
 
 Post subject: Re: [Feature request] Load average and temperature display
PostPosted: Wed May 10, 2017 5:36 pm 
Offline
AlpineMeadows - FlightAware user avatar

Joined: Tue Mar 21, 2017 12:07 am
Posts: 25
Another vote to show this or give us a command to send the Pi to show it on the log screen.

My Pi is in a metal box in the attic, powered over POE. I don't have easy physical access to it to hook up a monitor/keyboard.

Thanks


Top
 Profile  
 
 Post subject: Re: [Feature request] Load average and temperature display
PostPosted: Thu May 11, 2017 1:42 am 
Offline
FlightAware Member
conligwx - FlightAware user avatar

Joined: Sat Mar 18, 2017 8:00 pm
Posts: 90
Location: EGAC/EGAD
btw you can use the command

cat /sys/class/thermal/thermal_zone0/temp

then divide by 1000


Top
 Profile  
 
 Post subject: Re: [Feature request] Load average and temperature display
PostPosted: Thu May 11, 2017 1:01 pm 
Offline
greencedars - FlightAware user avatar

Joined: Sat Feb 04, 2017 1:53 pm
Posts: 2
Or on a Pi 'sudo vcgencmd measure_temp'


Top
 Profile  
 
 Post subject: Re: [Feature request] Load average and temperature display
PostPosted: Sun May 14, 2017 3:02 pm 
Offline
n112 - FlightAware user avatar

Joined: Thu Apr 09, 2015 5:03 pm
Posts: 9
I also think that a temperature display on SkyView screen would be nice.

On my RPi, I have a script (tempcheck.sh) that displays temperature in degrees C and F.
This script is called from ~/.bashrc so appears on every login.
This script can be called from other scripts as well or run manually.


The temperature is displayed as part of the login messages. For example:
The CPU's current temperature is:
27.7 °C (81.86 °F)


These two lines are at end of my ~/.bashrc file:
echo "The CPU's current temperature is:"
~/bin/tempcheck.sh

This is the contents of my file ~/bin/tempcheck.sh.
(this file has execute permissions)
#!/bin/bash
tm=`/opt/vc/bin/vcgencmd measure_temp`
tc=`echo $tm| cut -d '=' -f2 | sed 's/..$//'`
tf=$(echo "scale=2;((9/5) * $tc) + 32" |bc)
echo $tc \°C \($tf \°F\)


I believe that the package bc was not included, so
sudo apt-get install bc
was necessary to get the degees F calculation.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: aenea and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: