PowerShell 6 and ‘ls’

I’m one of those that always preferred to use the alias ls instead of dir for Get-ChildItem. In the beginning I mixed them up, but when I started using Linux more and more I liked that I could use the same command for the same thing in both PowerShell and bash.

Enter PowerShell 6, available to run on Linux and suddenly ls is not the same as ls anymore! (more…)

AWS EC2: Monitoring Memory in CloudWatch

Monitoring AWS infrastructure using CloudWatch is mostly  a case of just enabling it for the resources you want monitored. You get automatically selected metrics available in CloudWatch, ready for your dashboard. For some reason though, for EC2 instances you do not get any memory (or disk) metrics. I guess this is a shortcoming Amazon have been asked about a lot, because they have made scripts available that you can run on the instance that will send memory and disk data to CloudWatch. (more…)