linux
MR_龚城狮
fighting!!!
展开
-
【linux脚本】基础操作记录
linux简单操作原创 2023-09-08 14:53:37 · 94 阅读 · 0 评论 -
【随笔】linux几类服务挂载
主要记录工作中遇到的几类服务的挂载。原创 2022-12-08 14:02:00 · 918 阅读 · 0 评论 -
【日常记录】linux常见的挂载操作
1、Samba协议目录挂载(smb://)挂载命令:mount -o username=root,password=root //172.168.1.145/home /home/145卸载命令: umount /home/1452、FTP协议目录挂载(ftp://)Centos下需要安装curlftpfs包,依赖EPEL源 yum install curlftpfs挂载命令: # curlftpfs -o rw,allow_other ftp://username:passw原创 2021-09-15 16:48:52 · 277 阅读 · 0 评论 -
LINUX环境下使用ElasticDump导出数据结构和数据
首先,我们需要使用联网的linux服务器;然后,安装node.js;#如果无法下载,则手动去网站下载cd /usr/local#下载wget https://nodejs.org/dist/v10.13.0/node-v10.13.0-linux-x64.tar.gz#解压tar xf node-v10.13.0-linux-x64.tar.gz#设置软连接ln -s /usr/local/node-v10.13.0-linux-x64/bin/npm /usr/bin/npmln -s原创 2021-08-19 16:54:15 · 663 阅读 · 2 评论 -
Linux中如何停止kibana
情景:使用如下命令都无法查询到kibana的PIDps -ef | grep kibanaps -ef | grep 5601经过实践,使用如下方法可以查询到kibana的PID:ps -ef | grep node实例:启动kibana./kibana log [01:49:04.709] [info][status][plugin:[email protected]] Status change原创 2017-09-01 10:29:59 · 22996 阅读 · 8 评论 -
LINUX查看io占用
pidstat -d 1 iotop -oP原创 2018-08-09 22:30:38 · 14900 阅读 · 0 评论 -
linux下监控某个网卡的实时速率
很实用的一个查看网卡速率的脚本。仅以该贴作为备忘~#!/bin/shif [ "$1" = "" ];then #判断后面是否有跟参数 echo -e "\n use interface_name after the script,like \"script eth0\"...\n" exit -1fiecho -e "\n start monitoring the...原创 2018-08-09 22:35:51 · 3056 阅读 · 1 评论 -
linux限制cpu使用
进入vim /boot/grub2/grub.cfg 在文件中加入isolcpus=2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 注:此处我们的服务器为24核,上述操作限制进程最多使用2核## DO NOT EDIT THIS FILE## It is automatically generated by grub...原创 2018-08-10 20:49:06 · 1565 阅读 · 0 评论