Atitit. Software dashboard (7) -- temperature monitoring subsystem -- Temperature Monitoring and alarms for important computer components
CPU temperature, fan speed
Motherboard Temperature
Graphics card Temperature
Hard Disk Temperature
Battery Temperature
Master Lu hard disk temperature
, first adjust the CPU usage of the application so that the application can use the CPU more effectively. You can also consider adding more CPUs.
Mpstat-(multiprocessor statistics)
Implement monitoring. information is stored in the/proc/STAT file.
$ mpstat -P ALL 2 10Linux 2.6.18-92.el5 () 08/30/201208:16:34 PM CPU
Article Title: CPU for Linux performance monitoring. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
As we discussed earlier, the performance of any system is baseline-based, and the performance of CPU
time may be caused by a single (or multiple) overloaded processor, many other tools can be used to narrow the cause of the load.
to delve deeper into processor usage, the 3 tools described below can provide many different understandings of CPU utilization: Vmstat, Iostat, and top. Each of these tools focuses on different aspects of system monitoring, but can get a different view of the current usage of
1, IntroductionMpstat isMultiprocessor StatisticsThe abbreviation, isreal-time system monitoring tools。 Its reports are some of the CPU's statistics, which are stored in the/proc/stat file. In a multi-CPUs system, it not only can view the average status information of all CPUs, but also can view the information of specific CPU. Mpstat's biggest feature is the ability to view statistics for each compute core
Set of cpu monitoring tools for Linux
Set of cpu monitoring tools for Linux
1. top tools provided by the systemDetailed parameter description:15:46:08: current system time45 days: the system runs for 45 days.2 users: the system currently has two users logging onLoad average: 0.04, 0.01, 0.00 -- load of
Mpstat
Mpstat is the abbreviation of multiprocessor statistics, a real-time system monitoring tool. Some statistical information about the report and CPU, which is stored in the/proc/stat file. In a CPUs system, it is not only possible to view the average information of all CPUs, but also to view information about a particular CPU. The biggest feature of Mpstat
Whether it is the home computer or the server has been the constant need to solve the problem is cooling, and in peacetime server running process How to know the server's internal cooling system is healthy, temperature is normal can be monitored by lm_sensors tools, lm_ Sensors is a Linux hardware monitoring software, which can be used to print temperature sensor information, help us to monitor the motherbo
Linux Command Execution monitoring and software installation, linux Command Software InstallationMonitoring command Run time command
$ Time sleep 5 real 0m5. 003 s # End Time of the program, including the time slice occupied by other processes and the IO time user 0m0. 001 s # CPU usage time of the Process Execution sy
Article Title: ubuntu CPU temperature configuration. fan speed, hard disk temperature monitoring. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Some friends on the forum could not monitor the hardware status by using the sensor on the motherboard after installing Ubunt
Article Title: Linux CPU Temperature Monitoring. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Install the test system:
Hardware: ordinary PC,
Software: redhat linux as 4 2.6. 9, install the built-in lm_sensors-2.8.7-2.i386
template, the following accessoriesSecond, import the corresponding CPU, IO, hard disk and other performance monitoring template files, enter Perfmon in the run, click the Data Collector = "user-defined, such asRight-click, new Data Collector, select Import from Template, asClick Next, select System performance, click Browser, select the CPU information correspo
Shell monitors cpu, memory, and load average, records the log, and sends an email to the Administrator when the load is under pressure.
Principle:
1. Obtain the value of cpu, memory, and load average.
2. Determine whether the value exceeds the custom range, for example (CPU> 90%, Memory
3. If the value range is exceeded, send an email to the Administrator. The m
Note: There is a file embedded within this post, please visit this post to download the file.The data center does not have a temperature alarm device. I use this method to control the temperature of the data center. If there is only one alarm, a single machine failure can be considered. If there are several alarms at the same time, it can be considered that there is a problem with the air conditioner in the data center.
The specific implementation method is as follows:
Environment: monitored: Ce
* * * * # Service Crond RestartThird, to enable the server to send mail, you must open the SendMail service or install Linux under a mail client msmtp software (similar to a foxmail tool)The installation process is described here, or hereThe step shape is as follows:1. Download and install:# wget Http://downloads.sourceforge.net/msmtp/msmtp-1.4.30.tar.bz2?big_mirror=0# tar JXVF msmtp-1.4.30.tar.bz2# CD msmtp-1.4.30#./configure--PREFIX=/USR/LOCAL/MSM
the definition of the item by using a custom multiplier multiplied by 1000, the unit to byte, and the CPU occupancy rate is a number with a decimal point, so when the definition of the item needs to define the type is floating-point type, And this value is the CPU occupancy of the logical single core, so you need to define a custom multiplier, I experiment with the server is 2 CPUs, each
, Head-n 100 will display the first 100 lines
More queries
Maximum access per minute
awk ' {print $} ' Access_log |cut-c 14-18|sort|uniq-c|sort-nr|head the
highest hourly access number
awk ' {print $} ' acces S_log |cut-c 14-15|sort|uniq-c|sort-nr|head-n
Specifies the number of accesses per second of a minute
grep ' 01/nov/2013:15:59 ' access.log | cut-d ' ["- F 2 | awk ' {print $} ' | Sort | uniq-c | Sort-nr | Head-60
2. Record C
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.