I'm busted!  ;)

this was reported earlier and will be fixed in the next release, hopefully
in the next few weeks.  If you look at the function 'derived' in
/usr/share/collectl/formatit.ph, you'll see

    $swapUsedC=$swapUsed=$swapUsedLast;

when in fact it should be
    $swapUsedC=$swapUsed-$swapUsedLast;

-mark

On Tue, Aug 30, 2011 at 9:09 AM, Mats Kronberg <[email protected]> wrote:

> It seems that the Swap Used column (as show by e.g "collectl --subsys
> ym") is always zero in version 3.5.1-1 (we are using the EPEL packaged
> version collectl-3.5.1-1.el5.noarch).
>
> The Swap Free column gives the correct amount of free swap, but Swap
> Used is always zero.
>
> By looking at old collectl output and yum logs, it seem likely that
> this stopped working when we upgraded from 3.5.0-1 to 3.5.1-1.
>
>
>
> Sample output:
>
> ### RECORD    1 >>> n78 <<< (1314708920.002) (Tue Aug 30 14:55:20 2011) ###
>
> # MEMORY STATISTICS
> #<---------------------------Physical
>
> Memory---------------------------><-----------Swap------------><-------Paging------>
> #   Total    Used    Free    Buff  Cached    Slab  Mapped  Commit
> Inact Total  Used  Free   In  Out Fault MajFt   In  Out
>   24097M  24022M  77100K   6520K  48196K  99540K  22163M  91042M
> 9539M   69G     0   43G 290K 297K  1120    48 1160 1188
>
>
> "top" output from the same host:
>
> top - 14:55:36 up 38 days, 20:13,  1 user,  load average: 8.74, 8.58, 8.82
> Tasks: 212 total,   8 running, 203 sleeping,   0 stopped,   1 zombie
> Cpu(s): 59.3%us,  0.3%sy,  0.0%ni, 39.5%id,  0.9%wa,  0.0%hi,  0.0%si,
>  0.0%st
> Mem:  24675916k total, 24598132k used,    77784k free,     6548k buffers
> Swap: 73062492k total, 27476740k used, 45585752k free,    48216k cached
>
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Collectl-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/collectl-interest
>
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Collectl-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/collectl-interest

Reply via email to