Windows Kill 进程
# 根据端口查应用进程netstat -ano | find "8761"# 根据进程查应用tasklist | findstr "9708" 或者 tasklist /fi "PID eq xxxx"# 杀应用taskkill /f /t /im Tencentdl.exe# 杀进程taskkill -F -PID xxxwindows下的traceroutetracert www.wikipedia.org
Blog删除验证
http://blog.didispace.com/spring-cloud-alibaba-sentinel-1/
F12 Console执行$(".article").removeAttr("style");
VirtualBox共享主机VPN
# 查看客户机uuid:VBoxManage list vms# 让客户机的dns使用host的VBoxManage modifyvm <uuid here> --natdnshostresolver1 on
Windows 10 修改窗口颜色
您可以键入 win+R组合键,然后输入regedit。
找到HKEY_CURRENT_USER\Control Panel\Colors,然后再右侧找到「Windows」值,并双击打开。
编辑字符串窗口,将255 255 255(默认是白色背景)三组颜色数值改成202 234 206(淡绿色),完成后,点击“确定”保存。(建议您在HKEY_CURRENT_USER\Control Panel\Colors下右击导出,备份您的注册表)
找到注册表的路径:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\DefaultColors\Standard
在右侧找到「Windows」双击打开,将默认的数据值 ffffff 改成 caeace后点击确定。(建议您在[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\DefaultColors\Standard右击导出,备份注册表)然后重启下计算机看下效果。
另外建议您可以打开通知栏,然后打开夜灯模式。
并且您也可以在word的设置—选项—常规中 ,更改office框体部分的颜色。
色调:85;饱和度:123;亮度:205,
R: 199; G: 237; B:204;
181 229 181 ??IN WINDOWS
颜色代码是: #C7EDCC
Linux 命令行
可以使用一下命令查使用内存最多的10个进程
ps -aux | sort -k4nr | head -n 10
可以使用一下命令查使用CPU最多的10个进程
ps -aux | sort -k3nr | head -n 10
查看CPU个数
cat /proc/cpuinfo | grep "physical id" | uniq | wc -l
grep 'physical id' /proc/cpuinfo | sort -u
查看CPU核数
cat /proc/cpuinfo | grep "cpu cores" | uniq
查看核心数量e
grep 'core id' /proc/cpuinfo | sort -u | wc -l
查看线程数
grep 'processor' /proc/cpuinfo | sort -u | wc -l
查看CPU型号
cat /proc/cpuinfo | grep 'model name' |uniq
cat /proc/cpuinfo |grep name |cut -f2 -d: |uniq -c
查看内存总数
cat /proc/meminfo | grep MemTotal
3.1 查看硬盘大小
fdisk -l | grep Disk
ubantu
# 查看ubantu是否安装jdK
apt list --installed | grep "jdk"
window查看WiFi密码
# 列出你本机上所有连接过的wifi配置文件
netsh wlan show profiles
# 查看连接名的wifi密码
netsh wlan show profile name="连接名" key=clear
# 查询所有连接过的wifi密码
netsh wlan show profile * key=clear
