本页内容
上一节: Server_info 下一节: Server_monitor

Redis Lastsave 命令

Redis 服务器

Redis Lastsave 命令返回最近一次 Redis 成功将数据保存到磁盘上的时间,以 UNIX 时间戳格式表示。

语法

redis Lastsave 命令基本语法如下:


示例

redis 127.0.0.1:6379> LASTSAVE

可用版本

>= 1.0.0

返回值

字符串,文本行的集合。

==


示例

redis 127.0.0.1:6379> LASTSAVE
(integer) 1410853592

Redis 服务器

上一节: Server_info 下一节: Server_monitor
此页面最后编辑于2022年8月17日 (星期三) 23:15。