Editing Loadavg
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | Load average is a traditional UNIX metric. Load average value is the average | |
− | number of processes that are either in a | + | number of processes that are either in a runnable or uninterruptable state |
− | during a particular time period. | + | during a particular time period. The three numbers shown are load averages for |
+ | the last 1, 5, and 15 minutes. | ||
− | A process in a | + | A process in a runnable state |
− | is either using the CPU or waiting to use the CPU. A process in | + | is either using the CPU or waiting to use the CPU. A process in uninterruptable |
− | state | + | state is waiting for some I/O access, eg waiting for disk. |
− | eg waiting for disk. | + | The averages are taken over the three time intervals. Load averages |
− | + | are not normalized for the number of CPUs in a system, so a load average | |
− | The averages are taken over the three time intervals | ||
− | Load averages are not normalized for the number of CPUs in a system, so a load average | ||
of 1 means a single CPU system is loaded all the time while on a 4 | of 1 means a single CPU system is loaded all the time while on a 4 | ||
CPU system it means it was idle 75% of the time. | CPU system it means it was idle 75% of the time. | ||
Line 18: | Line 17: | ||
vzctl exec $CTID cat /proc/loadavg | vzctl exec $CTID cat /proc/loadavg | ||
− | For all | + | For all or specified containers |
vzlist -o ctid,laverage [CTID ...] | vzlist -o ctid,laverage [CTID ...] | ||