Linux uustat Command
The Linux uustat command is used to display the current status of UUCP.
After executing the uucp and uux commands, jobs are first sent to the queue, and then uucico executes them. uustat can display, delete, or start jobs waiting to be executed in the queue.
Syntax
uustat [-aeiKmMNpqQRv][-B<行数>][-c<指令>][-C<指令>][-I<配置文件>][-k<工作>][-o<小时>][-r<工作>][-s<主机>][-S<主机>][-u<用户>][-U<用户>][-W<附注>][-y<小时>][-x<层级>][--help]
Parameter Description:
- -a or -all Display all UUCP jobs.
- -B<lines> or --mail-lines<lines> Used together with the -M or -N parameters to specify how many lines of information to include in the email.
- -c<command> or --command<command> Display jobs related to <command>.
- -C<command> or --not-command<command> Display jobs not related to <command>.
- -e or --executions Display only jobs waiting to be executed.
- -i or --prompt For each job in the queue, ask whether the user wants to delete the job.
- -I<config file> or --config<config file> Specify the configuration file.
- -k<job> or --kill<job> Delete the specified job.
- -m or --status Delete all jobs.
- -M or -mail Mail the status information to the UUCP administrator.
- -N or --notify Mail the status information separately to the users who submitted the job.
- -o<hours> or --older-than<hours> Display jobs older than the specified number of hours.
- -p or --ps Display the program responsible for UUCP locking.
- -q or --list Display the status of jobs to be executed on each remote host.
- -Q or --no-list Do not display jobs.
- -r<job> or --rejuvenate<job> Restart the specified job.
- -R or --rejuvenate-all Restart all jobs.
- -s<host> or --system<host> Display jobs related to <host>.
- -S<host> or --not-system<host> Display jobs not related to <host>.
- -v or --version Display version information.
- -u<user> or --user<user> Display jobs related to <user>.
- -U<user> or --not-user<user> Display jobs not related to <user>.
- -W<note> or --comment<note> A note to be placed in the email message.
- -y<hours> or --younger-than<hours> Display jobs younger than the specified number of hours.
- -x<level> or --debug<level> Specify the debug level.
- --help Display help.
Examples
Display all tasks
# uustat -a
Display waiting tasks
# uustat -eOther Extensions
Linux Command Reference