Perfmon: Data Collector Sets Run this command in cmd with Administrator right. Logman.exe create counter PerfLog-Short -o “c:\perflogs\PerfLog-Short.blg” -f bincirc -v mmddhhmm -max 300 -c “\LogicalDisk(*)\*” “\Memory\*” “\.NET CLR Memory(*)\*” “\Cache\*” “\Network Interface(*)\*” “\Paging File(*)\*” “\PhysicalDisk(*)\*” “\Processor(*)\*” “\Processor Information(*)\*” “\Process(*)\*” “\Thread(*)\*” “\Redirector\*” “\Server\*” “\System\*” “\Server Work Queues(*)\*” “\Terminal Services\*” -si 00:00:03 -b 4/07/2011 7:00:00AM -e 4/07/2011 7:00:00PM -r” […]

Setup OSSEC with Splunk Installing OSSEC with Splunk allows a better overview of the thousand information collected by the system useful to create reports for the management. Splunk is the tools that can be integrated into OSSEC to transform the logs in a graphic format with some built-in reports that allows to better check monitored systems. Configure OSSEC […]

Splitting OSSEC Events in Splunk When you decide to implement a new software solution, one of the choices you’ll certainly face is: “Commercial vs. free software”. No debate here: you’ve to make the best choice depending on the requirements. They can be technical constraints, budget, support, etc. I’m working with commercial solutions which perform (generally) good job but I […]

Docker Part 1 – Introduction and HOWTO Install Docker on Ubuntu 14.04 LTS So my background is in VMware virtualisation, but I hear the buzz these days is that I may as well forget everything I know, and that it’s all about containers! Joking aside, containers definitely compliment virtualisation, giving you more portability, granular control, and the flexibility to spin up new application instances in milliseconds. For […]

UNIX / Linux: 10 Netstat Command Examples Netstat command displays various network related information such as network connections, routing tables, interface statistics, masquerade connections, multicast memberships etc., In this article, let us review 10 practical unix netstat command examples. 1. List All Ports (both listening and non listening ports) List all ports using netstat -a # netstat -a | more Active […]

What are the most-used vim commands/keypresses? Here’s a tip sheet I wrote up once, with the commands I actually use regularly: References vim documentation online advanced vim tips more useful tips and graphical cheat sheet General Nearly all commands can be preceded by a number for a repeat count. eg. 5dd delete 5 lines <Esc> gets you out of any […]