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

I run Ubuntu, and If i type the following in a terminal, I start a new instance of memcached, right?

# memcached -vv

How can I target the the current instance of memcached in terminal? It would help me to see the very-verbose mode on my already running instance.


share|improve this question
up vote 1 down vote accepted

Use screen command : it permits to put a terminal in background (Detached mode), where your application continue to work and reuse it later, from another machine if you want, to see the logs.

Think that verbose mode is time killing : your performance will be degraded.

share|improve this answer
Hi! I can understand that performance is degraded by verbose mode, but then again, it's only for development - not production. Should i use screen when I start up memcached or how do you mean? – Industrial May 27 '10 at 16:13
you can run screen alone : it will start a new shell where you can start your command. Or You can run screen memcached -vv and it start the command immediately. To detach the terminal, the default sequence is Ctrl+A,D. You can list all screens launched by screen -ls, and recover by screen -r PID or without PID if just one is launched – Dom May 27 '10 at 18:13
Amazing. Thanks a lot! Will try that! – Industrial May 27 '10 at 21:57
Hi! Is there any way to get a current running instance of memcached into -vv mode by doing this? – Industrial May 28 '10 at 13:19
What means "current running instance" ? You can have the name of the screen's session changed by -S option. Maybe this is what you want – Dom May 31 '10 at 16:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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