_poori Posted October 20, 2012 Report Posted October 20, 2012 [quote name='SaaliPurugu' timestamp='1350704146' post='1302660985'] individual dir kavali.. danni batti sub-dir ki velli malli ade type chesukunta (unless that can be avoided) basically chala chetta undi... ekka undo gurtu ledu.. some rough estimate of sizes oste.. danni basis meeda lopalalki lopalaki velli clean up cheyali.. disk quota petti chachadu.. regular clean up cheyakapothe anni crashes ye [/quote] only konni top vi kavali ante try this: [b]du -sh * | sort -nr | head -n10[/b] this will give the top 10 biggest files in the present directory
SankaNaaku Posted October 20, 2012 Author Report Posted October 20, 2012 [quote name='_poori' timestamp='1350704649' post='1302661003'] only konni top vi kavali ante try this: [b]du -sh * | sort -nr | head -n10[/b] this will give the top 10 biggest files in the present directory [/quote] istundi but slow.. idi kuda annitlo counts vesi.. chivaraki sort chesi first 10 .. but the time taken to count all is the same..
Gachibowli_Diwakar Posted October 20, 2012 Report Posted October 20, 2012 [img]http://gifsoup.com/view7/4212802/venu-veera-o.gif[/img] sadhuvula thalli e thread lo ne unnatlundi .. free ga classes follow aipothe p[othundi .. kharchu leni pani
_poori Posted October 20, 2012 Report Posted October 20, 2012 [quote name='SaaliPurugu' timestamp='1350704788' post='1302661009'] istundi but slow.. idi kuda annitlo counts vesi.. chivaraki sort chesi first 10 .. but the time taken to count all is the same.. [/quote] try [b]ls -hs | head -n10[/b] du ki exact alternative naaku idea ledu.. df command vadochu gaani adi filesystem on a whole ki size chupistundi.. kani du okka sari run chesaka second time run cheste it will be faster since the du analysis that you run for the first time will be stored in a RAM block on the machine unless that block is used bu some other process normal ga chaala sarlu du chese vallu updatedb cron lo petti every x number of minutes ki run chestaru to keep the folder structure metadata updated.. this quickens du command a lot
Pillabacha Posted October 20, 2012 Report Posted October 20, 2012 [quote name='_poori' timestamp='1350705471' post='1302661029'] try [b]ls -hs | head -n10[/b] du ki exact alternative naaku idea ledu.. df command vadochu gaani adi filesystem on a whole ki size chupistundi.. kani du okka sari run chesaka second time run cheste it will be faster since the du analysis that you run for the first time will be stored in a RAM block on the machine unless that block is used bu some other process normal ga chaala sarlu du chese vallu updatedb cron lo petti every x number of minutes ki run chestaru to keep the folder structure metadata updated.. this quickens du command a lot [/quote]
_poori Posted October 20, 2012 Report Posted October 20, 2012 [quote name='Silence..Please' timestamp='1350705190' post='1302661020'] [img]http://gifsoup.com/view7/4212802/venu-veera-o.gif[/img] sadhuvula thalli e thread lo ne unnatlundi .. free ga classes follow aipothe p[othundi .. kharchu leni pani [/quote] [img]http://i.imgflip.com/4yih.gif[/img]
chingchang Posted October 20, 2012 Report Posted October 20, 2012 [quote name='_poori' timestamp='1350705471' post='1302661029'] try [b]ls -hs | head -n10[/b] du ki exact alternative naaku idea ledu.. df command vadochu gaani adi filesystem on a whole ki size chupistundi.. kani du okka sari run chesaka second time run cheste it will be faster since the du analysis that you run for the first time [b][color=#ff0000][size=6][font=arial, helvetica, sans-serif]will be stored in a RAM block on the machine[/font][/size][/color][/b] unless that block is used bu some other process normal ga chaala sarlu du chese vallu updatedb cron lo petti every x number of minutes ki run chestaru to keep the folder structure metadata updated.. this quickens du command a lot [/quote] Caching
Gachibowli_Diwakar Posted October 20, 2012 Report Posted October 20, 2012 [quote name='_poori' timestamp='1350705471' post='1302661029'] try [b]ls -hs | head -n10[/b] du ki exact alternative naaku idea ledu.. df command vadochu gaani adi filesystem on a whole ki size chupistundi.. kani du okka sari run chesaka second time run cheste it will be faster since the du analysis that you run for the first time will be stored in a RAM block on the machine unless that block is used bu some other process normal ga chaala sarlu du chese vallu updatedb cron lo petti every x number of minutes ki run chestaru to keep the folder structure metadata updated.. this quickens du command a lot [/quote] agreed .. du is much faster than using ls .. millions of records unnapudu .. ls work avvaledu naku when i was listing out top million files .. du worked
SankaNaaku Posted October 20, 2012 Author Report Posted October 20, 2012 [quote name='chingchang' timestamp='1350705798' post='1302661044'] Caching [/quote] Cache.. L1 or L2?
SankaNaaku Posted October 20, 2012 Author Report Posted October 20, 2012 [quote name='_poori' timestamp='1350704075' post='1302660978'] shell scripting peddaga raadu.. Perl koncham vachu kaani CGI side ekkuva idea undi rather than Unix side.. [/quote] sare matlab meeda vesukundam oka Q oka dir lo unna files anni 136 bytes.. migata konni anthakante chala peddavi.. automatic ga aa file names matlab cell array lo ki kavali
_poori Posted October 20, 2012 Report Posted October 20, 2012 [quote name='SaaliPurugu' timestamp='1350704788' post='1302661009'] istundi but slow.. idi kuda annitlo counts vesi.. chivaraki sort chesi first 10 .. but the time taken to count all is the same.. [/quote] try [b]find . -printf %k" "%f"\n" | sort -nr | head -n10 [/b] maybe koncham fast undochu..
_poori Posted October 20, 2012 Report Posted October 20, 2012 [quote name='SaaliPurugu' timestamp='1350706059' post='1302661052'] sare matlab meeda vesukundam oka Q oka dir lo unna files anni 136 bytes.. migata konni anthakante chala peddavi.. automatic ga aa file names matlab cell array lo ki kavali [/quote] matlab no idea at all
SankaNaaku Posted October 20, 2012 Author Report Posted October 20, 2012 [quote name='_poori' timestamp='1350706097' post='1302661055'] try [b]find . -printf %k" "%f"\n" | sort -nr | head -n10 [/b] maybe koncham fast undochu.. [/quote] directories ki size find toh raadu kada.. only files ki correct size cheptundi
SankaNaaku Posted October 20, 2012 Author Report Posted October 20, 2012 [quote name='_poori' timestamp='1350706162' post='1302661059'] matlab no idea at all [/quote] linux command cheppu.. dani mundu oka "system(..)" tagiliste matlab lo pani chestundi
pavan_613 Posted October 20, 2012 Report Posted October 20, 2012 [quote name='manchi_babu' timestamp='1350703693' post='1302660950'] troubleshooting antey deni meda cheyali ani. network ki netstat aney command vadataru ani telusu.. [/quote] oka server net work config and vati disk size check cheyadam .......and moreover oka raw lun data nundi data transfer to physical volumes from raw LUNs
Recommended Posts