mirror of
https://github.com/byReqz/stocheck.git
synced 2024-12-26 19:01:47 +00:00
LICENSE | ||
README.md | ||
stocheck.sh |
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:
ssh root@remote 'bash -s' < stocheck.sh
proper alias:
echo "function stocheck_remote { ssh root@"$"1 'bash -s' < ~/stocheck.sh; }" >> ~/.bashrc
echo "alias stocheck=stocheck_remote" >> ~/.bashrc
installation
- download the script:
wget https://git.byreqz.de/byreqz/stocheck/raw/branch/main/stocheck.sh
- run it with
bash stocheck.sh
or
chmod +x stockheck.sh && ./stocheck.sh
- optionally alias it
alias stocheck="~/stocheck.sh"