Files
256 lines
7.2 KiB
Python
256 lines
7.2 KiB
Python
#!/usr/bin/env python
"""Dump the state of the world for post mortem."""
import argparse
import os
import sys
def get_options():
return parser.parse_args()
now = datetime.datetime.utcnow()
def disk_space():
dfraw = os.popen("df -Ph").read()
def process_list():
def main():
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)