Home  >  Article  >  Database  >  How to check whether redis is started

How to check whether redis is started

尚
Original
2019-06-26 09:17:1121579browse

How to check whether redis is started

ps -ef |grep redis Check whether the background process is running

How to check whether redis is started

#Detect whether port 6379 is listening

netstat -lntp | grep 6379

#Use the `redis-cli` client to check whether the connection is normal

./redis-cli

How to check whether redis is started

For more Redis-related technical articles, please visit the Redis Tutorial column to learn!

The above is the detailed content of How to check whether redis is started. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn