From: | Alexander Kirillov <nevis2us@××××××××.su> |
---|---|
To: | gentoo-user@l.g.o |
Subject: | Re: [gentoo-user] Help interpreting top(1) display |
Date: | Wed, 06 Jul 2005 09:14:15 |
Message-Id: | 42CB9F47.5020007@infoline.su |
1 | top reads some tick counters from /proc/stat |
2 | provided by the kernel and defined as |
3 | |
4 | struct cpu_usage_stat { |
5 | cputime64_t user; |
6 | cputime64_t nice; |
7 | cputime64_t system; |
8 | cputime64_t softirq; |
9 | cputime64_t irq; |
10 | cputime64_t idle; |
11 | cputime64_t iowait; |
12 | cputime64_t steal; |
13 | }; |
14 | |
15 | in kernel_stat.h |
16 | |
17 | You probably can guess the meaning better than I could: |
18 | |
19 | # time spent waiting for IO to complete |
20 | wa=iowait |
21 | |
22 | # time spent within hardware interrupt handlers |
23 | hi=irq |
24 | |
25 | # time spent within other critical sections within the kernel |
26 | si=softirq |
27 | |
28 | -- |
29 | gentoo-user@g.o mailing list |