uustat(1)
π NAME π β uustat(1) from the General Commands Manual
uustat β UUCP status inquiry and control. That's the whole vibe, bestie.
πΈ SYNOPSIS πΈ
okay so here's how you call her:
uustat -a
uustat --all
uustat [ -eKRiMNQ ] [ -sS system ] [ -uU user ] [ -cC command ] [ -oy
hours ] [ -B lines ] [ --executions ] [ --kill-all ] [ --rejuvenate-all
] [ --prompt ] [ --mail ] [ --notify ] [ --no-list ] [ --system system ]
[ --not-system system ] [ --user user ] [ --not-user user ] [ --command
command ] [ --not-command command ] [ --older-than hours ] [ --younger-
than hours ] [ --mail-lines lines ]
uustat [ -kr jobid ] [ --kill jobid ] [ --rejuvenate jobid ]
uustat -q [ -sS system ] [ -oy hours ] [ --system system ] [ --not-
system system ] [ --older-than hours ] [ --younger-than hours ]
uustat --list [ -sS system ] [ -oy hours ] [ --system system ] [ --not-
system system ] [ --older-than hours ] [ --younger-than hours ]
uustat -m
uustat --status
uustat -p
uustat --ps
π¦ DESCRIPTION π¦
The uustat command can display various types of status information about the UUCP system. She can also cancel or rejuvenate requests made by uucp (1) or uux (1). Iconic behavior. π
By default, uustat displays all jobs queued up for the invoking user, as if you'd given the --user option with the appropriate argument. Like, she already knows it's your queue. π«Ά
If any of the -a, --all, -e, --executions, -s, --system, -S, --not-system, -u, --user, -U, --not-user, -c, --command, -C, --not-command, -o, --older-than, -y, --younger-than options are given, then all jobs which match the combined specifications are displayed. Mix and match, bestie. β¨
The -K or --kill-all option may be used to kill off a selected group of jobs, such as all jobs more than 7 days old. Yes, she can be dramatic. π
β¨ OPTIONS β¨
The following options may be given to uustat. Strap in, there are a lot, but they all eat. π
-a,--allβ List all queued file transfer requests. π-e,--executionsβ List queued execution requests rather than queued file transfer requests. Queued execution requests are processed byuuxqt (8)rather thanuucico (8). They may be waiting for some file to be transferred from a remote system. They are created by an invocation ofuux (1). π¦-s system,--system systemβ List all jobs queued up for the named system. These options may be specified multiple times, in which case all jobs for all the systems will be listed. If used with--listonly the systems named will be listed. πΈ-S system,--not-system systemβ List all jobs queued for systems other than the one named. These options may be specified multiple times, in which case no jobs from any of the specified systems will be listed. If used with--listonly the systems not named will be listed. These options may not be used with-sor--system. β οΈ-u user,--user userβ List all jobs queued up for the named user. These options may be specified multiple times, in which case all jobs for all the users will be listed. π-U user,--not-user userβ List all jobs queued up for users other than the one named. These options may be specified multiple times, in which case no jobs from any of the specified users will be listed. These options may not be used with-uor--user. β οΈ-c command,--command commandβ List all jobs requesting the execution of the named command. If command isALLthis will list all jobs requesting the execution of some command (as opposed to simply requesting a file transfer). These options may be specified multiple times, in which case all jobs requesting any of the commands will be listed. π₯-C command,--not-command commandβ List all jobs requesting execution of some command other than the named command, or, if command isALL, list all jobs that simply request a file transfer (as opposed to requesting the execution of some command). These options may be specified multiple times, in which case no job requesting one of the specified commands will be listed. These options may not be used with-cor--command. β οΈ-o hours,--older-than hoursβ List all queued jobs older than the given number of hours. If used with--listonly systems whose oldest job is older than the given number of hours will be listed. π°οΈ-y hours,--younger-than hoursβ List all queued jobs younger than the given number of hours. If used with--listonly systems whose oldest job is younger than the given number of hours will be listed. π°οΈ-k jobid,--kill jobidβ Kill the named job. The job id is shown by the default output format, as well as by the-jor--jobidoption touucp (1)oruux (1). A job may only be killed by the user who created the job, or by the UUCP administrator or the superuser. The-kor--killoptions may be used multiple times on the command line to kill several jobs. π-r jobid,--rejuvenate jobidβ Rejuvenate the named job. This will mark it as having been invoked at the current time, affecting the output of the-o,--older-than,-y, or--younger-thanoptions and preserving it from any automated cleanup daemon. The job id is shown by the default output format, as well as by the-jor--jobidoptions touucp (1)oruux (1). A job may only be rejuvenated by the user who created the job, or by the UUCP administrator or the superuser. The-ror--rejuvenateoptions may be used multiple times on the command line to rejuvenate several jobs. β¨-q,--listβ Display the status of commands, executions and conversations for all remote systems for which commands or executions are queued. The-s,--system,-S,--not-system,-o,--older-than,-y, and--younger-thanoptions may be used to restrict the systems which are listed. Systems for which no commands or executions are queued will never be listed. π-m,--statusβ Display the status of conversations for all remote systems. π¬-p,--psβ Display the status of all processes holding UUCP locks on systems or ports. π-i,--promptβ For each listed job, prompt whether to kill the job or not. If the first character of the input line isyorYthe job will be killed. π-K,--kill-allβ Automatically kill each listed job. This can be useful for automatic cleanup scripts, in conjunction with the--mailand--notifyoptions. π-R,--rejuvenate-allβ Automatically rejuvenate each listed job. This may not be used with--kill-all. β οΈ-M,--mailβ For each listed job, send mail to the UUCP administrator. If the job is killed (due to--kill-allor--promptwith an affirmative response) the mail will indicate that. A comment specified by the--commentoption may be included. If the job is an execution, the initial portion of its standard input will be included in the mail message; the number of lines to include may be set with the--mail-linesoption (the default is 100). If the standard input contains null characters, it is assumed to be a binary file and is not included. π§-N,--notifyβ For each listed job, send mail to the user who requested the job. The mail is identical to that sent by the-Mor--mailoptions. π¬-W comment,--comment commentβ Specify a comment to be included in mail sent with the-M,--mail,-N, or--notifyoptions. π-B lines,--mail-lines linesβ When the-M,--mail,-N, or--notifyoptions are used to send mail about an execution with standard input, this option controls the number of lines of standard input to include in the message. The default is 100. π-Q,--no-listβ Do not actually list the job, but only take any actions indicated by the-i,--prompt,-K,--kill-all,-M,--mail,-Nor--notifyoptions. π€«-x type,--debug typeβ Turn on particular debugging types. The following types are recognized:abnormal,chat,handshake,uucp-proto,proto,port,config,spooldir,execute,incoming,outgoing. Onlyabnormal,config,spooldirandexecuteare meaningful foruustat. Multiple types may be given, separated by commas, and the--debugoption may appear multiple times. A number may also be given, which will turn on that many types from the foregoing list; for example,--debug 2is equivalent to--debug abnormal,chat. π-I file,--config fileβ Set configuration file to use. This option may not be available, depending upon howuustatwas compiled. π-v,--versionβ Report version information and exit. π--helpβ Print a help message and exit. π«Ά
π EXAMPLES π
Okay bestie, let's get into the actual receipts. These are the real commands and what they spit out. No cap, every line is exactly as it appears.
uustat --all
Display status of all jobs. A sample output line is as follows:
bugsA027h bugs ian 04-01 13:50 Executing rmail ian@airs.com (sending 1283 bytes)
The format is:
jobid system user queue-date command (size)
The jobid may be passed to the --kill or --rejuvenate options. The size indicates how much data is to be transferred to the remote system, and is absent for a file receive request. The --system, --not-system, --user, --not-user, --command, --not-command, --older-than, and --younger-than options may be used to control which jobs are listed.
uustat --executions
Display status of queued up execution requests. A sample output line is as follows:
bugs bugs!ian 05-20 12:51 rmail ian
The format is:
system requestor queue-date command
The --system, --not-system, --user, --not-user, --command, --not-command, --older-than, and --younger-than options may be used to control which requests are listed.
uustat --list
Display status for all systems with queued up commands. A sample output line is as follows:
bugs 4C (1 hour) 0X (0 secs) 04-01 14:45 Dial failed
This indicates the system, the number of queued commands, the age of the oldest queued command, the number of queued local executions, the age of the oldest queued execution, the date of the last conversation, and the status of that conversation.
uustat --status
Display conversation status for all remote systems. A sample output line is as follows:
bugs 04-01 15:51 Conversation complete
This indicates the system, the date of the last conversation, and the status of that conversation. If the last conversation failed, uustat will indicate how many attempts have been made to call the system. If the retry period is currently preventing calls to that system, uustat also displays the time when the next call will be permitted.
uustat --ps
Display the status of all processes holding UUCP locks. The output format is system dependent, as uustat simply invokes ps(1) on each process holding a lock.
uustat --command rmail --older-than 168 --kill-all --no-list --mail --notify --comment "Queued for over 1 week"
This will kill all rmail commands that have been queued up waiting for delivery for over 1 week (168 hours). For each such command, mail will be sent both to the UUCP administrator and to the user who requested the rmail execution. The mail message sent will include the string given by the --comment option. The --no-list option prevents any of the jobs from being listed on the terminal, so any output from the program will be error messages.
π SEE ALSO π
ps(1), rmail(1), uucp(1), uux(1), uucico(8), uuxqt(8)
π AUTHOR π
Ian Lance Taylor (ian@airs.com)
This page is from Taylor UUCP 1.07, uustat(1), and the date your manpage was stamped with π
β¨ Periodt.
π¦ where this page comes from
- debian bookworm: uucp 1.07-27+b2 Β· GPL-2.0-only
- debian trixie: uucp 1.07-30 Β· GPL-2.0-only
- ubuntu jammy: uucp 1.07-27build3 Β· GPL-2.0-only
- ubuntu noble: uucp 1.07-29 Β· GPL-2.0-only
- ubuntu questing: uucp 1.07-31
- ubuntu resolute: uucp 1.07-31build1 Β· GPL-2.0-only
- ubuntu stonking: uucp 1.07-31build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms