Articles in the System Administration category

  1. Mac OS X terminal and GNU screen scrollback

    Posted on in system_administration

    If you're a frequent user of GNU screen on your Mac, you are probably tired of using ctrl-a [ to enter scrollback mode. Adding the following lines to the .screenrc configuration file in your home directory in order to scroll with your mouse:

    defscrollback 5000
    termcapinfo xterm* ti@:te@
    
  2. Killing Old popper Processes in Solaris 8

    Posted on in System Administration

    I've dealt with a few servers that have long lived popper (POP3) processes. These processes should be closed once the connection is closed, but they occasionally hang around. Once they get in this state, they will never close on their own. After a while, hundreds of these processes will just …

  3. Sendmail Mail-to-Program Failures: Check smrsh

    Posted on in System Administration

    SendmailOne of the beauties of using a Linux-based Mail Transport Agent (MTA) like Sendmail is the ability to pipe mail into programs. You can use this in conjunction with a filtering application like procmail, with a custom application that collects data about the email, or anything else you can imagine …

  4. SNMP Traps into MySQL is Sublime

    Posted on in System Administration

    I use snmptrapd to catch SNMP traps and then put them into a MySQL database using a pretty generic trap handler. This gives me the opportunity to generate such useful information as:

    > SELECT HOUR(time) AS "hour", COUNT(*) AS "bounces" FROM snmptraps
        WHERE hostname = 'XXX' AND time > '2011-07-25'
            AND trap_oid …
  5. Installing Unison 2.27.57 via MacPorts

    Posted on in System Administration

    MacPorts LogoI've mentioned before that I use Unison to keep a few important directories synchronized between my various workstations and file server. I made the switch to Ubuntu 10.04 LTS recently, and started using its unison 2.27.57 package. This breaks all of my Macs that use unison 2 …

  6. ab Results Before and After Server Move

    Posted on in System Administration

    Electronic Eye

    Behold, the benefits of virtualization!

    I spent most of the evening preparing to move a few websites. I decided to do some benchmarking just to see what sort of improvement I was getting from the new server setup. Although the old server didn't feel slow when browsing sites, the results …

  7. Ubuntu: Installing VMware Tools in 10.04 LTS

    Posted on in System Administration

    Ubuntu Circle of Friends Logo (Orange on White)Although this process is well documented on the Ubuntu community site, I decided to take notes of the exact steps that I took so that I wouldn't have to fumble through that long document next time. I'm installing the tools in a clean install of Ubuntu 10.04.2 LTS …

  8. Clear Windows DNS Server Cache From the CLI

    Posted on in System Administration

    Clearing the Windows DNS Server cache from the command line is an easy task.

    C:\> dnscmd . /clearcache
    

    The . indicates the local DNS server. You can use this command to clear the cache of remote DNS servers by replacing the . with the hostname or IP address of the remote server.

Slaptijack's Koding Kraken