ubuntu常用命令
//查看内核版本
xxx@ubuntu:~$ uname -r
4.2.0-27-generic
//查看发行版本
xxx@ubuntu:~$ cat /etc/issue
Ubuntu 14.04.4 LTS \n \l
//查看发行版本
xxx@ubuntu:~$ cat /etc/issue
Ubuntu 14.04.4 LTS \n \l
//查看CPU使用率
xxx@ubuntu:~$ top
top - 05:31:35 up 7 min, 2 users, load average: 0.66, 0.29, 0.14
Tasks: 229 total, 1 running, 228 sleeping, 0 stopped, 0 zombie
%Cpu(s): 7.8 us, 3.6 sy, 0.0 ni, 88.4 id, 0.2 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 2031244 total, 1479232 used, 552012 free, 65464 buffers
KiB Swap: 2094076 total, 0 used, 2094076 free. 469684 cached Mem