| To: | Nathan Scott <nathans@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] Swap Metrics not available in Fc21 ? |
| From: | Chandana De Silva <chandana@xxxxxxxxxxxxx> |
| Date: | Wed, 25 Mar 2015 06:21:26 +1100 |
| Cc: | pcp@xxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <112941674.3579042.1427177454469.JavaMail.zimbra@xxxxxxxxxx> |
| References: | <1427174987.31915.31.camel@xxxxxxxxxxxxx> <559128045.3563290.1427175640385.JavaMail.zimbra@xxxxxxxxxx> <1427175967.31915.35.camel@xxxxxxxxxxxxx> <112941674.3579042.1427177454469.JavaMail.zimbra@xxxxxxxxxx> |
| Reply-to: | chandana@xxxxxxxxxxxxx |
Thanks for the explanation! On Tue, 2015-03-24 at 02:10 -0400, Nathan Scott wrote: > > ----- Original Message ----- > > I am seeing it in 2.6.18 > > > > The code is in src/pmdas/linux/pmda.c - see the _pm_have_proc_vmstat > variable in particular, and the linux_fetchCallBack snippet: > > case 10: /* in */ > if (_pm_have_proc_vmstat) > return PM_ERR_APPVERSION; /* no swap operation counts in 2.6 > */ > else > atom->ul = proc_stat.page[0]; > break; > case 11: /* out */ > if (_pm_have_proc_vmstat) > return PM_ERR_APPVERSION; /* no swap operation counts in 2.6 > */ > else > atom->ul = proc_stat.page[1]; > break; > > > cheers. > > -- > Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | pcp updates: kenj: bug 1044, build warnings, Dave Brolley |
|---|---|
| Next by Date: | Re: QA resource leaks, Frank Ch. Eigler |
| Previous by Thread: | Re: [pcp] Swap Metrics not available in Fc21 ?, Nathan Scott |
| Next by Thread: | pcp updates: kenj: bug 1044, build warnings, Dave Brolley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |