从metalink id=301137.1上下在软件包,
借压缩tar
$ tar -xvf osw.tar
x ., 0 bytes, 0 tape blocks
x ./osw, 0 bytes, 0 tape blocks
x ./osw/Exampleprivate.net, 1731 bytes, 4 tape blocks
x ./osw/OSWatcher.sh, 11784 bytes, 24 tape blocks
x ./osw/OSWatcherFM.sh, 4451 bytes, 9 tape blocks
x ./osw/OSWg.jar, 722088 bytes, 1411 tape blocks
x ./osw/oswnet.sh, 334 bytes, 1 tape blocks
x ./osw/oswsub.sh, 401 bytes, 1 tape blocks
x ./osw/startOSW.sh, 1101 bytes, 3 tape blocks
x ./osw/stopOSW.sh, 560 bytes, 2 tape blocks
x ./osw/tarupfiles.sh, 127 bytes, 1 tape blocks
x ./osw/topaix.sh, 409 bytes, 1 tape blocks
x ./osw/README, 4997 bytes, 10 tape blocks
x ./osw/OSWgREADME, 3426 bytes, 7 tape blocks
然后进入osw目录
调用执行从startOSW.sh文件开始,该文件需要两个参数,第一个参数指定采样时间间隔,第二个指定存储数据的时间。缺省的,如果不输入参数,OSW采样以30秒为间隔,存储2448小时的数据。
以下是自定义参数的执行过程:
bash-2.03$ ./startOSW.sh 300 168
5分钟一次一周的数据采集!
阅读(603) | 评论(0) | 转发(0) |