apache top

Friday, October 09, 2015 » apache, linux, top

Preamble

There are a few different approaches to getting 'top' style insight into Apache2.x

Debian/Ubuntu 'apachetop' (0.12.6-16)

specialty packet capture tools

Friday, October 09, 2015 » apache, linux

Preamble

Situations where it's useful to analyze traffic:

  • Don't have access to the logs
  • Want to look at traffic somewhere upstream like a

top batches

Friday, September 25, 2015 » linux, top

Preamble

It's nice to have atop or sar running for a historical look at resource usage, but
in some cases these are not available. 'Top' is nearly univ

exploring elasticsearch _cat

Wednesday, August 05, 2015 » elasticsearch

==== Preamble

gpg getting started

Wednesday, April 29, 2015 » gpg, security

Preamble

I am regenerating my GPG key

( This is not my actual key shown )

PGP

PGP

RIPE Atlas Getting Started

Wednesday, April 08, 2015 » internet, ripe

Preamble

RIPE NCC is one of the Regional Internet Registries. The

internet culture

Wednesday, April 08, 2015 » internet

Getting help and soliciting feedback on the Internet essential reading:

linux permissions

Tuesday, March 24, 2015 » linux, permissions, sudo

This Post is A Work in Progress

Huge TCP TIME_WAIT count

Wednesday, December 24, 2014 » tcp, timewait

Recently I was running a job that parses a large backlog of items and updates
MySQL based on their outcome. The items were being updated via API by a
webservice on the same host. I was restricted to processing 10 jobs in parallel or
I would get connection errors and random connection issues. The webservice returned
a generic failure but my own code returned OS code 99.

Phabricator conduit testing via CLI

Wednesday, December 24, 2014 » conduit, phabricator

Search for a user by username:

Testing email

Wednesday, December 24, 2014 » email, swaks

I've always tested email via Telnet, and have even sat in on interviews where
how to test email this way was one of the debugging problems. Recently though
I have come to use Swaks as a slicker alternative.

Getting Phabricator Conduit end points

Wednesday, December 24, 2014 » phabricator, python

Recently I've been spending a lot of time with Phabricator, and I often reference
the API specs. This is a command that has been useful.

osx clang compiler unknown option

Tuesday, March 18, 2014 » clang, mynt, osx

As of OSX Xcode tools <=5.1 the clang compiler treats any unknown flag as an error.
This can cause some issues with existing tools that have old flags, or uncommon flags,
or who knows what.

If you stayed late at the DevOpsKC meetup last night you have may have caught me giving this talk about getting a monitoring system going using python from end-to-end. The meet was at offices of codero who were gracious hosts, and the food was provided by Cerner. Thanks again to the folks put this stuff together.

screen shots I have saved

Tuesday, February 25, 2014 » funny

Gotta love the Python community.

cisco ssl vpn from cli

Monday, January 27, 2014 » cisco, openconnect, vpn

Preamble

Using a Cisco SSL VPN without a GUI.

Install packages

pfx from crt and key and into your ASA

Tuesday, January 21, 2014 » asa, pfx

Preamble

Some devices that use certificates require them to be uploaded in pfx format.

What is pfx?

gahh...tmpreaper

Friday, January 17, 2014 » find, linux, tmp

Preamble

I am seeing the same issue as this gentlemen when trying to use

Continue Reading

google oauth2 reverse proxy

Thursday, January 02, 2014 » google, oauth, proxy

Preamble

Using google auth for an external resource.

one

In this example our auth proxy

trying out landscape.io

Tuesday, November 12, 2013 » landscape, python

Preamble

I recently came across a service in beta scoring Python repositories on github.

Landscape

In their own words

user args to python variables

Monday, November 04, 2013 » python

Preamble

Sometimes there is no choice to but to take a certain action from a configuration file or user input. This can involve a device type or parameter that is esse

tcl in IOS

Thursday, October 24, 2013 » bgp, cisco, ios

Preamble

IOS has come with a TCL interpreter baked in for awhile now. It is suprisingly full featured and awesome. Thes

bgp traffic shaping

Wednesday, October 23, 2013 » bgp, cisco

Preamble

Traffic engineering in BGP is probably the most common problem encountered. This is not intended to be a complete primer on it, just a few thoughts.

B

lets not do opsdev

Thursday, October 17, 2013 » devops, kc

This is a talk I gave to the devops KC group at kauffman labs.

dynamic bash prompts

Wednesday, October 09, 2013 » bash, debian

Preamble

Getting useful info into the prompt. Using git as an example.

Shell script /usr/local/bin/prompt.sh

sqlite truncate

Friday, October 04, 2013 » sqlite, truncate

SQLite does not seem to support the truncate command. This is hacky way to do it.

fabric basics part 2

Friday, October 04, 2013 » fabric, python

Preamble

Small fabric examples of functionality continued from fabric basics.

Define server roles

Server roles allow you to group boxes for taking actio