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

How to check whether redis is started

Release: 2019-07-08 08:59:23
Original
21638 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template