# # calculate memory of server and echo as gb # workaround, because cli missing commands for this operation # # @author Björn Hase, me@tentakelfabrik.de # # import sys import math result = float(sys.argv[1]) / 1000 / 1000 result = math.ceil(result) result = int(result) print (result)