Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Parse data into large number of output files.

by tachyon (Chancellor)
on Sep 29, 2004 at 02:34 UTC ( #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
Node Status?
node history
Node Type: note [id://394827]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2020-11-30 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?