上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 54 下一页
摘要: cd $(dirname $0)source ~/.bash_profileSYSTEM_TIME=`date '+%Y-%m-%d %T'`count=`ps -ef |grep "python /data/web/main.py" | grep -v grep | wc -l`if [ $cou... 阅读全文
posted @ 2015-06-09 14:23 凌度 阅读(332) 评论(0) 推荐(0)
摘要: -- Create database link create public database link test_link connect to 用户名 identified by 密码 using ' (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(H... 阅读全文
posted @ 2015-06-04 17:11 凌度 阅读(251) 评论(0) 推荐(0)
摘要: 秒转日期 阅读全文
posted @ 2015-05-27 15:21 凌度 阅读(10863) 评论(0) 推荐(0)
摘要: iostatiostat用于输出CPU和磁盘I/O相关的统计信息.命令格式:iostat [ -c | -d ] [ -k | -m ] [ -t ] [ -V ] [ -x ] [ device [ ... ] | ALL ] [ -p [ device | ALL ] ] [ in... 阅读全文
posted @ 2015-05-27 14:40 凌度 阅读(324) 评论(0) 推荐(0)
摘要: 不跟hadoop在一个机器 1、vim /etc/profile export JAVA_HOME=/usr/local/jdk1.8.0_171export JRE_HOME=$JAVA_HOME/jreexport CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_ 阅读全文
posted @ 2015-05-22 10:49 凌度 阅读(384) 评论(0) 推荐(0)
摘要: client_header_timeout:Http核心模块指令,指令指定读取客户端请求头标题的超时时间。这里的超时是指一个请求头没有进入读取步骤,如果连接超过这个时间而客户端没有任何响应,Nginx将返回一个"Request time out" (408)错误。 client_body_timeo... 阅读全文
posted @ 2015-05-21 15:07 凌度 阅读(16402) 评论(0) 推荐(0)
摘要: /etc/rc.d/init.d/mysql status/etc/rc.d/init.d/mysql stopmysqld_safe --skip-grant-tables& mysql -u root mysql mysql> UPDATE user SET password=PASSWOR... 阅读全文
posted @ 2015-05-20 19:38 凌度 阅读(205) 评论(0) 推荐(0)
摘要: vim nginx/config/nginx.config$request_body这个变量值就是POST数据log_format main'$remote_addr - $remote_user [$time_local] "$request" ''$status $body_bytes_sent... 阅读全文
posted @ 2015-05-20 17:37 凌度 阅读(661) 评论(0) 推荐(0)
摘要: ps -ef | grep 程序名| grep -v grep | wc -lcd $(dirname $0)source ~/.bash_profilecount=`ps -ef | grep "nginx: master process" | grep -v grep | wc -l`if [... 阅读全文
posted @ 2015-05-06 13:48 凌度 阅读(5441) 评论(0) 推荐(0)
摘要: 从mysql导出,再导入到oracle ctl文件模板 把命令存成sql,在shell里面执行 a.sql a.sh SELECT INTO…OUTFILE语法:select * from Table into outfile '/路径/文件名'fields terminated by ','enc 阅读全文
posted @ 2015-04-14 10:37 凌度 阅读(14170) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 54 下一页