w
: show who is logged on and what they are doingwho
: show who is logged ontty
: show current users pseudo terminalps -ft pts/1
: get process id for the pseudo terminalpkill
: signal process based on name and other attributes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is a modified version of the Supermicro PID Logic Fan Script from https://forums.freenas.org/index.php?resources/fan-scripts-for-supermicro-boards-using-pid-logic.24/ | |
# and is designed to run on Supermicro X9 boards using an Nuvoton WPCM450 BMC. | |
# | |
# IPMI raw commands are gathered from https://www.supermicro.com/support/faqs/faq.cfm?faq=15634 | |
# and https://www.reddit.com/r/homelab/comments/8fhomj/getting_those_supermicro_x9_motherboard_fans/ | |
# | |
# Attention: When i modified this script, i had already configured full fan mode via ipmi web interface. | |
# Therefore this script may not enable full fan mode. Please enable it manually, otherwise the ipmi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#from : | |
#https://gist.github.com/deviantony/2b5078fe1675a5fedabf1de3d1f2652a | |
#https://gist.github.com/tancou/adbdacd1aa1d3afc68c2d877c6ef353c | |
apt update -y | |
apt install curl -y | |
apt install qemu-guest-agent -y |