Redis Lastsave 命令

Redis 服務(wù)器

Redis Lastsave 命令返回最近一次 Redis 成功將數(shù)據(jù)保存到磁盤(pán)上的時(shí)間,以 UNIX 時(shí)間戳格式表示。

語(yǔ)法

redis Lastsave 命令基本語(yǔ)法如下:

redis 127.0.0.1:6379> LASTSAVE 

可用版本

>= 1.0.0

返回值

字符串,文本行的集合。

實(shí)例

redis 127.0.0.1:6379> LASTSAVE 
(integer) 1410853592

Redis 服務(wù)器