There are three metric values for the process time in the unix environment: 1. WallClocktime: the difference between the start time and end time that humans perceive when processes are executed as a black box. 2. UserCPUtime: the CPU time used to execute user-state commands. 3... there are three metric values: 1. wall Clock time: regards 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.
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