Linux uustat command
The Linux uustat command is used to display the current UUCP status.
After running the uucp and uux commands, jobs are first sent to a queue and then executed by uucico. uustat can display, delete, or start jobs waiting 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
or --mail-lines used together with the -M or -N parameter to specify how many lines of information to include in the email. - -c
or --command displays jobs related to . - -C
or --not-command displays jobs related to . - -e or --executions: display only pending jobs.
- -i or --prompt: for each job in the queue, ask the user whether to delete it.
- -I
or --config specifies the configuration file. - -k
or --kill deletes the specified job. - -m or --status: delete all jobs.
- -M or -mail: mail status information to the UUCP administrator.
- -N or --notify: mail status information separately to the user who submitted each job.
- -o
or --older-than displays jobs older than the specified number of hours. - -p or --ps: display the programs 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
or --rejuvenate restarts the specified job. - -R or --rejuvenate-all: restart all jobs.
- -s
or --system displays jobs related to . - -S
or --not-system displays jobs related to . - -v or --version Display version information.
- -u
or --user displays jobs related to . - -U
or --not-user displays jobs related to . - -W
or --comment a comment to include in the email message. - -y
or --younger-than displays jobs younger than the specified number of hours. - -x
or --debug specifies the debugging level. - --help Display help.
Example
Display all jobs
# uustat -a
Display pending jobs
# uustat -e
Linux Command Reference