vi /usr/local/etc/redis.conf
Посмотрите на каталог, то файл_журнала
# The working directory.
#
# The DB will be written inside this directory, with the filename specified
# above using the 'dbfilename' configuration directive.
#
# The Append Only File will also be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
dir /usr/local/var/db/redis/
# Specify the log file name. Also the empty string can be used to force
# Redis to log on the standard output. Note that if you use standard
# output for logging but daemonize, logs will be sent to /dev/null
logfile "redis_log"
Так файл журнала создается в /usr/local/var/db/redis/redis_log
с именем redis_log
Вы также можете попробовать MONITOR
команду redis-cli
просмотреть количество команд, выполняемых ,
Вы можете найти файл конфигурации, который использует ваш redis? – akonsu
@akonsu Нет, это тоже. Я могу начать и остановить его, получить доступ к нему с помощью redis-cli, но не знаю, как найти конфигурационный файл или файл журнала. И не может найти кого-либо, объясняющего это ни на redis.io, ни в другом месте – Christoffer
есть ли каталог '/ etc' в вашей системе? вы можете запустить 'which redis-server', чтобы узнать, где он установлен? – akonsu