Skip to content

Instantly share code, notes, and snippets.

View agh's full-sized avatar
:shipit:
Keepin' on Shippin'

Alex agh

:shipit:
Keepin' on Shippin'
  • Seattle, WA
  • 10:53 (UTC -08:00)
View GitHub Profile
#!/usr/bin/env bash
# check-nvme-health.sh
# NVMe-only health check using nvme-cli with delta error-log tracking, tabular output.
set -uo pipefail
RED="\033[0;31m"
YELLOW="\033[0;33m"
GREEN="\033[0;32m"
NC="\033[0m"
$ sudo lscpu
Architecture: aarch64
CPU op-mode(s): 64-bit
Byte Order: Little Endian
CPU(s): 20
On-line CPU(s) list: 0-19
Vendor ID: ARM
BIOS Vendor ID: NVIDIA
Model name: Cortex-X925
BIOS Model name: GB10 Spark CPU @ 3.9GHz
### Keybase proof
I hereby claim:
* I am agh on github.
* I am agh (https://keybase.io/agh) on keybase.
* I have a public key ASCXijZKGbmHXozw7iJxMx-OxMkpyqRdzHHsbO-v1Ahfugo
To claim this, I am signing this object:
@agh
agh / keybase.md
Last active September 8, 2015 23:09

Keybase proof

I hereby claim:

  • I am agh on github.
  • I am agh (https://keybase.io/agh) on keybase.
  • I have a public key whose fingerprint is 9849 3076 2671 B971 66A5 ADED 2611 8A6D 0407 B527

To claim this, I am signing this object: