| 1 |
#!/bin/sh |
| 2 |
# |
| 3 |
# Argus Client Software. Tools to read, analyze and manage Argus data. |
| 4 |
# Copyright (C) 2000-2024 QoSient, LLC. |
| 5 |
# All Rights Reserved |
| 6 |
# |
| 7 |
# Script called by rastream, to process files. |
| 8 |
# |
| 9 |
# Since this is being called from rastream(), it will have only a single |
| 10 |
# parameter, filename, |
| 11 |
# |
| 12 |
# Carter Bullard <[email protected]> |
| 13 |
# |
| 14 |
|
| 15 |
PATH="/usr/local/bin:$PATH"; export PATH |
| 16 |
package="argus-clients" |
| 17 |
version="3.0.2" |
| 18 |
|
| 19 |
OPTIONS="$*" |
| 20 |
FILES= |
| 21 |
while test $# != 0 |
| 22 |
do |
| 23 |
case "$1" in |
| 24 |
-r) shift; FILES="$1"; break;; |
| 25 |
esac |
| 26 |
shift |
| 27 |
done |
| 28 |
|
| 29 |
racluster -M replace -r $FILES |
| 30 |
gzip $FILES |
| 31 |
exit 0 |