what is the command for finding the higest memory occupied
file in linux?
Answers were Sorted based on User's Feedback
Answer / lokesh reddy
Top command will show the memory occupied by a file.When top
is showing the output press shift+m to show the file or
process which is using larger memory.
| Is This Answer Correct ? | 50 Yes | 3 No |
Answer / vijay kumar
ls -ltr is the command
or we can use ls -ll also
| Is This Answer Correct ? | 3 Yes | 5 No |
Friends, you all aware of that, Linux will be storing all tasks including drivers in file format. Here we can assume that, Mr. Rudra85 asking that, what is the command to use to know the heist memory utilizing process?
Mr. Rudra85, if my assumption is correct then the answer is below.
# ps –aux
Then press ‘Shft+m’ to sort out the memory column ascending order
NOTE: Press ‘h’ key from your keyboard to know more about the command keys
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / s.subramanian@ hcl chennai
ps -auxf | sort -nr -k 4 | head -1
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / rallapalli
In which directory u want to search enter into the dir and
run like below
#du -sh * | sort -nr | head -1
| Is This Answer Correct ? | 1 Yes | 9 No |
Answer / shobhit
I am bit confuse about the question, If you are asking for
the space occupied by the file?
Then two Answers we have:
1.) df - Th
2.) ls -lh
| Is This Answer Correct ? | 1 Yes | 17 No |
How to add Crete a new ftp user? or How to add a exiting user into FTP ?
What is the command to check cpu speed in linux?
Explain about the command lynx?
You have a computer with 80 GB hard disk and Ubuntu 8.04 is installed on entire hard disk. Now you have to create a seprate partition for Windows OS and Install Win Xp as Dual boot. write down the steps involed along with the commands.
8 Answers Bhel, Indian Navy, Tata Steel Limited,
What are the command prompt commands?
How do you run a command for a limited time?
What does make clean command do?
what is work of dns
How do you execute more than one command or program from a single command line entry?
what is jumbi process?
Brief about the command kill PID?
script is like x=10; y=20; [$x-ne$y]; echo $ please give me output.