xref: /original-bsd/old/berknet/netq.1 (revision a95f03a8)
Copyright (c) 1980 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)netq.1 6.1 (Berkeley) 04/29/85

NETQ 1 "04/29/85"
C 4
NAME
netq - print contents of network queue
SYNOPSIS
netq [ -a ] [ machine ]
DESCRIPTION
Netq lists the contents of the network queue, one request per line, for each directly-connected machine. For each request, it shows the login name and machine of the originator, the destination machine and login name, and the length (in bytes) of the request (this will be larger than any files transferred (e.g. by netcp), because of header information). Also described are the queue filename which may be used as an argument to netrm (\*s), the time entered the queue, and the command being sent.

Netq summarizes requests by other users. If the -a option is specified, requests from all users are listed.

If a machine is specified, only the queue for that directly-connected machine is listed.

The requests are listed in the order they will be sent; the queue for each machine is totally independent from the other machine's queues.

AUTHOR
Eric Schmidt
FILES
/usr/spool/berknet/send? the directories where the queues are

/usr/spool/berknet/logfile the log

"SEE ALSO"
net(\*s), netrm(\*s), netlog(\*s), netcp(\*s), netlpr(\*s), netmail(\*s), netlogin(\*s), mail(\*o)
BUGS
Netq should also list files in net queues on intermediate machines.

The commands are sent shortest-job first. There is no way to delay a shorter, earlier request.