Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Parse data into large number of output files.

by tachyon (Chancellor)
on Sep 29, 2004 at 02:34 UTC ( [id://394827]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\tmp>perl -e "open ++$fh, '>', $fh or die qq'$fh $!\n' for 1..$ARGV[
    +0]" 512
    510
    
    [root@devel3 tmp]# perl -e 'open ++$fh, ">", $fh or die "$fh $!\n" for
    +  1..$ARGV[0]' 1024
    1022 Too many open files
    
  2. or download this
    [root@devel3 tmp]# ulimit -n 65535
    [root@devel3 tmp]# perl -e 'open ++$fh, ">", $fh or die "$fh $!\n" for
    +  1..$ARGV[0]' 2048
    [root@devel3 tmp]# ls 204?
    2040  2041  2042  2043  2044  2045  2046  2047  2048
    [root@devel3 tmp]#
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://394827]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-25 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found