Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • Are you looking to sort by field 2 or sort by all fields starting 2? Commented Jul 22, 2014 at 23:00
  • @1_CR I am looking to sort on field 2 Commented Jul 22, 2014 at 23:00
  • @polym the available RAM is 2 TB and file size is 150G, so decided to use 50% of the total, hoping this should be good enough. It got 32 CPUs @ 2.6 Ghz. Commented Jul 22, 2014 at 23:03
  • @1_CR Just realized that my command sorts the entire content starting from position 2 and that's why it is slower. I have reduced the buffer size to 200G and trying it. Commented Jul 22, 2014 at 23:13
  • you may also want to play around with --parallel option seeing the number of processors at your disposal Commented Jul 23, 2014 at 0:13