Tools

Network Tools | Shell/Perl Scripts | Programs

Network Tools

TTCP

Test TCP
Standard network testing tool originally developed by Terry Slattery and Mike Muuss.  (1985)

NOTE:  The linger patch I added should allow you to activate the SO_LINGER socket option, granted your OS has it and properly supports what the option is supposed to do.  Just use the -L ## option where ## is the timeout period whose units are implementation specific so check <sys/socket.h> or the man page for setsockopt(2).

Download Icon  Download

ttcp.c ttcp.linger.patch ttcp.linger.c  

Shell/Perl Scripts

CGREP

Column Grep
A perl script that I wrote which allows you to extract lines of data based on rules placed on particular columns.  It's rather useful actually, especially since I'm a heavy user of pivot tables (for those who know what that is even).

Issues
:  You cannot yet refer to columns by their labels, as the '-L' label option isn't supported yet... I not sure if this is at all useful so it may never make it in.

Download Icon  Download

Version 1.7 - 20030409

PT

Pivot Table
A perl script that I wrote which allows you to create rather generic pivot tables.  A reasonable answer to the mixed blessing implementation found in MS Excel.  This script allows you to perform a generic action against the "data" field (where as the Excel version limits you to only a handful).  This script can also be used in conjunction with gpthis to automate a plot.

Issues
:  This isn't very well fleshed out, and I'm sure it can be broken N different ways.  Feel free to submit suggestions/improvements.
HOWEVER broken it may be though, I claim it's better than Excel for data analysis :)

Download Icon  Download

Version 1.0 - 20030407

PDB

Paper Database
Simple little perl script that takes a listing of papers and automatically generates a html listing.

Download Icon  Download

Version 0.5

WSP

Wireless Suspension/Pause Tool
For use primarily with a laptop, this tool locates wireless cards and suspends or resumes the transceiver to help reduce battery power.  This was meant to be a quick way of stopping the transceiver when the unit is expected to be idle.  It also stops you from being radiated when not necessary :)

WARNING:  This tool effectively disrupts any active communication that the card may be engaged in.  Suspending cards that have active connections can cause those connections to timeout, especially if the connection relies on keep alive timers.

Download Icon  Download

Version 1.3 - 20010426

DDIFF

Directory Diff
This program compares files from two different directories.  If a file is common to both directories, DDIFF will tell you if they differ.  DDIFF will also point out files which only occur in one directory or the other.  Directories which 'coexist' can be recursed by using the '-R' option.  Other options are specified in the script and can be viewed by using "ddiff -h" (no quotes).

Known Issues:
-  While the program 'less' is common on many Red Hat systems, it is less common elsewhere.  Less is used by DDIFF.  The workaround is to manually replace 'less' with a text viewer of your choice (for example 'more').

Download Icon  Download

Version 1.8 - 20030407

Programs

SSLEEP

Super Sleep
The goal of Super Sleep is to provide a "best effort" sleep routine that can sleep for a specified amount of time despite issues with the system sleep and usleep routines as well as the system clock granularity.

More importantly, this program will also have the ability to sleep for amount of time following a given distribution.

Download Icon  Download

Version 0.5 - 20011205

Joseph Ishac - jishac@grc.nasa.gov