It is the find command, which is available in every Unix/Linux. Please try it out. You can get additional help using the command man find. If it doesn't work out, do not hesitate to ask here again.
Perhaps using find, think of listing out files by bytes rather than Mb or Gb you get with ls -lh and then sorting on the size column.
You might also consider using the du command something like this to find directories containing lots of data (potentially many small files or one huge one) from the current directory down, but not crossing into sub-mounted filesystems:-
Show us how you get on and illustrate with your code and sample output if it's not working for you.
For example, a find command that I have often used:
show all files in the file system mounted on / that are bigger than 10000 blocks (5000 kilobytes) and modified since less than 7 days
Run ls -ld on each of them
A command that gives a quick overview of the file systems
This User Gave Thanks to MadeInGermany For This Post:
I am middle of writing health check scripts, can you pls share commands on how I can get cpu and Mem of top consuming process info at the moment?
Also can u suggest ideas on what all I can look for as a part do health check on red hat Linux server?
I searched on site before posting, but... (2 Replies)
Hello
There are options / commands to check which process is consuming maximum memory
However is there any command/mechanism which will tell us which process was consuming maximum memory in specific time interval in the past?
I heard nmon report can help in this regard.
is there any... (5 Replies)
Hi All,
I have written a script to check the file system usage and to delete the files which is consuming more space.Please check whether the script is corrcet
#Script Starts here
#!/usr/local/bin/perl
#Program to find the disk space and to delete the older files
#Checks the type of OS... (8 Replies)
Hi
i want to know if many users are logging in system then how would i know that how much space in system i am consuming..
Thanks
Vijay sahu (4 Replies)
Hi all,
We have a server having much processes running. It is very difficuilt to trace the exact consuming more memory. Howerver, it shows CPU usage in sequence but how memory?
Tried working with TOP command.
Please let me know if something not clear.
Thanks,
Deepak (5 Replies)
Hello,
Can anybody please tell me the command to find out the filesystem or a file which is consuming larger disk space sing i want to find out the file and want to compress it
please help me out
any help would be appreciated (6 Replies)
Hi
How do i check which thread is consuming much time ?
In my process it is tacking much %CPU so i want to check whick thread tacking much time?
Any suggestion highly appriciated.
I am using HP-UX B.11.31 U ia64
Regards,
Ashok (5 Replies)
Hello
when I try to run rm on multiple files I have problem to delete files with space.
I have this command :
find . -name "*.cmd" | xargs \rm -f
it doing the work fine but when it comes across files with spaces like : "my foo file.cmd"
it refuse to delete it
why? (1 Reply)