def get_fs_free_space():
    """Get the available space of the current filesystem.

    :return: The available size in KB.
    :rtype: int
    """
    try:
        stat = os.statvfs('.')
        return (stat.f_bavail * stat.f_frsize) / 1024
    except  __HOLE__:
        print("[!] Failed to get the filesystem disk space usage")
        return 0
dataset/ETHPy150Open owtf/owtf/install/space_checker_utils.py/get_fs_free_space