.\" $OpenBSD: altqd.8,v 1.1 2001/06/27 18:23:17 kjc Exp $ .\" $KAME: altqd.8,v 1.4 2001/04/09 16:26:28 thorpej Exp $ .\" .\" Copyright (C) 2000 .\" Sony Computer Science Laboratories Inc. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY SONY CSL AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL SONY CSL OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .Dd September 28, 1999 .Dt ALTQD 8 .Sh NAME .Nm altqd .Nd ALTQ daemon .Sh SYNOPSIS .Nm altqd .Op Fl f Ar conf_file .Op Fl dvD .Sh DESCRIPTION .Nm is a daemon program that reads a configuration file and then sets up the ALTQ state of network interfaces. After configuring the ALTQ state, .Nm will detach and become a daemon. The signal SIGINT or SIGTERM will shutdown .Nm , and the signal SIGHUP will restart .Nm \&. .Pp The following options are available: .Bl -tag -width Fl -offset indent .It Fl f Specify a configuration file to read instead of the default. The default file is .Pa /etc/altq.conf \&. .It Fl d Debug mode. .Nm does not detach and goes into the command mode. .It Fl v Print debugging information. This option implies .Fl d \&. .It Fl D Dummy mode. .Nm does not issue altq system calls. .El .Sh COMMANDS When .Fl d option is provided, .Nm goes into the command mode after reading the configuration file and setting up the ALTQ state. Each command is a single line, starting with the command verb. .Pp The basic commands are as follows: .Bl -tag -width help -offset indent .It Sy help Em or Sy ? Display a complete list of commands and their syntax. .It Sy quit Exit. .It Sy altq reload reload the configuration file and reinitialize ALTQ. .It Sy altq Em iface_name Op enable|disable Enables or disables ALTQ on the interface named .Em iface_name . When .Nm enters the command mode, ALTQ is enabled on all the interfaces listed in the configuration file. .El .Sh FILES .Pa /etc/altq.conf , .Pa /var/run/altqd.pid .Pa /var/run/altq_quip .Sh SEE ALSO .Xr altq.conf 5