The title here is the System monitoring command, in fact, also includes some common system Information view (not performance information), so this article is divided into two pieces of content:
System Information Class:
This kind of information is static, the hardware will not change if it does not change or the system does not upgrade generally.
uname command: displaying operating system Information
UNAME-S Display operating system name UNAME-P Display processor Architecture uname-r display kernel version uname-n display computer name uname-a Show All information
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/89/5B/wKiom1gQbFKDuixYAACE3SzgpqA909.jpg-wh_500x0-wm_3 -wmp_4-s_3333592121.jpg "title=" 1.JPG "alt=" Wkiom1gqbfkduixyaace3szgpqa909.jpg-wh_50 "/>
Lsb_release command: display release information
Lsb_release-i Display Release name lsb_release-d display comprehensive information lsb_release-r display release version number LSB_RELEASE-C display codename LSB_RELEASE-A Show All
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/89/59/wKioL1gQbY6Rxv1GAACk9qBVBJI695.jpg-wh_500x0-wm_3 -wmp_4-s_1875032210.jpg "title=" 2.JPG "alt=" Wkiol1gqby6rxv1gaack9qbvbji695.jpg-wh_50 "/>
Hostname: Display host name information
Hostname display long format hostname hostname-s display short format hostname hostname-d display fqdnhostname-i Show all IP addresses hostname hostname set hostname
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/89/5B/wKiom1gQbsbBUWh7AABizEwm1lU868.jpg-wh_500x0-wm_3 -wmp_4-s_3117810284.jpg "title=" 3.JPG "alt=" Wkiom1gqbsbbuwh7aabizewm1lu868.jpg-wh_50 "/>
Below we will use some of the contents of the proc directory, all for the following is to use cat to view the contents of the file. /proc is a pseudo-file system, only after the system boot will have content, the system shut down the directory is empty, where the surface is to record some of the system hardware information related to the content.
/proc/cupinfo: View Cup characteristics information
Cat/proc/cpuinfocat/proc/cpuinfo | grep Process | Wc-l count the physical cores of the CPU
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/89/59/wKioL1gQc8KzJ_1KAADQEsM2e_U637.jpg-wh_500x0-wm_3 -wmp_4-s_2102654071.jpg "title=" 4.JPG "alt=" Wkiol1gqc8kzj_1kaadqesm2e_u637.jpg-wh_50 "/>
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/89/59/wKioL1gQc_-gPyBiAAA3epP865o593.jpg-wh_500x0-wm_3 -wmp_4-s_3140123083.jpg "title=" 5.JPG "alt=" Wkiol1gqc_-gpybiaaa3epp865o593.jpg-wh_50 "/>
Performance Monitoring classes:
This type of information is dynamic and changes as the computer runs.
Free
Top
Iostat
Vmstat
Netstat
This article is from the "Little Demon's Home" blog, so be sure to keep this source http://littledevil.blog.51cto.com/9445436/1865989
Monitoring commands for Linux systems