Rasplit issue
Carter Bullard
carter at qosient.com
Fri Jul 21 06:29:19 EDT 2006
Hey CS,
Try this patch to fix your problem.
Carter
==== //depot/argus/clients/clients/rasplit.c#5 -
/home/carter/argus/clients/clients/rasplit.c ====
***************
*** 54,60 ****
bzero((char *)nadp, sizeof(*nadp));
nadp->mode = -1;
! nadp->modify = 1;
nadp->slen = 2;
if (parser->aflag)
--- 54,60 ----
bzero((char *)nadp, sizeof(*nadp));
nadp->mode = -1;
! nadp->modify = 0;
nadp->slen = 2;
if (parser->aflag)
***************
*** 90,96 ****
switch (ind) {
case ARGUSSPLITTIME:
! nadp->mode = ind;
if ((mode = mode->nxt) != NULL) {
if (isdigit((int)*mode->mode)) {
char *ptr = NULL;
--- 90,97 ----
switch (ind) {
case ARGUSSPLITTIME:
! nadp->mode = ind;
! nadp->modify = 1;
if ((mode = mode->nxt) != NULL) {
if (isdigit((int)*mode->mode)) {
char *ptr = NULL;
--- end patch ---
Carter
CS Lee wrote:
> Carter,
>
> I didn't use time directives when splitting on size, and the command
> rasplit -r argus.data -M size 100m -w argus doesn't generate any
> output either.
>
> I think Robin has the same problem too mentioned in mailing list.
>
> --
> Best Regards,
>
> CS Lee<geek00L[at]gmail.com>
More information about the argus
mailing list