码迷,mamicode.com
首页 >  
搜索关键字:脚本案例    ( 44个结果
shell脚本案例(三)利用top命令精确监控cpu使用率
利用top命令精确监控CPU使用率
分类:系统相关   时间:2018-05-17 13:47:42    阅读次数:245
shell脚本案例(一)批量创建用户
批量创建用户。
分类:系统相关   时间:2018-05-10 13:23:09    阅读次数:204
shell脚本案例(二)批量删除用户
批量删除用户
分类:系统相关   时间:2018-05-10 13:22:39    阅读次数:199
tomcat 服务脚本案例
[root@localhostinit.d]#vimtomcat.jenkins#!/bin/sh#chkconfig:23459614JAVA_HOME=/usr/local/jdkCATALINA_HOME=/usr/local/webserver/jenkinsexportJAVA_HOMECATALINA_HOMEcase$1instart)exec$CATALINA_HOME/bin/c
分类:其他好文   时间:2018-03-21 19:55:57    阅读次数:140
linux的shell脚本中的逻辑判断、文件目录属性判断、if特殊用法、case判断
Shell脚本中的逻辑判断格式1:if条件;then语句;fi(常用)#以命令的方式表达[root@garytao-01~]#foriin`seq15`;doecho$i;done12345[root@garytao-01~]#foriin`seq15`>do>echo$i>done12345[root@garytao-01~]#a=5[root@garytao-01~]#if[
分类:系统相关   时间:2018-02-06 21:33:42    阅读次数:218
Java通过ScriptEngine 执行js脚本案例
public static void main(String[] args) throws ScriptException, FileNotFoundException, NoSuchMethodException { ScriptEngine engine = new ScriptEngineMa... ...
分类:编程语言   时间:2018-02-05 23:18:00    阅读次数:465
23:LVS客户端配置脚本案例
[root@web03 scripts]# cat prevent_arp.sh #!/bin/bash lo_ip=$(ip a s lo|grep "10.0.0.1[3]/32"|wc -l) if [ $lo_ip -eq 0 ] then ip addr add 10.0.0.13/32 ... ...
分类:其他好文   时间:2017-12-08 23:05:06    阅读次数:303
15:开发Rsync服务启动脚本案例
[root@m01 20171207]# cat ryn_srv.sh #!/bin/bash rsn_file="/usr/bin/rsync" # 判断启动的进程数 [ -e /etc/init.d/functions ] && source /etc/init.d/functions || e... ...
分类:其他好文   时间:2017-12-07 17:14:18    阅读次数:199
RMAN恢复脚本案例
$ crontab -l0 12,19 * * * $ORACLE_HOME/scripts/arcbkup.sh59 03 * * * $ORACLE_HOME/scripts/dbbkup.sh30 9 * * * $ORACLE_HOME/scripts/delete.sh5 20 * * * ...
分类:其他好文   时间:2017-11-11 13:14:13    阅读次数:208
企业实战脚本案例3:批量管理自动化运维100台小规模服务器
批量管理自动化运维100台小规模服务器目录1.脚本背景介绍2.脚本技术需求分析2.1SSH免登陆认证2.2Expect实现key分发2.2PSSH家族命令详解3.脚本功能及实现过程3.1脚本运行环境介绍3.2脚本功能介绍3.3脚本编写思路3.4脚本编写案例一、脚本背景介绍在企业中经常会用遇到小规模的集..
分类:其他好文   时间:2017-09-11 00:54:54    阅读次数:260
44条   上一页 1 2 3 4 5 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!