sysadmin/thinkfan/fanspeed.sh
2017-09-15 21:11:31 +03:00

4 lines
96 B
Bash

#!/bin/bash
cat /proc/acpi/ibm/fan | grep ^speed | cut -d ':' -f 2 | sed -e 's/[[:space:]]*//'