This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from collections import defaultdict | |
| import sys | |
| import time | |
| import socket | |
| from argparse import ArgumentParser | |
| from swift.common.internal_client import InternalClient | |
| from swift.common.utils import Timestamp | |
| from swift.common.wsgi import ConfigString |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| curlxidheaders() { | |
| echo "number,timestamp,status_code,message,size,speed_bytes_per_sec,time_total,time_namelookup,time_connect,time_appconnect,time_pretransfer,time_redirect,time_starttransfer" | |
| } | |
| curlxid() { | |
| curl -w 'code: %{http_code} %{http_connect}|size: %{size_download}|speed: %{speed_download}|total: %{time_total}, %{time_namelookup}, %{time_connect}, %{time_appconnect}, %{time_pretransfer}, %{time_redirect},%{time_starttransfer}' \ | |
| -s -o /dev/null -v "$@" 2>&1 | \ | |
| grep -E 'X-Trans-Id|total|Date:' | \ |
OlderNewer