Human-readable ls output under AIX aixls How can I get human-readable ls output under AIX? There is no -h parameter Best Answer Might I suggest ls -ls? That will provide the files sizes in KB instead of the default blocks. Ex: 36 -rw-r--r-- 1 oracle dba 33875 Feb 2 2011 step2.log 32 -rw-r--r-- 1 oracle dba 30308 Feb 2 2011 step2.sql Related SolutionsUnder AIX, how can I get the full path of a program bound to a port As recommended by IBM: use lsof -i -n and look for port XY. If you want parseable output from lsof, use the -F flag and parse the output with awk. You can get pre-compiled binaries for AIX V5. I don't know if there are pre-compiled binaries for V6; if there aren't, get the source and compile it. How to get free memory on AIX svmon e.g. # svmon size inuse free pin virtual memory 131072 114552 16520 34191 151562 pg space 655360 78472 work pers clnt other pin 30911 6 0 3274 in use 83264 31288 0 or vmstat as already shown (vmstat -v) Related QuestionLS Colors – Setting Up LS Colors with a Human-Readable Script in tcshConvert Unix timestamp into human-readable format on AIXDisplay Human-Readable File Sizes in Find Results – How to GuideAIX – How to Get File Owner Without Munging ls OutputHow to Sort Human Readable Size
Best Answer
Might I suggest
ls -ls
?That will provide the files sizes in KB instead of the default blocks.
Ex: