系统优化
-
linux 文件比对总结详解程序员
1. 过滤a.log的重复数据 #统计 cat datatest.log|sort|uniq -d |wc -l #放入b.log cat datatest.log|sort|un…
-
修改jmeter jvm参数详解程序员
记录下常用的linux下 jmeter jvm参数修改,打开jmeter安装目录/bin/jmeter(非jmeter.sh) …
-
iftop 使用详解程序员
测试中常常发现服务器网卡打满,那么这些流量具体占用情况如何呢? 这个时候我们要使用iftop来看看,首先我们要安装: 一. 安装 …
-
linux删除软连接详解程序员
#mkdir test_chk #touch test_chk/test.txt #vim test_chk/test.txt (这一步随便在这…
-
查看centos中的用户和用户组和修改密码详解程序员
查看centos中的用户和用户组 1、用户列表文件: vim /etc/passwd/ 2、用户组列表文件: vim /etc/group 3、查看系统中有哪些用户: cut -d…
-
CentOS7使用firewalld打开关闭防火墙与端口详解程序员
CentOS7使用firewalld打开关闭防火墙与端口 1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl …
-
xxx is not in the sudoers file.This incident will be reported.的解决方法详解程序员
xxx is not in the sudoers file.This incident will be reported.的解决方法 1、切换到root用户 2.添加sudo文件…
-
Linux的crond和crontab详解程序员
一、crond cron是一个linux下的定时执行工具(相当于windows下的scheduled task),可以在无需人工干预的情况下定时地运行任务task。 由于cron&…
-
linux 性能分析常规逻辑和手段总结详解程序员
一. 追查cpu占用较高的进程(线程) 1 . 如何查找出当前系统中占用cpu或者内存最高的进程? ps aux |sort -rn -k 3…
-
ps 命令使用总结详解程序员
ps命令用来查看进程信息,它是类似于快照类型的只显示一次,如果想及时刷新请用top命令. 1. 常用参数列表 -a 显示所有终端机下执行的进…