Computer Tips - Linux: How can I tell if I have protection from Meltdown and Spectre?

Date: 2018jun26 OS: Linux Distro: all Q. Linux: How can I tell if I have protection from Meltdown and Spectre? A. If you have protection there will be this folder
# cd /sys/devices/system/cpu/vulnerabilities # ls meltdown spectre_v1 spectre_v2 # cat meltdown Mitigation: PTI # cat spectre_v1 Mitigation: __user pointer sanitization # cat spectre_v2 Mitigation: Full generic retpoline, IBPB, IBRS_FW
Source: Linux Pro Magazine