Wednesday, July 5, 2017

Get Memory information in Linux


sudo dmidecode --type 17

Watch CPU Frequencies in real time


sudo watch -n 1  cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq

Monday, June 19, 2017

Unblock a specific port from the firewall in Centos 7

Following is a example which unblocks port 8888

firewall-cmd --permanent --add-port=8888/tcp
firewall-cmd --reload
firewall-cmd --list-all