Commits
dimir authored 811d728af6a
...G...... [ZBX-6470] fix swap calculation on Solaris Previously we used swapctl() call with parameters that gave incorrect values on some versions of Solaris. New approach is to use swapctl() call with SC_AINFO command and using struct anoninfo which guarantees proper results on all versions. The calculations are made the same way swap -s works: total = total swap memory used = allocated + reserved free = total - used [svn merge ^/branches/2.0 -c r35259]