Perfmon: Data Collector Sets

http://blogs.technet.com/b/askpfeplat/archive/2012/02/27/taming-perfmon-data-collector-sets.aspx 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

http://nolabnoparty.com/en/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

http://blog.rootshell.be/2010/04/26/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

http://www.tekhead.org/blog/2014/09/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

http://www.thegeekstuff.com/2010/03/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?

http://stackoverflow.com/questions/5400806/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 […]