Commit | Line | Data |
---|---|---|
69cf06cd C |
1 | #! /bin/sh |
2 | PATH=/bin:/usr/bin | |
3 | export PATH | |
4 | ||
5 | : Report number of spooled files for each site. | |
6 | : Also reports unprocessed "XQT" files. | |
7 | : Assumes uucp subdirectories | |
8 | : Author: Tom Truscott, rti!trt | |
9 | ||
10 | cd /usr/spool/uucp/C. | |
11 | ls | sed -n 's/^C\.\(.*\).....$/\1/p' | uniq -c | sort -nr | |
12 | ||
13 | cd ../X. | |
14 | ls | sed -n 's/^X\..*/XQT/p' | uniq -c | |
15 | ||
16 | cd .. | |
17 | ls LCK* STST* | sed 's/...../Talking with: /' | sort | uniq -d |