Local Shake Monitoring#

Below are simple, reliable command‑line checks you can run from a laptop or another Linux machine to quickly assess the status of your Raspberry Shake (naturally, both machines have to be on the same network). You can access the Shake via SSH (Linux) or PuTTY (Windows). For instructions see How to access your Raspberry Shake’s computer via ssh.

Ping: Is the Shake reachable?#

Use ICMP ping to verify basic network reachability:

$ ping -c1 SHAKE_IP >/dev/null 2>&1 && echo "Reachable" || echo "UNREACHABLE"

to simply ping the Shake and see if it responds

MicroSD usage: How full is it?#

Query disk usage for /opt/data via SSH (5‑second timeout) with:

$ ssh -o ConnectTimeout=5 myshake@SHAKE_IP "df -P /opt/data | awk 'NR==2{print \$5}'"

More information about storage can be found here: How much data can be stored on a Raspberry Shake?.

Data files: Did the Shake write data in the last day?#

List files under the local miniSEED archive that were modified in the last 24 hours:

$ ssh myshake@SHAKE_IP "find /opt/data/archive -type f -mtime -1"

If you simply want a numeric result:

$ ssh myshake@SHAKE_IP "find /opt/data/archive -type f -mmin -1440 | wc -l"

Combined example#

Here is an example of results as retrieved from an Ubuntu laptop in the same local network as the Shake:

$ping -c1 SHAKE_IP >/dev/null 2>&1 && echo "Reachable" || echo "UNREACHABLE"
Reachable

$ nc -z -w2 SHAKE_IP 18000 && echo "SeedLink OK" || echo "SeedLink CLOSED"
SeedLink OK

$ ssh -o ConnectTimeout=5 myshake@SHAKE_IP "df -P /opt/data | awk 'NR==2{print \$5}'"
myshake@SHAKE_IP's password:
63%

$ ssh myshake@SHAKE_IP "find /opt/data/archive -type f -mtime -1"
myshake@SHAKE_IP's password:
/opt/data/archive/2025/AM/...00.EHZ.D.2025.224
/opt/data/archive/2025/AM/...00.EHZ.D.2025.223
/opt/data/archive/2025/AM/...00.ENN.D.2025.223
/opt/data/archive/2025/AM/...00.ENN.D.2025.224
/opt/data/archive/2025/AM/...00.ENE.D.2025.224
/opt/data/archive/2025/AM/...00.ENE.D.2025.223
/opt/data/archive/2025/AM/...00.ENZ.D.2025.224
/opt/data/archive/2025/AM/...00.ENZ.D.2025.223

The entire list of checks could also be combined in a single, simple script that would present you a report of sorts and give you an always-updated overview of the Shake(s) status.