1.某一进程所有的线程个数.启动时间 ps max -o lstart,lwp,pid,nlwp,cmd|more lstart: STARTED time the command started.nlwp: NLWP number of lwps (threads) in the process. (alias thcount).lwp: LWP lwp (light weight process, or thread) ID of the lwp being…
一.查看Linux内核版本命令(2种方法): 1.cat /proc/version Linux version 3.10.0_1-0-0-8 (root@xxx) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Thu Oct 29 13:04:32 CST 2015 2.uname -a Linux xxx 3.10.0_1-0-0-8 #1 SMP Thu Oct 29 13:04:32 CST 2015 x86_…
有时候安装完自己的linux发行版系统(如ubuntu.centos.redhat.opensuse.--)时,把版本信息忽略了,又不想重启电脑,此时我们可以通过命令行方式来查看: 1.cat /etc/issue 2.lsb_release -a 其中lsb代表什么呢?LSB:Linux Standard Base. 3.cat /etc/redhat-release(针对redhat,Fedora)…