111 reputation
1
bio website
location
age
visits member for 4 years, 6 months
seen Dec 21 '11 at 22:07

Feb
13
comment DNS subdomain problem - Hover.com
You need to describe what you are actually trying to do. The primary message from your question is that you are confused.
Feb
23
comment Are .pid files reliable for determining whether a process is running?
Race conditions: the state of the system has changed by the time ps has finished. Process titles: another process could have a similar title to the one you're interested in. Multiple instances: Consider a system with two instances of the same service, each with a PID file. One fails, and the other restarts and gets the PID of the first service. How do you tell? Etc. Not reliable, impossible to get right because of race conditions, and there are reliable techniques that just work. For a reliable alternative see, for example, cr.yp.to/daemontools.html
Feb
23
comment Are .pid files reliable for determining whether a process is running?
The key point in the question was "reliable". Doing a ps and looking for a PID is not reliable.
Feb
23
comment Are .pid files reliable for determining whether a process is running?
But checking for the existence of a process with that PID doesn't mean that it's the PID you're interested it.
Jan
16
awarded  Teacher
Jan
12
answered How to configure SSL for virtual host