sed指定字符串后面添加
2021-12-211、sed -i '$a\要插入的文字' file.txt
2、sed -i "/JAVA_OPT_EXT/a JAVA_OPT=\"\$\{JAVA_OPT\} --add-exports java.base\/jdk.internal.ref=ALL-UNNAMED\"" bin/runbroker.sh 阅读全文...
mysql批量drop table
2021-12-07SELECT concat('DROP TABLE IF EXISTS ', table_name, ';') FROM information_schema.tables WHERE table_schema = 'dbdb'; 阅读全文...
拼音输入法之u模式
2021-12-05win10中借助微软拼音输入法输入生僻字、和在u模式下输入特殊符号的方法 阅读全文...
openldap超过最大并发
2021-12-01Linux OpenLAP 修改max open files 阅读全文...
阿里云oss云存储ossutil工具
2021-11-23ossfs挂载当磁盘rsync时候非常卡,替换ossutil工具 阅读全文...
alter index rebuild online
2021-11-06rebuild index online不阻塞DML操作,这是相对于rebuild index来说的,加上了online,只是在rebuild的期间不阻塞DML,但是在开始和结束阶段还是可能阻塞其他进程的DML的,系统负载飙升,甚至宕机。10G rebuild index online 会锁表 阅读全文...
oracle ALTER INDEX RENAME TO
2021-11-06ALTER INDEX [schema.]index RENAME TO
zabbix5.4 nginx监测模板
2021-11-03通过zabbix提供的Nginx by Zabbix agent可以轻松监测nginx进程和一些参数。 阅读全文...
oracle出现错误提示:ORA-28000: the account is locked。
2021-11-01出现错误提示:ORA-28000: the account is locked。 阅读全文...
#!/bin/bash - no such file or directory
2021-10-311、head -1 yourscript | od -c
0000000 # ! / b i n / b a s h \r \n 阅读全文...
mysql从ibd文件恢复数据
2021-10-30数据库冷备份无法启动,但是有无数个idb表文件 阅读全文...
fuser查询文件被哪个进程占用
2021-10-291、linux umount分区时候:
umount: /data4: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1)) 阅读全文...
zabbix MEMORY.UTIL.MAX
2021-10-28MEMORY.UTIL.MAX 90% 修改为95% 阅读全文...
mysq grant process
2021-10-28process权限是一个全局权限,不可以指定在某一个库上
grant process on *.* to testuser@'127.0.0.1';
grant process on *.* to zabbixuser@'127.0.0.1';
flush privileges; 阅读全文...
zabbix 每页显示行数
2021-10-270、左侧user setting/profile/Rows per page/50改为100
http://localhost/hosts.php每页显示50行,如果想修改为100行。 阅读全文...