上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 26 下一页
摘要: 注:仅支持PC服务器(rhel7同类系统版本) #yum install -y ipmitool 没有就安装 #ipmitool lan print 打印出管理口地址信息 #lsmod |grep ipmi 查看是否加载模块 #ipmitool user list 1 列举所有用户和ID,一般ID会 阅读全文
posted @ 2022-07-28 16:23 LB_运维技术 阅读(330) 评论(0) 推荐(0)
摘要: parted /dev/sdb (用part命令对3T硬盘进行分区处理) mklabel gpt (用gpt格式可以将3TB弄在一个分区里) unit TB (设置单位为TB) mkpart primary 0 3 (设置为一个主分区,大小为3TB,开始是0,结束是3) mkpart primary 阅读全文
posted @ 2022-07-28 16:20 LB_运维技术 阅读(237) 评论(0) 推荐(1)
摘要: [root@libin1 ~]# blkid [root@libin1 ~]# uuidgen [root@libin1 ~]# xfs_admin -U f5239f62-12e5-4f67-8cce-b418de5f7939 /dev/sdc1 [root@libin1 ~]# blkid 阅读全文
posted @ 2022-07-28 16:19 LB_运维技术 阅读(97) 评论(0) 推荐(0)
摘要: 1、ps aux|grep lookbusy 2、ps -ef|grep lookbusy|grep -v grep|cut -c 9-15 3、ps -ef|grep lookbusy|grep -v grep|cut -c 9-15|xargs kill -9 ps aux 以用户的格式显示所有 阅读全文
posted @ 2022-07-28 16:18 LB_运维技术 阅读(216) 评论(0) 推荐(0)
摘要: # ll -i1 第一列数字即该乱码文件夹的额inode号 # find -inum inode号 |xargs -i mv {} 新文件或者文件夹名 # find -inum inode号 |xargs -i rm -rf {} 重命名该文件或者文件夹如果乱码中有带数字或者带字母的可以,可以匹配删 阅读全文
posted @ 2022-07-28 16:16 LB_运维技术 阅读(555) 评论(0) 推荐(0)
摘要: 注意:目录要求 /etc :目录和目录的内容 /etc/:只有目录的内容 cp -r /etc /tmp cp -r /etc/ /tmp/ 本地模式: cp rm 例如:# rsync /etc/hosts /tmp/ 隧道模式: 例如:# rsync -avz -e "ssh -p22" /et 阅读全文
posted @ 2022-07-28 16:14 LB_运维技术 阅读(395) 评论(0) 推荐(0)
摘要: 放在~/.bashrc文件中 # vim ~/.bashrc PS1='\[\e[1;32m\][\[\e[0m\]\t \[\e[1;33m\]\u\[\e[36m\]@\h\[\e[1;31m\] \W\[\e[1;32m\]]\[\e[0m\]\$ ' # source ~/.bashrc # 阅读全文
posted @ 2022-07-28 16:11 LB_运维技术 阅读(29) 评论(0) 推荐(0)
摘要: 不要直接删除该文件,而是通过将文件 truncate 的方式,释放磁盘空间。 [root@libin3 ~]# find /proc/*/fd -ls | grep '(deleted)'(1)cat /dev/null > ${filename} (2): > ${filename} 阅读全文
posted @ 2022-07-28 16:10 LB_运维技术 阅读(768) 评论(0) 推荐(0)
摘要: root@jernymy-desktop:~$ cd 桌面 root@jernymy-desktop:~/桌面$ ln -s /mnt/hgfs/ 阅读全文
posted @ 2022-07-28 16:09 LB_运维技术 阅读(112) 评论(0) 推荐(0)
摘要: 定时任务(cronie 软件名称) crond (服务名称 进程名称) # crontab -l #查看定时任务脚本 (1)检查进程: ps -ef 、ps aux(更加详细 cpu 内存使用率) # ps -ef | grep crond | grep -v grep | wc -l # ps - 阅读全文
posted @ 2022-07-28 16:04 LB_运维技术 阅读(118) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 26 下一页