![]() |
[How to do instruction] Create a Simple Script to Get System Information - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: FAQ and Guides (https://moodeaudio.org/forum/forumdisplay.php?fid=9) +--- Thread: [How to do instruction] Create a Simple Script to Get System Information (/showthread.php?tid=6051) |
Create a Simple Script to Get System Information - cogitech - 12-21-2023 I found this elsewhere and then modified it a bit to add more info. Simply ssh into your moode and then nano your_file_name.sh and then paste this in it and save the changes: Code: #!/bin/bash Then do: Code: chmod +x your_file_name.sh To run the script, simply: Code: ./your_file_name.sh The output will look something like: Code: Wed Dec 20 17:18:46 MST 2023 @ moode You can also do the following if you want to monitor this info while playing music, running tests (resampling, EQ, DSP, etc.) Code: watch ./your_file_name.sh RE: Create a Simple Script to Get System Information - cogitech - 12-21-2023 Here is another variation, which displays the CPU speed in MHz, but requires you to use "sudo" when you run it: Code: #!/bin/bash Displays this: Code: moode@moode:~ $ sudo ./my-pi-temp.sh |