Producing a second output file automatically.
From: Alistair McKeown (Alistair.McKeown_at_jacobsrimell.com)
Date: 08/05/05
- Previous message: Paul Hunter: "Laptop and USB To Serial Cable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 5 Aug 2005 11:11:05 +0100 To: "Sun Managers" <sunmanagers@sunmanagers.org>
Hi there,
I have a problem where, I'm running an ldapsearch on
Solaris and redirecting the output to a file. The trouble is that file
becomes too big the process just stops putting information into the
file.
This there anyway of automatically doing something, that
if a file becomes too big it automatically continues to output the data
to another new file and even a third if need be.
ldapsearch -b ou=uscos,ou=amsterdam,ou=domains,ou=nl,ou=domains,o=chello
-D cn='directory manager' -w l3tm3inh3r3 -h amsprdipgw00 -p 1389
reservedEmailAlias=* reservedEmailAlias > all_reservedEmailAlias.txt
This file just stopped growing, yet the proecess above was still trying
to run.
-rw-r--r-- 1 dirsrv dirgrp 110190592 Aug 5 11:57
all_reservedEmailAlias.txt
Regards,
Alistair Mckeown
Jacobs Rimell Ltd.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Previous message: Paul Hunter: "Laptop and USB To Serial Cable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]