APIs to determine swap size and used swap?