Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to check what user is running memcached? I read that running it as root is a bad idea - I installed it while logged in as root. How can I check what owner owns that process?


share|improve this question

closed as not constructive by MDMarra, mdpc, Scott Pack, Iain Nov 5 '12 at 21:58

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

This site is for professional systems admins. This is your second extremely easy question in a handful of minutes. Generally, we welcome a broad variety of questions here, but you need to put some research in yourself too. Read the faq and How to Ask before you ask your next question. ps (the answer to this question) and chkconfig (the answer to your last question) are pretty standard tools. If you don't know about them, you need a book on Linux more than you need your website. – MDMarra Nov 5 '12 at 20:47

To find out what user is running the memcached process run this command

ps aux | grep -e [^grep]memcached
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.