You can run a quick pipe command "pipe cp q rdr all | > rdr list a" that
will create a disk file of the "CP QUERY" command and then you can edit the
file, sort it to find the users with big spool files. 

Like Bruce most people will create userid to read in console files and store
them for diagnosing problems. You can also have VMUTIL run a command just
after midnight to close all spool files of a service machine. Use "CP SEND
CP userid SPOOL CONS CLOSE". 

Hans 

-----Original Message-----
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Bruce Hayden
Sent: December 15, 2008 8:40 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Clean up the spool

I add the EOF option to my console spool commands, then CP will
automatically close the file and start a new one after 50K records.
For example, all my SVMs have the command CP SPOOL CONS START TO LOGS
EOF.  (LOGS is my console log collector.)

On Fri, Dec 12, 2008 at 5:50 PM, Tom Duerbusch
<duerbus...@stlouiscity.com> wrote:
> Also watch out for console spool files for servers that never shutdown.
>
> For example:
>
> q prt all
> EREP     0012 T CON 00000235 001 NONE OPEN- 001F
> THDBUSCH 0010 Z CON 00325277 001 NONE OPEN- 0009
>
> THDBUSCH has 325K console lines.  As that is an open spool file, it can't
be purged.  Occasionally you need to go to these machines and issue a "#cp
spool console close" to segment the output.
>
> Tom Duerbusch
> THD Consulting
>


-- 
Bruce Hayden
Linux on System z Advanced Technical Support
IBM, Endicott, NY

Reply via email to