what is the command for finding the higest memory occupied
file in linux?

Answers were Sorted based on User's Feedback



what is the command for finding the higest memory occupied file in linux?..

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

what is the command for finding the higest memory occupied file in linux?..

Answer / venkat mangu

#du -sh * | sort -nr

Is This Answer Correct ?    8 Yes 3 No

what is the command for finding the higest memory occupied file in linux?..

Answer / venkat

find -name "*" -size +<size in k>

for example :
find -name "*" -size +10000k

Is This Answer Correct ?    3 Yes 2 No

what is the command for finding the higest memory occupied file in linux?..

Answer / vijay kumar

ls -ltr is the command

or we can use ls -ll also

Is This Answer Correct ?    3 Yes 5 No

what is the command for finding the higest memory occupied file in linux?..

Answer / venkat palavarapu

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

what is the command for finding the higest memory occupied file in linux?..

Answer / s.subramanian@ hcl chennai

ps -auxf | sort -nr -k 4 | head -1

Is This Answer Correct ?    1 Yes 4 No

what is the command for finding the higest memory occupied file in linux?..

Answer / brijendra

ls -la

Is This Answer Correct ?    0 Yes 5 No

what is the command for finding the higest memory occupied file in linux?..

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

what is the command for finding the higest memory occupied file in linux?..

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

Post New Answer

More Linux Commands Interview Questions

Find command can search for files by

0 Answers  


How to FTP user access other directory except his own home directory ?

2 Answers   IBM,


Does cp overwrite?

0 Answers  


ls -l ls -t ls -r ls -a ls -ltr ls -u grep error file.txt grep -v error file.txt perl prg.pl | ./file.txt tee chmod +x chmod -x chmod =x ps bg date +%y%m%d ?

0 Answers   HP,


What is the syntax of mkdir?

0 Answers  






Which command is used to find what is in your home directory?

0 Answers  


my clients are getting services from servers but how to know which client is using which service. is there any files to keep information about these? clients used ftp, nis, samba, apache, squid, nfs and mail services how to know how many users got service from server side with date,time and client system ip ?

3 Answers   Wipro,


what is a command to display top 10 users who are using Huge Space?

3 Answers   IBM, TNS,


Which command is used to clear the screen?

0 Answers  


How do I run a command in linux?

0 Answers  


What is clang tidy?

0 Answers  


How many cmd commands are there?

0 Answers  


Categories