Tag : sysadmin

Title User Language Tags Description Date
quick maintenance page therobot HTML November 8, 2010
RSH with timeout Shrinidhi Rao python

RSH sometimes hangs if it cannot resolve to a given host. So here is a quick recipe in python

September 13, 2010
tgraph - Simple ASCII graphing utility Drew Gulino python

Takes a stream of numbers and outputs simple ASCII graphs of those numbers

March 1, 2010
Pyliner - Script to run arbitrary Python code on the command line Drew Gulino python

A Python script that runs arbitrary Python scripts in an input loop. This allows one-liner Python scripts similarly to how Perl runs them (-l,-a,-n,-F, BEGIN, END)

It provides additional syntax that allows multiline Python scripts to be run on a single line

February 28, 2010
LoggingWebMonitor - a central logging server and monitor. Gabriel Genellina python

LoggingWebMonitor listens for log records sent from other processes running in the same box or network. Collects and saves them concurrently in a log file. Shows a summary web page with the latest N records received.

February 2, 2010
Windows - Get Open Ports and associated Process ID with NETSTAT laurenceosx DOS Batch October 20, 2009
Keep a process up and running Benjamin Sergeant python

If you have a long running process that can be killed for strange and unknown reason, you might want it to be restarted ... this script does that.

September 23, 2009
Windows Command Line Hacks qrist0ph Other April 10, 2009
DateTimeSyncer with Daylight Savings Time adjustment Jack Trainor python

DateTimeSyncer synchronizes computer's current date and time with Daylight Savings adjustment directly without depending on operating system or Python's time.localtime().

This allows programmers to update Daylight Savings Time rules without depending on external updates to OS or Python.

Double-clicking this module will synchronize your computer's date and time on a Windows machine. It can be easily extended other time zones and other operating systems.

October 30, 2008
Find first N Files in a Directory qrist0ph Bash October 19, 2008
List System Process and Process Information on win32 winterTTr Dong python

use ctypes , load the win32 API to enum process and list the process info

July 18, 2008
Ueber Pipe | von stdin lesen qrist0ph Bash July 3, 2008
Datei zeilenweise ausgeben oder Stdout zeilenweise durchlaufen qrist0ph Bash July 3, 2008
Subversion UnSvn qrist0ph Visual Basic June 21, 2008
Treat the Win32 Registry like a Python dict -- updated (again!) Chris Melville python

This class wraps most of the win32api functions for accessing a registry. It will read and write all win32 registry types, and will de/serialize python objects to registry keys when a string or integer representation is not possible.

This is an update of recipe 551761, which is in turn an update of 174627, folding in the enhancements listed in the discussion there to allow registry value types to be read and written within the dictionary metaphore if required. It doesnt change how it worked before, it adds a new capability, and shouldnt break existing code using the 551761 version.

June 20, 2008