Re: oldest file in a filesystem

From: Taylor, David (DTaylor_at_WBMI.COM)
Date: 04/29/04

  • Next message: Ayman Rayyan: "Java to ingress string code"
    Date:         Thu, 29 Apr 2004 09:59:47 -0500
    To: aix-l@Princeton.EDU
    
    

    Both of these suggestions only sort, by age, at the directory-level.
    This file-system has ~2000 directories in it. I need to find the oldest
    file in the entire file-system.

    David

     

     

     

     

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Renison, Rick
    Sent: Thursday, April 29, 2004 9:20 AM
    To: aix-l@Princeton.EDU
    Subject: Re: oldest file in a filesystem

     

    ls -Rrlt /fs | head

     

    works really fast.

     

    Rick Renison, EDS Canada, DuSC, Oshawa, Ontario
    There's no place like 127.0.0.1
    * mailto:rick.renison@eds.com

            -----Original Message-----
            From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On
    Behalf Of Taylor, David
            Sent: April 29, 2004 9:53 AM
            To: aix-l@Princeton.EDU
            Subject: oldest file in a filesystem

            Hi *

             

            I am trying to trouble-shoot a problem with cache-corruption on
    an imaging system. It would be very helpful if I could locate the
    oldest file (modified or created) in that cache. Does anyone know of a
    script that would do this? The cache is about 35GB in size and the
    average file size is ~ 100K.

             

            The corruption is definitely application-related. We would just
    like to pinpoint the point in time that it began in order to discover
    the root cause.

             

            TIA

             

            David Taylor

             

            
            
            
    **********************************************************************
            This email and any files transmitted with it are confidential
    and
            intended solely for the use of the individual or entity to whom
    they
            are addressed. If you have received this email in error please
    notify
            the system manager.
            
            This footnote also confirms that this email message has been
    swept by
            MIMEsweeper for the presence of computer viruses.
            
            www.mimesweeper.com
            
    **********************************************************************

    **********************************************************************
    This email and any files transmitted with it are confidential and
    intended solely for the use of the individual or entity to whom they
    are addressed. If you have received this email in error please notify
    the system manager.

    This footnote also confirms that this email message has been swept by
    MIMEsweeper for the presence of computer viruses.

    www.mimesweeper.com
    **********************************************************************


  • Next message: Ayman Rayyan: "Java to ingress string code"