Process time in unix environment

Source: Internet
Author: User

There are three metric values for the process time in the unix environment: 1. Wall Clock time: regards the process execution as a black box, and the difference between the start time and end time that humans perceive. 2. User CPU time: the CPU time used to execute User-state commands. 3. System CPU time: the kernel represents the CPU time spent during process execution. The combination of 2 and 3 is called the CPU time. in www.2cto.com shell, you can use time to measure the time spent on executing the process: Reference $ time-p curl facebook.com>/dev/null # deliberately access an inaccessible website to obtain: real 63.15 # Is Wall Clock Time. The process executes user 0.00 sys 0.01 in 63 seconds. # The user cpu time and sys cpu time are very short, indicating that most of the Time is spent on I/O waiting.

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.