Glossary:
- md: multiple devices
| command | description |
|---|---|
cat /proc/mdstat |
show status of all raids |
mdadm --detail /dev/md0 |
detailed status of raid md0 |
| # Set the command-line arguments to pass to the server. | |
| ARGS='-web.listen-address=:9100 -collector.diskstats.ignored-devices="^(ram|loop|fd)\\d+$"' | |
| # Prometheus-node-exporter supports the following options: | |
| # -collector.diskstats.ignored-devices="^(ram|loop|fd|(h|s|v|xv)d[a-z])\\d+$": Regexp of devices to ignore for diskstats. | |
| # -collector.filesystem.ignored-mount-points="^/(sys|proc|dev)($|/)": Regexp of mount points to ignore for filesystem collector. | |
| # -collector.ipvs.procfs="/proc": procfs mountpoint. | |
| # -collector.megacli.command="megacli": Command to run megacli. | |
| # -collector.ntp.server="": NTP server to use for ntp collector. | |
| # -collector.textfile.directory="": Directory to read text files with metrics from. |
| In a privileged cmd.exe: | |
| lxrun /uninstall /full | |
| sc stop lxssmanager | |
| rmdir /S %LOCALAPPDATA%\lxss | |
| optionalfeatures.exe --> uncheck "Windows Subsystem for Linux (Beta)" | |
| global | |
| log 127.0.0.1 syslog | |
| maxconn 1000 | |
| user haproxy | |
| group haproxy | |
| daemon | |
| tune.ssl.default-dh-param 4096 | |
| ssl-default-bind-options no-sslv3 no-tls-tickets | |
| ssl-default-bind-ciphers EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH |