The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
On state processing and event processing iBot Complex Event Processing RSS News 0 01-29-2009 03:40 AM
On Event Processing Network and Transaction Processing iBot Complex Event Processing RSS News 0 10-04-2008 10:10 AM
how to extract files one by one from a directory and let some processing happen saniya Shell Programming and Scripting 5 05-19-2008 10:02 AM
Simple Event Processing != Complex Event Processing iBot Complex Event Processing RSS News 0 12-16-2007 12:10 PM
Processing files within a directory one by one skyineyes Shell Programming and Scripting 1 07-16-2007 02:44 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 06-04-2009
psimoes79 psimoes79 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 21
Processing very big directory

Hello,

I have a very big directory with lots of small files. Just doing a single "ls" takes eternity, so I even can't know how many files the directory has.

I need to get the newest files in the last 15 minutes, but I can't get an eficient way of doing it. I've tried find, perl, shell script, etc. Is there any more eficient way of doing this? Maybe avoiding reading all the files, or going to the end of the directory...

PS: Using HP-UX B.11.31 U ia64

Any help?
Thanks.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0