newsx-newsq man page

newsq — list news server outgoing queue

Synopsis

newsq [ options ] [ hostname... ]  

Description

Unless options dictate otherwise, newsq lists the current outgoing queue for the specified hosts. If no name is given, the queues of all external news hosts are shown.

Options

-a

List all entries, also those without any outgoing messages.

--batch batchdir

Use batchdir as the outgoing news article spool directory instead of the default .

--cnews

Set to C News mode.

-c

Continuously lists state of currently active newsx processes.

--inn

Set to INN mode.

-n

Show the size of the outgoing quene.

-q

Quiet operation, useful for getting outgoing queue empty vs. non-empty status.

-s

List state of currently active newsx processes.

-w secs

Continuously lists state, pause secs seconds between displays.

Diagnostics

newsq returns error codes as follows:

0 - Successful completion
1 - Outgoing queue is empty
2 - Incorrect arguments supplied.

Bugs

Report any bugs to http://www.kvaleberg.com/bug/

Files

For C News:

/var/spool/news/outgoing/spoolname/togo

Spool file

Author

Egil Kvaleberg <egil@kvaleberg.no>

See Also

newsx(8)