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行。 阅读全文...
redis批量删除 del key
2021-10-20export REDISCLI_AUTH=pass123
export IP=172.16.1.2
/usr/local/bin/redis-cli -c -h ${IP} -p 6379 --scan --pattern "pre*" | xargs /usr/local/bin/redis-cli -c -h ${IP} -p 6379 del 阅读全文...
presto for hadoop
2021-10-19Presto是Facebook开发的数据查询引擎,可对250PB以上的数据进行快速地交互式分析。 阅读全文...
beeline指定队列和参数
2021-10-14beeline指定队列和参数
beeline -u 'jdbc:hive2://host:port?mapreduce.job.queuename=queue;spark.executor.instances=5;spark.executor.cores=1;spark.executor.memory=4G' -n username; 阅读全文...
修改默认ElasticSearch集群的分片数限制
2021-10-13elasticsearch最大节点数_记录 Elasticsearch 的 maximum shards open 问题 阅读全文...
Oracle修改表table所属表空间tablespace
2021-10-13需要将部分表的所属表空间进行更改,目的清理表空间或整理用户所属表。 阅读全文...
oracle清理aud$
2021-10-08oracle记录审计记录的aud$表占用了很大的空间。 阅读全文...
windows cmd命令行切换utf8代码
2021-09-30通过 chcp命令改变代码页,UTF-8的代码页为65001 阅读全文...
sshd deny ip
2021-08-20#DenyUsers *@172.16.30.88
#DenyUsers *@192.168.169.134 阅读全文...
希腊字母命名
2021-08-15根据前不久世界卫生组织透露的消息,目前的新冠病毒变异株都是以希腊字母命名的,到目前为止,已经命名了11个变种包括德尔塔、贝塔和阿尔法等。 阅读全文...
nscd导致ldap无法连接
2021-08-14配置openldap client过程中,getent命令正常可以,id确不行,因为nscd进程导致的。 阅读全文...
centos8 install openldap client
2021-08-14centos8 install openldap client 阅读全文...