sysadmin/thinkfan/fanspeed.sh

4 lines
96 B
Bash
Raw Normal View History

2017-09-15 14:11:31 -04:00
#!/bin/bash
cat /proc/acpi/ibm/fan | grep ^speed | cut -d ':' -f 2 | sed -e 's/[[:space:]]*//'