![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| fre in vmstat | Negm | AIX | 1 | 10-26-2006 07:53 AM |
| vmstat | Syed_45 | UNIX for Dummies Questions & Answers | 2 | 07-27-2006 03:16 PM |
| vmstat | big123456 | UNIX for Advanced & Expert Users | 4 | 12-21-2005 06:56 AM |
| vmstat | chaandana | UNIX for Dummies Questions & Answers | 4 | 04-18-2005 08:11 AM |
| vmstat | anent | UNIX for Dummies Questions & Answers | 3 | 11-27-2001 10:22 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||||
|
System call are those things documented in section 2 of the manual. They are things like open(), read(), fork(), exec(). Each time any program calls any of those, a counter is incremented. vmstat is showing the increments to that counter.
Once a process starts to run, it gets to run until its timeslice runs out. But if it does something like read(), it must wait until the read finishes before it can run some more. When one process stops running for any reason, the kernel must look at the run queues to find another process to run. This operation of allowing another process to run is called a context switch. Again each time it happens, a counter is incremented and vmstat is showing the increments. If no process is on the run queues, the kernel will repeatedly scan the run queues until a process appears there. While the kernel is scanning the run queues, the system is idle. A high number of context switches is not good. If the kernel is context switching too often, that 10% idle could be misleading. It might actually be scanning the run queues once 10% of the time rather than looping as it waits for a runnable process. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|