HP3000-L Archives

June 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Paveza, Gary" <[log in to unmask]>
Reply To:
Paveza, Gary
Date:
Wed, 21 Jun 2000 09:00:53 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (81 lines)
You should be able to bypass this problem by specifying each file that needs
to be greped using a find command:

find /SRCLIST/ -print | grep -i "prtccode

This type of thing often comes in handy in unix as well when using wildcards
which can cause the command line to become too long for the shell to handle.

Note that I did not test this, and typed the above from memory.
-------------------------------------------------------------
Gary L. Paveza, Jr.
Technical Services Manager
(302) 761-3173 - voice
(800) 217-5808 - pager

        -----Original Message-----
        From:   Breitfelder, Randy [SMTP:[log in to unmask]]
        Sent:   Tuesday, June 20, 2000 3:35 PM
        To:     [log in to unmask]
        Subject:        Re: [HP3000-L] sh.hpbin.sys and grep

        Larry,
         Because of a OS limitation, grep can only handle somewhere around
1024
        files. Try removing some of the files in /SCRLIST/ and you will find
your
        problem will go away.

         Hope this helps.

        Randy Breitfelder
        Nielsen Media Research


        -----Original Message-----
        From: Simonsen, Larry [mailto:[log in to unmask]]
        Sent: Tuesday, June 20, 2000 3:12 PM
        To: [log in to unmask]
        Subject: [HP3000-L] sh.hpbin.sys and grep


        I have started to receive a error when I grep for a string.  The
error is
        $ grep -i "pmtccode" ../SRCLIST/*
        **** Illegal instruction address (TRAPS 56).

        ABORT: GREP.HPBIN.SYS
        [1] + Done(139) grep -i "pmtccode" ../SRCLIST/*
          1573104    Segmentation violation  grep
        $

        any ideas about what I have done to myself?
        I check the stack information in sysgen and this is what it shows

            STACK command         parameter        MAX          MIN
CURRENT
            -----------------    -----------    ----------   ----------
----------
            DEFAULT NM STACK     nm              749998080       262144
393216
            MAXIMUM NM STACK     maxnm           749998080       262144
749998080
            DEFAULT CM STACK     cm                   4096          256
1200
            MAXIMUM CM STACK     maxcm               31232          256
31232
            DEFAULT HEAP         heap           1047527424       524288
81920000
            MAXIMUM NM HEAP      maxheap        1047527424       524288
1047527424

        -------------------------------------------------
        Larry Simonsen                Phone: 801-489-2450
        Flowserve Corporation     Fax: 801-491-1750
        PO Box 2200                    http://www.Flowserve.com
        Springville, UT 84663      e-mail: [log in to unmask]
        -------------------------------------------------
        All opinions expressed herein are my own and reflect, in no way,
those of my
        employer.

ATOM RSS1 RSS2