Monitoring Linux server performance with LR

Source: Internet
Author: User

1) Setting up the Monitoring server
To monitor UNIX resources, you must configure the RSTATD daemon. Note that the RSTATD may already be configured
Daemon, because inetd on the computer is automatically activated when the computer receives a RSTATD request
Rstatd.
Verify that the RSTATD daemon is configured:
The RUP command reports various computer statistics, including configuration information for RSTATD. Run the following command to check
Look at the computer statistics information:
>rup Host
You can also use Lr_host_monitor to see if any relevant statistics are returned.
If the command returns meaningful statistics, the RSTATD daemon is already configured and activated.
If no meaningful statistics are returned, or if an error message is received, the RSTATD daemon has not been
Configuration.
Configure RSTATD
To configure the RSTATD daemon, do the following:
1 run the command: SU root
2 Enter/etc/inetd.conf and look for RSTATD lines (starting with rstatd). If the line is commented out
(using the # symbol), delete the comment and save the file.
3 on the command line, run:
Kill-1 Inet_pid
Where Inet_pid is the PID of the inetd process. This command instructs Inetd to rescan/etc/inetd.conf
File and register all the non-annotated daemons, including the rstatd daemon.
4 Run the RUP again.
If running the command still shows that the RSTATD daemon is not configured, contact your system administrator.

2) Adding a monitor on the LR console
Select UNIX Monitor;
Increase the host (the server address or host name being monitored)
Increase monitoring metrics
3) Monitoring indicators
Measure Description
Average the average number of processes in the "Ready" state for the last minute of the load
Collision rate the number of collisions detected over Ethernet per second
Context switches rate number of transitions per second between processes or threads
CPU utilization CPU Usage time percentage
Disk Rate Disks Transfer rates
Incoming Packets Error Rate The number of errors received per second when receiving Ethernet packets
Incoming packets Rate number of incoming Ethernet packets per second
Interrupt rate number of device interrupts per second
Outgoing packets errors rate number of errors sent per second when sending Ethernet packets
Outgoing packets rate number of Ethernet packets per second
Page-in rate the number of pages read into physical memory per second
Page-out rate writes the paging file per second and the number of pages removed from physical memory
Paging rate reads in physical memory per second or pages written to paging file
Swap-in rate the number of processes being exchanged
Swap-out rate the number of processes being exchanged
System mode CPU utilization percentage of time to use CPU
User mode CPU utilization percentage of time to use CPU

Monitoring Linux server performance with LR

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.