Index

Notes

  1. Window 1
  2. Window 2
  3. General notes

Useful Information

  1. Guardian Restore
  2. Cloud Restore
  3. Raid Repair
    1. Adaptec
    2. Software Raid
    3. LSI
    4. Software raid to Hardware raid
  4. Rack Mount Rows
  5. Mysql dump
  6. Interwerx
  7. WHM API
  8. Chasis swap
  9. Windows commands
  10. xpaste
  11. find docroot
  12. clown funnyness
  13. ssh keys
  14. duff
  15. subdomain finding ideas
  16. RAM

RAM

clear; hostname;if [[ $(dmidecode -t 16 | grep "Error Correction Type:" | uniq | awk '{print $4}') == "None" ]] ; then printf " Non EEC - Non REG
"; else if [[ $(dmidecode -t 16 | grep "Error Correction Type:" | uniq | awk '{print $4}') == "Single-bit" ]]; then printf " ECC - Non-registered (Unbuffered)
"; else if [[ $(dmidecode -t 16 | grep "Error Correction Type:" | uniq | awk '{print $4}') == "Multi-bit" ]]; then printf " ECC - Registered (Fully Buffered)
"; fi; fi; fi; dmidecode -t memory | grep DDR | uniq; printf " Speed $(dmidecode -t memory | grep -i Speed: | grep -v "Unknown" | grep Configured | awk '{print $4}'| uniq) MH/s
"; dmidecode -t memory | grep Capacity; printf "
Slots Used $(dmidecode -t memory | grep "Configured" | grep -v "Voltage" | awk '{print $4}' | grep -vi "Unknown"| wc -l)/$(dmidecode -t memory | grep "Configured" | grep -v "Voltage" | awk '{print $4}' | wc -l)
"; dmidecode -t memory | grep Size: | grep -vE "No Module Installed|None|Volatile"; printf "
";