# stocheck quick and dirty smart value checker ### features: - sata/nvme support - show smart info and self-check results # usage Usage: stocheck (options)
Options:
-h/--help -- show help
-u/--update -- update the script
### **running it on a remote machine:** **running once:** ```bash ssh root@remote 'bash -s' < stocheck.sh ``` **proper alias:** ```bash echo "function stocheck_remote { ssh root@"$"1 'bash -s' < ~/stocheck.sh; }" >> ~/.bashrc echo "alias stocheck=stocheck_remote" >> ~/.bashrc ``` # installation 1. download the script:
```bash wget https://git.byreqz.de/byreqz/stocheck/raw/branch/main/stocheck.sh ``` 2. run it with
```bash bash stocheck.sh ``` or
```bash chmod +x stockheck.sh && ./stocheck.sh ``` 3. optionally alias it
```bash alias stocheck="~/stocheck.sh" ```