09 2020 档案
摘要:#!/bin/sh # # chkconfig: 2345 55 25 # Description: Nginx init.d script, put in /etc/init.d, chmod +x /etc/init.d/nginx # For Debian, run: update-rc.d
阅读全文
摘要:1. 下载librdkafka 2、解压 3.编译:make && make install 4. 环境变量指定PKG_CONFIG_PATH: export PKG_CONFIG_PATH=/usr/lib/librdkafka/src/
阅读全文
摘要:1、获取http请求nethod ngx.req.get_method() 2、获取请求体body ngx.req.get_body_data() ngx.req.read_body() 3、获取请求参数args ngx.req.get_uri_args() 4、获取时间日期相关函数 ngx.tod
阅读全文
摘要:1、查询所有文档 GET _search { "query": { "match_all": {} } } 2、查询所有(指定)索引 GET _cat/indices GET _cat/indices/index_name
阅读全文
摘要:1.linux查看占用内存最多的程序 ps aux|head -1;ps aux|grep -v PID|sort -rn -k +4|head 2.查看占用cpu最多的程序 ps aux|head -1;ps aux|grep -v PID|sort -rn -k +3|head
阅读全文
摘要:1. 新建search.sh脚本,写入以下shell脚本: #!/bin/sh # lazy find # GNU All-Permissive License # Copying and distribution of this file, with or without modification
阅读全文

浙公网安备 33010602011771号