![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux基础
peter_pes
这个作者很懒,什么都没留下…
展开
-
查看linux是32位还是64位的方法总结
1.getconf LONG_BIT[root@localhost /]# getconf LONG_BIT 64 2.uname x86_64表示64位系统, i686 i386表示32位系统。i686 只是i386的一个子集,支持的cpu从Pentium 2 (686)开始,之前的型号不支持. [root@localhost /]# uname -a Linux localhost.loca原创 2017-11-03 09:38:01 · 258 阅读 · 0 评论 -
linux 查看端口占用情况
1.lsof -i:端口号[root@localhost ~]# lsof -i:3306 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME mysqld 2398 mysql 22u IPv6 22741 0t0 TCP *:mysql (LISTEN) 可以看出3306端口已经被mysql服务占用,PID为原创 2017-11-28 15:48:52 · 278 阅读 · 0 评论