we learned more about viewing the Find help command in the previous section, looking in the class command Which,find It's something we have to master. View class Commands Cat,head,tail is something I have to master, as for the help command we know Help simple usage can be, there are children shoes may be puzzled, more famous book Bird Brother said a lot of commands need to master, how do I say that these few? Yes, right! On these, this is to want everyone to get started as soon as possible in the shortest time to learn and then work, command just started to learn too much, will let you give up the idea. So I write the time appropriate to give up some of the most important explanation. There's nothing more to say, and then we start the order.
Today I will explain to you system Information Class command, user class, disk class, network class command
System Information Class
System Information Command so the name of the idea is to view the system information, such a lot of commands, here I also summed up some of the use of a relatively high frequency to explain
when we log in to the system and want to know the name of the computer, hostname just jump out of the command and look underneath .
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7A/FE/wKioL1bEY36A6hO2AABaTFRmrRQ382.png "title=" Qq20160217170024.png "alt=" Wkiol1bey36a6ho2aabatfrmrrq382.png "/>
There are children's shoes said I want to see the kernel information, then we use the following command
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7A/FE/wKioL1bEZB7RpJBXAACF7VQXVXU845.png "title=" Qq20160217170620.png "alt=" Wkiol1bezb7rpjbxaacf7vqxvxu845.png "/>
Can see when I enter uname–r he tells me that the kernel version number is 2.6.32. When using-m he told me how many bits of the system. Using the previous Cat command tells us that the system version number is 6.6.
When it comes to kids ' shoes, I don't know how to shut down and restart the server. This is more simple to restart with the Reboot command, and then shut down with the halt command Of course the odds of these commands are very small, but we must know because he is involved in the system. These commands are single command, do not need to follow any parameters, direct carriage. I'm not doing a demo here.
Next we tell you a command, he will tell us how long the system has been running, and the load and the user.
650) this.width=650; "style=" float:left; "src=" http://s1.51cto.com/wyfs02/M01/7A/FE/ Wkiom1bey-7cnwfdaaazhvit9wy787.png "title=" Qq20160217172333.png "alt=" Wkiom1bey-7cnwfdaaazhvit9wy787.png "/>
Display Content Description:
17:13:55// System Current Time
up 7:46,// The more time the host has run, the more stable your machine is.
1 user// number of user connections, which is the total number of connections, not the number of users
load average// system average load, statistics recent 1 , 5 , the system average load of minutes so what is the system average load? the average system load is the average number of processes running in a queue during a specific time interval.
cpu 3 cpu 5 So there's a serious problem with the performance of this machine.
If you have Linux Host is 1 a dual-core CPU words, when Load Average to be 6 the machine has been fully used.
The following commands are most appropriate when we need to focus on our memory usage
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7A/FE/wKioL1bEZPGBYUDmAAAvmGwIGps591.png "title=" Qq20160217172842.png "alt=" Wkiol1bezpgbyudmaaavmgwigps591.png "/>
He came out a lot of things, right, but the main thing we cared about most was the following. buffers and the Cache . As for the above understanding are good, slowly we knock more, naturally understand what each means
Some of the relevant notes:
Mem : Indicates physical memory statistics
-/+ buffers/cached : Represents the cache statistics for physical memory
Swap : Indicates the usage of the swap partition on the hard disk (we don't care about it here)
Total physical memory of the system: 988M ( 1G ), but the actual memory currently available to the system is not the first line Free of the tag 810M , which represents only the memory that has not been allocated.
Cache and the Buffer The difference:
Cache : cache, which is located in CPU a small but high-speed memory between the main memory. Here we just know this command, and we'll show him how to look at the problem later.
Clear command is clear screen meaning, when you hit more on the screen, look at the chaos needs, want a clean screen, you need him, the specific operation is to enter the command to return.
Alias This command is related to the alias of the command, as we now want to disguise a command as something else. For example
This article from "Lele Run" blog, please be sure to keep this source http://10851431.blog.51cto.com/10841431/1742819
Linux System user Network Disk command