上一页 1 ··· 4 5 6 7 8
摘要: 1.说明:这里以xshell为例,要实现xshell关闭或终端电脑断网时命令还能执行,需要用到nohup命令。 2.实例说明:ping 百度 nohup ping www.baidu.com > nohup.txt & & : 让程序后台运行 > : 输出重定向 想查看ping的输出,查看nohub 阅读全文
posted @ 2023-02-15 11:52 冷夜O 阅读(406) 评论(0) 推荐(0)
摘要: 手动删除全部业务标记索引(不能百分百释放存储) curl -XPOST http://10.0.0.161:9200/*/_forcemerge?only_expunge_deletes=true 单个索引把* 改为具体索引名称 阅读全文
posted @ 2023-02-08 10:51 冷夜O 阅读(21) 评论(0) 推荐(0)
摘要: 问题:es请求的数据量超过默认设置的2G报错处理 RequestError(400, 'search_phase_execution_exception', 'ReleasableBytesStreamOutput cannot hold more than 2GB of data') 全部索引都设 阅读全文
posted @ 2023-02-07 12:03 冷夜O 阅读(294) 评论(0) 推荐(0)
摘要: 1.执行 top 2.执行 第一个参数是间隔多少s,第二个参数是执行多少次 vmstat 1 10 也可以执行 vmstat 1 每秒输出一次 阅读全文
posted @ 2023-02-06 16:15 冷夜O 阅读(38) 评论(0) 推荐(0)
摘要: es设置index.max_result_window(就是from+size,默认大小10000),可通过如下方式修改: curl -XPUT 192.168.40.31:9200/datasmart/_settings -d '{ "index.max_result_window" :"1000 阅读全文
posted @ 2023-01-11 09:36 冷夜O 阅读(591) 评论(0) 推荐(0)
摘要: 01爬虫简介 1.jupyter安装与打开 简介:jupyter是一个交互式笔记本,是一个基于web页面的开发工具,集成了数据分析和机器学习开发环境。 用途: 学习、笔记共享,探索,开发数据分析和机器学习。 1.1.安装 pip3 install jupyter 1.2.运行 在指定目录运行命令 p 阅读全文
posted @ 2022-10-05 22:54 冷夜O 阅读(38) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8