windows 下命令行查(git-bash)询进程和系统信息
1、查看window所有进程
tasklist2、查看windows所占用的进程号
tasklist|findstr 19163、杀死进程,进程pid (需要在cmd执行)
taskkill /f /pid 101564、查看window所占用的进程名称
tasklist|findstr "redis"5、查看window所有端口号
netstat -ano6、查看windows所占用的指定端口号
netstat -ano|findstr "3306"7、查看计算机详细信息
# 推荐在 cmd 执行,各项数据显示的单位也比较合适
systeminfo8、获取总内存信息
# git-bash
systeminfo|findstr "Total Physical Memory"
# 推荐在 cmd 执行,显示单位也比较合适
systeminfo|findstr "物理内存总量" 当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »