The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Tor-ramdisk 20090105 (Default branch) iBot Software Releases - RSS News 0 01-06-2009 01:50 AM
Ramdisk already defined ChicagoBlues Shell Programming and Scripting 1 12-15-2008 09:39 AM
Tor-ramdisk 20080606 (Default branch) iBot Software Releases - RSS News 0 06-11-2008 01:00 AM
how to create a ramdisk wrapster Shell Programming and Scripting 1 04-07-2008 08:01 AM
Unix ramdisk? keelba UNIX for Dummies Questions & Answers 6 12-17-2002 01:35 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 01-17-2009
ChicagoBlues ChicagoBlues is offline
Registered User
  
 

Join Date: Jan 2008
Location: Chicago
Posts: 77
Sorting in ramdisk

Hi,

I have sort command that sorts in ramdisk created by a script 'mktd' and later unmounted by script 'rmtd'. The platform is AIX.

# code
sudo -E mktd 44 # create ramdisk of size 44GB
sort ... -k1,1 -2,2 ... # sort a file using the ramdisk on keys 1 and 2
sudo -E rmtd # unmount ramdisk

The keys I am sorting are on the first and second column on a ~810 million record dataset.

The error I am getting is below. Is this a memory issue?

sort: 0653-655 Cannot open /apps/tmp/stm242374aaqxg
2009-01-17 09:17:29 EST: ERROR: Error in step sortfile at line 18: Command return code: 2

Thanks,

- CB
 

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:36 AM.


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