//675502.arinterhk.tech/wasd_root/src/utils/*.*

Utility directory read-me

A small collection of utilities (and in some cases, scripts) useful in the adminstration of a WASD site.

Some are covered in greater detail in Features and Facilities document, Utilities and Facilities section.

NameSource CodeComment
Apache Bench ab.c Ancient server stress-test and benchmarking tool, as used in the (rather older) Apache Distribution(s). Later versions cannot be utilised as they have increasing Apache source code dependencies. Plain HTTP/1.1 only. Into the twenty-first century, tools such as nghttp and h2load are required and recommended.
Calogs calogs.c Consolidate access logs (pronounced the same as the breakfast cereal brand :-) merges multiple HTTP server common and combined format access logs into a single log file with records in time-order.
CSPreport cspreport.c Content Security Policy Report[er]
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
HTAdmin htadmin.c Command-line administration of the WASD .$HTA authentication databases.
HTTPdMon httpdmon.c One of the fundamental tools for monitoring the status of the WASD server. This command-line utility continuously displays a number of key server process quotas, server counters and latest request data.
Proxy Cache pcache.c This program can act as a command-line utility or CGI(plus)-compliant script. It is used to access the information about or contents of a WASD proxy cache file.
Proxy Munge proxymunge.c Script that munges (rewrites) URIs/URLs to provide a more effective reverse-proxy.
Quick and Dirty
Log Statistics
qdlogstats.c Useful command-line and script utility to generate quick snapshots and elementary statistics of server usage from access logs. Intended for those moments when we think "I wonder how many times that new archive has been downloaded?", "How much data was transfered during November?", "How often is such-and-such a client using the authenticated so-and-so service?", "How much has the mail service been used?" ... and want the results in a matter of seconds (or at least a few tens of seconds :-)
Random Seed randseed.c Small utility designed to populate a file with 2048 bytes of PRNG seed data. The seed should be high entropy.
Security .ch Army Knife sechan.c (Pronounced "session") is used by SECURE.COM and associated procedures to ensure package file system security settings are appropriate. It is also available for direct use by the site administrator.
WASD Bench wb.c An historical utility and analogue to Apache Bench used for similar purposes (testing, exercising and generating performance metrics). It also has the significant performance and granularity advantage of using the underlying $QIO services and not the socket API, and is AST event driven. Plain HTTP/1.1 only. As with AB.C, into the twenty-first century, tools such as nghttp and h2load are required and recommended.
Wot's Up? wotsup.c The WASD Over-The-Shoulder Uptime Picket is designed to monitor WASD in a production environment for the purpose of alerting operations staff to conditions which might cause that production to be adversely impacted. The utility runs in a detached process and monitors the server environment by periodically polling various server data. Alert reports can be delivered via any combination of OPCOM message, MAIL, site-specific DCL command, and log file entry.
       Name                                 Revised         Size  Description

[DIR] OBJ_AXP/ 8-Nov-2019 10:16 512 subdirectory [DIR] OBJ_IA64/ 8-Nov-2019 10:16 512 subdirectory [TXT] ab.c 30-Aug-2020 14:29 51,580 C source [TXT] abcgi.com 30-Aug-2020 14:29 2,679 DCL procedure [TXT] ab_ap_base64.c 30-Aug-2020 14:29 10,235 C source [TXT] ap_config.h 30-Aug-2020 14:29 41,310 C header [TXT] build_ab.com 30-Aug-2020 14:29 2,220 DCL procedure [TXT] build_all.com 30-Aug-2020 14:29 1,512 DCL procedure [TXT] build_calogs.com 30-Aug-2020 14:29 1,664 DCL procedure [TXT] build_ccdcnt.com 30-Aug-2020 14:29 1,800 DCL procedure [TXT] build_cspreport.com 30-Aug-2020 14:29 1,738 DCL procedure [TXT] build_htadmin.com 30-Aug-2020 14:29 1,584 DCL procedure [TXT] build_httpdmon.com 30-Aug-2020 14:29 1,966 DCL procedure [TXT] build_md5digest.com 30-Aug-2020 14:29 1,491 DCL procedure [TXT] build_pcache.com 30-Aug-2020 14:29 1,870 DCL procedure [TXT] build_proxymunge.com 30-Aug-2020 14:29 4,798 DCL procedure [TXT] build_qdloggeo.com 8-Nov-2019 10:16 256 DCL procedure [TXT] build_qdlogstats.com 30-Aug-2020 14:29 2,950 DCL procedure [TXT] build_randseed.com 30-Aug-2020 14:29 1,449 DCL procedure [TXT] build_sechan.com 30-Aug-2020 14:29 1,427 DCL procedure [TXT] build_wb.com 30-Aug-2020 14:29 1,497 DCL procedure [TXT] build_wotsup.com 30-Aug-2020 14:29 1,617 DCL procedure [TXT] calogs.c 30-Aug-2020 14:29 26,724 C source [TXT] ccdcnt.c 30-Aug-2020 14:29 13,477 C source [TXT] cspreport.c 30-Aug-2020 14:29 14,794 C source [TXT] enamel.h 30-Aug-2020 14:29 9,983 C header [TXT] htadmin.c 30-Aug-2020 14:29 48,318 C source [TXT] httpdmon.c 30-Aug-2020 14:29 98,989 C source [TXT] pcache.c 30-Aug-2020 14:29 91,029 C source [TXT] proxymunge.c 30-Aug-2020 14:29 57,376 C source [TXT] qdlogstats.c 30-Aug-2020 14:29 172,269 C source [BIN] qdlogstats_geolocate_geo+ 30-Aug-2020 14:29 3,036 JavaScript source [TXT] randseed.c 30-Aug-2020 14:29 10,955 C source [HTM] readme.html 30-Aug-2020 14:29 5,389 "Utility directory read-me" [TXT] sechan.c 30-Aug-2020 14:29 71,060 C source [TXT] streamlf.com 30-Aug-2020 14:29 1,174 DCL procedure [TXT] wb.c 30-Aug-2020 14:29 83,619 C source [TXT] wb_exercise.com 30-Aug-2020 14:29 1,447 DCL procedure [TXT] wotsup.c 30-Aug-2020 14:29 91,008 C source [TXT] wotsup.com 30-Aug-2020 14:29 2,158 DCL procedure