MycroftAI / enclosure-picroft

Mycroft interface for Raspberry Pi environment
https://mycroft.ai/documentation/picroft
GNU Lesser General Public License v3.0
803 stars 191 forks source link

initial PoC script for sampling user spec and data for picroft #140

Closed fermulator closed 2 years ago

fermulator commented 4 years ago

example, on my system PoC

(.venv) pi@picroft:~ $ ~/scripts/get-mycroft-community-spec-table.sh 

   "2020-07-03", "Raspberry Pi 3 Model B Plus Rev 1.3", "20.2.4", "Buster Keaton - Pork Pi", "<UPDATE>", "<UPDATE>", "52'C", "51.5'C", " 1.39, 1.49, 1.53", "<USER>"
fermulator commented 3 years ago

Other Misc Ideas from discussion to ADD to data gathering:

  1. whether we're being throttled or not vcgencmd get_throttled - https://newscrewdriver.com/2018/09/06/detecting-raspberry-pi-thermal-throttling-from-console/
  2. trying to detect if this is a stock picroft image, custom, or vanilla linux cat /etc/issue, uname -a?
  3. trying to detect if mycroft is the only primary app running (or not); (if there are others, it affects the data integrity) ; maybe ps aux | head -1; ps haux | sort -nrk 3,3 | head -n 10? <-- if I can't prune LOGIC out of this into a cell, maybe just printing it at the end will help the user see the culprits (obviously silly for any1 *nix comfortable ... but perhaps more user friendly)
fermulator commented 2 years ago

(no interest)