Re: type of vm.stats.vm.v_vnodepgsin vm.stats.vm.v_swappgsin, vm.stats.vm.v_vnodepgsout vm.stats.vm.v_swappgsout on AMD64 r320730

2017-07-10 Thread Konstantin Belousov
On Mon, Jul 10, 2017 at 10:51:43AM -0300, Otac??lio wrote: > Em 10/07/2017 06:49, Konstantin Belousov escreveu: > > On Mon, Jul 10, 2017 at 06:45:28PM +0900, Tomoaki AOKI wrote: > >> Hm, for example, sysutils/lsof (userspace app) depends on kernel > >> source, and I thought the one Otacilio

Re: type of vm.stats.vm.v_vnodepgsin vm.stats.vm.v_swappgsin, vm.stats.vm.v_vnodepgsout vm.stats.vm.v_swappgsout on AMD64 r320730

2017-07-10 Thread Otacílio
Em 10/07/2017 06:49, Konstantin Belousov escreveu: On Mon, Jul 10, 2017 at 06:45:28PM +0900, Tomoaki AOKI wrote: Hm, for example, sysutils/lsof (userspace app) depends on kernel source, and I thought the one Otacilio mentioned is something like it. lsof purpose is to dig into a kernel memory

Re: type of vm.stats.vm.v_vnodepgsin vm.stats.vm.v_swappgsin, vm.stats.vm.v_vnodepgsout vm.stats.vm.v_swappgsout on AMD64 r320730

2017-07-10 Thread Konstantin Belousov
On Mon, Jul 10, 2017 at 06:45:28PM +0900, Tomoaki AOKI wrote: > Hm, for example, sysutils/lsof (userspace app) depends on kernel > source, and I thought the one Otacilio mentioned is something like it. lsof purpose is to dig into a kernel memory to gather information about the process state and

Re: type of vm.stats.vm.v_vnodepgsin vm.stats.vm.v_swappgsin, vm.stats.vm.v_vnodepgsout vm.stats.vm.v_swappgsout on AMD64 r320730

2017-07-10 Thread Tomoaki AOKI
Hm, for example, sysutils/lsof (userspace app) depends on kernel source, and I thought the one Otacilio mentioned is something like it. Anyway, we should wait for Otacilio's response. ;-) On Mon, 10 Jul 2017 10:18:07 +0300 Konstantin Belousov wrote: > On Mon, Jul 10, 2017

Re: type of vm.stats.vm.v_vnodepgsin vm.stats.vm.v_swappgsin, vm.stats.vm.v_vnodepgsout vm.stats.vm.v_swappgsout on AMD64 r320730

2017-07-10 Thread Konstantin Belousov
On Mon, Jul 10, 2017 at 03:40:46PM +0900, Tomoaki AOKI wrote: > Hi. > > Members v_swappgsin and v_vnodepgsin are declared on sys/sys/vmmeter.h > as > > u_int on stable/11@r320798 [1] > counter_u64_t on head@r320861 [2] > > respectively. > > Diggin in further, on head@r320861,

Re: type of vm.stats.vm.v_vnodepgsin vm.stats.vm.v_swappgsin, vm.stats.vm.v_vnodepgsout vm.stats.vm.v_swappgsout on AMD64 r320730

2017-07-10 Thread Tomoaki AOKI
Hi. Members v_swappgsin and v_vnodepgsin are declared on sys/sys/vmmeter.h as u_int on stable/11@r320798 [1] counter_u64_t on head@r320861 [2] respectively. Diggin in further, on head@r320861, counter_u64_t is typedef'ed as uint64_t * at line 32 of sys/sys/counter.h [3] like

Re: type of vm.stats.vm.v_vnodepgsin vm.stats.vm.v_swappgsin, vm.stats.vm.v_vnodepgsout vm.stats.vm.v_swappgsout on AMD64 r320730

2017-07-09 Thread Konstantin Belousov
On Sun, Jul 09, 2017 at 11:15:18PM -0300, Otac??lio wrote: > Dears > > I'm the maintainer of xosview and I'm debugging rather weird behavior > from it in the latest FreeBSD 12 revisions (12.0-CURRENT #0 r320730 > AMD64) . The problem is occurring on the lines responsible for > collecting

type of vm.stats.vm.v_vnodepgsin vm.stats.vm.v_swappgsin, vm.stats.vm.v_vnodepgsout vm.stats.vm.v_swappgsout on AMD64 r320730

2017-07-09 Thread Otacílio
Dears I'm the maintainer of xosview and I'm debugging rather weird behavior from it in the latest FreeBSD 12 revisions (12.0-CURRENT #0 r320730 AMD64) . The problem is occurring on the lines responsible for collecting statistics about paging. These lines follow: If (pageinfo) { Pageinfo [0]