HEADS UP: unused client GC sweep

Gordon Tetlow gordon at freebsd.org
Thu Jul 1 17:31:22 GMT 2004


On Thu, Jul 01, 2004 at 11:42:54AM -0400, Peter Wemm wrote:
> I'm planning on starting running some cleanup scripts to clean up old unused 
> stuff from the p4 client state database.  What I'm currently thinking of is:
> 
> If a client has not been heard from for > 12 months and has files open, delete 
> it.
> 
> If a client has not been heard from for >6 months and has no open files, 
> delete it.
> 
> You can see what clients you have from the output of 'p4 clients'.  The 'p4 
> client' output lists the 'Access' time for a given client - that is what I'm 
> looking at.

I have a script that will send auto-nag emails for this type of stuff.
Although it doesn't check for opened files, I could probably hack that in
pretty easily.

-gordon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/trustedbsd-cvs/attachments/20040701/240b0d9f/attachment.bin


More information about the trustedbsd-cvs mailing list