A way to see if redis is running
Editor to share with you to see whether redis is running or not, I believe most people do not know much about it, so share this article for your reference. I hope you will learn a lot after reading this article. Let's learn about it together.
Ps-ef | grep redis checks whether the background process is running
# check whether port 6379 is listening
Netstat-lntp | grep 6379
# use the `redis- cli` client to check whether the connection is normal
. / redis-cli
The above is all the contents of the method to see if redis is running, thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!