How to sort a file of size 2N bytes, if I have N bytes of memory?
Answers were Sorted based on User's Feedback
Answer / naggy
In sorting huge files, the most useful options for GNU sort
are "-S size" and "-T tmp_dir". The first option specify the
largest memory sort should use. Sort is more efficient with
larger memory. The second option indicates the temporary
directory used by sort. It is helpful if there is not enough
disk space in the "/tmp" partition.
-S, --buffer-size=SIZE
use SIZE for main memory buffer
| Is This Answer Correct ? | 0 Yes | 0 No |
This question is belong to linux support. "one of my customer told to me, my application is getting slow response". how to resolve the issue. what are the steps you will follow to resolve the issue.
Without using w command how can Iknow that who are users logged in and what they are doing and whether they are idle or running mode?
how to recollect root password
What is the other method of installing Linux O.S other than Text, GUI mode? Why we prefer that for installation of Linux in Real time?
What is the minimum number of partitions you need to install Linux?
What is the difference between semaphore and spinlock?
what are acl permissions..? what is automation of jobs..?
What is the use of DNS Server? Name other servers works same as like DNS?
What utility can you use to automate rotation of logs?
I want to configure production interface and manage interface, how to configure both interfaces in Linux. please post the answers
User unable to login in server then how can u troubleshooting it? Example: server at Bangalore. in that server two users try to login in server. 1st user able to login. but second user unable to login so how can troubleshoot it ?
How to apply patch for multiple servers .