Saturday, December 28, 2013

When use PCL or PS printer drivers

Today we are going to talk about a topic that at first glance seems not interesting, printing performance.

At our office we've faced this problem as well as some clients asked us about slow performance printing PDF files through one our products.

The problem: 
After a new coorporative printer/drivers deploy, end users complaint about very slow printing when they print PDF medium size files and terribly slowness with large files.

Sunday, December 15, 2013

Wsus report with powershell

Last Tuesday, someone in our department asked us if it is possible to get a report via email that displays information about failed computers.

By default Windows 2008 R2 does not provide WSUS cmdlets, so we need to load WSUS assemblies from .NET, here is a URL with the method and properties

Recipe: IAS log parser

Today we need to parse an IAS log, we need to know who are logging in the system. Usually we use IASLogparser, but unfortunately in this case we did not have the license.
So, we need to read the file specifications from Microsoft in this URL  and parse the log file.
We selected Powershell as our script language and it was easy to build a parser, we made it in less than one hour.

Saturday, December 7, 2013

A fast way to find a LAMP memory leak

Today, we had a memory leak on one of our Linux Apache servers which is running approximately 10 PHP applications in different virtual hosts.

So,  we are going to explain a fast way to locate the leak in LAMP.
First of all, check this link if you don´t know how memory works on Linux or just to remind you how it works.