title: how to get the config file path of redis through a ps command
body: <p>when i typed the <code>ps -ef | grep redis</code> and tried to find the config file path which redis process is currently using. But get a result like:</p>
  <pre><code>root ... pid ... ./redis-server 0.0.0.0:6379
  </code></pre>
  <p>it didn't show the full startup arguments.
  the expect result should be something like:</p>
  <pre><code>root ... pid ... ./redis-server /etc/redis/redis.conf
  </code></pre>
  <p>so, is there any way i can find the /path/to/config but not using redis-cli info?</p>
  <p>btw, <code>cat /proc/{$pid}/cmdline</code> shows the same result as <code>ps</code> command. OS: centos</p>