This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Linux server SWQL reporting

Has anyone figured out how to get swap data for your server reports using SWQL.  We are just beginning to write our reports and this is what I have so far:

Select

hc.Caption,

HC.TotalMemory,

hc.cpuload,

hc.cpucount,

HC.PercentMemoryUsed,

c.avgpercentmemoryused,

c.DateTime,

c.avgload,

c.MaxLoad,

c.minload,

c.MaxMemoryUsed,

c.avgmemoryused,

c.minmemoryused

from ORION.NODES HC

Inner JOIN ORION.CPULoad C on C.NodeID = HC.NodeID

where ToLower(hc.caption) like 'd%'

  • The Swap space is located in the Orion.volumes table here is a snippet:

    SELECT

    hc.Caption,

    HC.TotalMemory,

    hc.cpuload,

    hc.cpucount,

    HC.PercentMemoryUsed,

    c.avgpercentmemoryused,

    c.DateTime,

    c.avgload,

    c.MaxLoad,

    c.minload,

    c.MaxMemoryUsed,

    c.avgmemoryused,

    c.minmemoryused

    ,V.VolumePercentUsed

    ,V.DisplayName

    FROM ORION.NODES HC

    LEFT JOIN ORION.CPULoad C on C.NodeID = HC.NodeID

    LEFT JOIN Orion.Volumes V ON V.NodeID = HC.NodeID AND V.Caption = 'Swap space'

    where ToLower(hc.caption) like 'd%'

  • I_Like_Eggs - Thank you for your sift and informative reply.