地震地磁观测与研究
地震地磁觀測與研究
지진지자관측여연구
Seismological and Geomagnetic Observation and Research
2015年
4期
154-157
,共4页
shell脚本%crontab%SharpSSH%技术系统%数据库
shell腳本%crontab%SharpSSH%技術繫統%數據庫
shell각본%crontab%SharpSSH%기술계통%수거고
shell script%crontab%SharpSSH%technology system%database
地震前兆技术系统自动化管理有利于实现系统的高效运行,以山西地震前兆台网为例,该方案通过在Suse Linux下编写shell脚本,实现数据库和管理系统自启动;采用crontab命令,实现数据库定时冷备份;借助SharpSSH组件,实现在Windows环境下远程启动或停止地震前兆技术系统.通过在山西地震前兆中心的应用测试,效果良好,可为其他省地震局和台站实现前兆系统自动化管理提供参考.
地震前兆技術繫統自動化管理有利于實現繫統的高效運行,以山西地震前兆檯網為例,該方案通過在Suse Linux下編寫shell腳本,實現數據庫和管理繫統自啟動;採用crontab命令,實現數據庫定時冷備份;藉助SharpSSH組件,實現在Windows環境下遠程啟動或停止地震前兆技術繫統.通過在山西地震前兆中心的應用測試,效果良好,可為其他省地震跼和檯站實現前兆繫統自動化管理提供參攷.
지진전조기술계통자동화관리유리우실현계통적고효운행,이산서지진전조태망위례,해방안통과재Suse Linux하편사shell각본,실현수거고화관리계통자계동;채용crontab명령,실현수거고정시랭비빈;차조SharpSSH조건,실현재Windows배경하원정계동혹정지지진전조기술계통.통과재산서지진전조중심적응용측시,효과량호,가위기타성지진국화태참실현전조계통자동화관리제공삼고.
The automatic management for earthquake precursor technology system is beneficial to efficient operation of the system. Taking Shanxi Seismic Precursor Network as an example, shell scripts based on Suse Linux are written to realize self-starting of database and management system; Crontab is used to make database cold backup regularly; Remote starting or stopping of earthquake precursor technology system under Windows is realized through Sharp SSH. Application test in Shanxi Seismic Precursor Center has good effect. Therefore, it can provide a reference for other provincial seismological bureaus and stations to realize automatic management for earthquake precursor technology system.