def lastsave(host=None, port=None, db=None, password=None):
 server = _connect(host, port, db, password)
 return int(server.lastsave().strftime('%s'))

def lastsave ( host = None , port = None , db = None , password = None ) : server = _connect ( host , port , db , password ) return int ( server . lastsave ( ) . strftime ( '%s' ) )
get the unix time in seconds of the last successful save to disk cli example: .