2011-02-17から1日間の記事一覧

tracerouteを並列実行する

こういうのがあると便利なときがあるので。 #!/usr/bin/env python # -*- coding:utf-8 -*- import subprocess import optparse class Tracer: def __init__(self, traceroute='/usr/sbin/traceroute', processes=4, targets=['127.0.0.1']): self.tracerout…