jueves, 22 de octubre de 2015

taskset vs. numactl

You will find this information useful in case of task affinity on your multicore system:


taskset vs. numactl detailed explanation is located on that link.

martes, 20 de octubre de 2015

Reading MSRs from linux

Well, so long and there has been no updates on this blog, but here is a brief technical update.

Right now I'm trying to read some BIOS registers from linux. We have a package on Ubuntu named msr-tools which provide the commands to read the intended registers:

# apt-get install msr-tools

Then modprobe msr, and finally read your MSR register:
# rdmsr 0x1A4
# rdmsr 0x198


Correct fail2ban filter for sshd on Amazon Linux

Fail2ban does not catch the regular expression for Invalid or Illegal ssh logins on Amazon Linux. So far the fix goes like this: Not match...