centos查看redis状态

centos中查看redis状态的方法:1、打开终端;2、输入“ps aux | grep redis”或“netstat -lntp”命令查看redi运行状态即可。

具体操作步骤:

1、在centos系统桌面中使用快捷键【Ctrl+Alt+T】打开终端命令行模式。

2、在centos终端命令行中输入以下命令查看redi运行状态即可。

ps aux | grep redis #查看redi是否在运行

#或

netstat -lntp #查看redi是否在运行

相关命令:

redis-server /etc/redis.conf #启动redis服务

/usr/bin/redis-cli shutdown #关闭redis服务

Both comments and pings are currently closed.

Comments are closed.

Powered by KingAbc | 粤ICP备16106647号-2 | Loading Time‌ 1.898