Tuesday, December 14, 2010

Use Linux command line performance testing tool

VIII. freefree command displays all memory usage, including free memory, use of memory and swap space.

Free command displays also includes some kernel caching and buffer information. When you use the free command, need to remember that Linux's memory structure and virtual memory management methods, such as restrictions on the number of free memory, and swap space usage does not flag a memory bottleneck. Free command useful parameters: reference ·-b,-k,-m and-g bytes, kilobytes, respectively, in accordance with, megabytes, gigabytes. difference display · l-low and hig memory ·-c {count} displays the number of times nine free output, Pmappmap command displays one or more processes use the amount of memory, you can use this tool to determine the server on which process is taking up too much memory resulting in a memory bottleneck. X. Stracestrace interception and recording processes of system call information, also includes the process to accept command signals. This is a useful diagnostic and debugging tools, system administrators can use strace to address procedural problems. Command format, you need to specify the process ID needs to be monitored. The more developers use. Strace-p 11 ulimit by ulimit to control the use of system resources. Please see previous log: use ulimit and proc to adjust the system parameter 12, Mpstatmpstat command is also part of the sysstat package. Mpstat command is used to monitor a multi-CPU system in each of the available CPU. Mpstat command can display each CPU or the operation of all CPU, but can also use as vmstat command parameters for a certain frequency of the sampling results of monitoring.

No comments:

Post a Comment