17 lines
432 B
Bash
Executable File
17 lines
432 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
printf '%s\n'
|
|
|
|
printf '%s\n\n' "Wellcome to OpenBSD"
|
|
|
|
printf '%s\n\n' "Kernel Version: $(sysctl -n kern.version)"
|
|
|
|
printf '%s\n' "CPU Temperature: $(sysctl -n hw.sensors.cpu0.temp0)"
|
|
|
|
printf '%s\n' "ACPITZ Temperature: $(sysctl -n hw.sensors.acpitz0.temp0)"
|
|
|
|
printf '%s\n' "CPU Speed: $(sysctl -n hw.cpuspeed)"
|
|
|
|
printf '%s\n\n' "FAN Speed: $(sysctl -n hw.sensors.acpithinkpad0.fan0)"
|
|
top -d1 | head -11 | tail -1
|