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
##! DNS Detect Abnormal Number of Lookup Failures | |
##! watches for hosts recieving an abnormal number of NXDOMAIN DNS Lookup Failures | |
##! Improvements & derivatives | |
@load base/protocols/dns | |
@load base/frameworks/sumstats | |
@load base/utils/time |
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 | |
# determines number of proccessors, splits a large file into sizes that | |
# can be consumed by n-1 sort processes (where n is the number of processors) | |
# | |
# After the file has been split up properly, it will run a sort on each split | |
# file in parallel. Once all processes have completed, a merge sort is executed. | |
# | |
# mthomas@n2o:~/words [100%] $ du -h big | |
# 1.7G big |