next up previous contents
Next: Peep's Playback and Recording Up: Getting Started With Peep Previous: Compiling the Peep Server   Contents

Running the Peep Server

peepd takes several arguments on the command line. This section documents some of the more interesting features. To see the complete list, type $ ./peepd -help at the command prompt. Once started, peepd will log all its output to standard error by default. So, if you're starting the server in daemon mode (the default) and want to suppress the output, I suggest:

peepd $>$ /dev/null 2$>$&1

If you've compiled peepd in debugging mode or want to make sure that everything is running smoothly, I suggest redirecting the logs:

peepd -l /var/local/peepd/peepd.log

Also, the -nodaemon option can be a handy way to watch what's going on and make troobleshooting easier.

When running in daemon mode peepd logs its pid to /var/run/peepd.pid by default. Depending on which user you use to run the server or for whatever reason if you do not have access to write out a file in /var/run, you can tell peep to write its pid to another location by supplying the -pidfile option:

peepd -pidfile=/other/location/peepd.pid

You can also tell the server how many voices (simultaneous channels) to use when performing real-time mixing. This allows you to toggle performance versus the needs of your network. A greater number of voices causes peepd to chew up more CPU time but introduces less delay in a busy network. The default is 16 voices but you can change this on the command line with the -v option:

peepd -v32

peepd also supports a feature for recording and playing back events, which is described in the next section


next up previous contents
Next: Peep's Playback and Recording Up: Getting Started With Peep Previous: Compiling the Peep Server   Contents
Collin Starkweather 2002-11-03