How to display large file in Solaris?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to display large file in Solaris?
# 1  
Old 04-28-2014
How to display large file in Solaris?

Hi

i want to see file in solaris which are eating space.

like we have a
Code:
 listfiles

command in AIX which show all the files in decreading order of the size .

example of listfile command in this command i am able to all the huge file in root directory. do we have any similar command in solaris

Code:
 
listfiles / | pg
-r-xr-xr-x    1 root     system      2256294 Jul 26 2010  /sbin/helpers/jfs2/logredo64
-r-xr-xr-x    1 root     system      2080546 Jul 26 2010  /sbin/helpers/jfs2/logredo
-rw-rw-r--    1 root     system      1478402 Oct 12 2011  /etc/trcfmt
-r-xr-xr-x    1 root     system      1303418 Jul 26

Scriptor
# 2  
Old 04-28-2014
try

Code:
du -k * | sort -n

Top 10 largest files

Code:
du -k * | sort -n | tail -10

 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Parsing large files in Solaris 11

I have a 1.2G file that contains no newline characters. This is essentially a log file with each entry being exactly 78bits long. The basic format is /DATE/USER/MISC/. The single uniform thing about the file is that that the 8 character is always ":" I worked with smaller files of the same... (8 Replies)
Discussion started by: os2mac
8 Replies

2. Shell Programming and Scripting

Grep to display file name along with content in Solaris

Am using the following grep to match a particular patter in grep. grep xyz abc.txt now while i run this command, if the pattern matched, am getting the line containing xyz Output: xyz is doing some work Now if i want the file name also along with my output, what should i do Expected... (2 Replies)
Discussion started by: rituparna_gupta
2 Replies

3. Red Hat

not large enough to display the application in red hat linux x win desktop

I use red hat linux es 5 I use startx to start the x-win desktop. But when I use vritual manager . The display application is too large so the bottom part for the application cannot show out. I cannot scroll down to get the display of bottm part . So, I do not know what button display at the... (0 Replies)
Discussion started by: chuikingman
0 Replies

4. Solaris

Need help with configuring large packet size on Solaris 7 / e6500

Greetings, I'm stuck in a time warp using ancient machines from the prehistoric era that should be rightfully displayed in the Smithsonian. We're running Solaris 7 on FDDI n/w on an E6500 host and wish to use MTU (packet size) > 1500, more like 3072 bytes to begin with and possibly up to 4096... (9 Replies)
Discussion started by: sharique
9 Replies

5. UNIX for Advanced & Expert Users

Need help with configuring large packet size on Solaris 7 / e6500

We're running Solaris 7 on FDDI n/w on an E6500 host and wish to use MTU (packet size) > 1500, more like 3072 bytes to begin with and possibly up to 4096 bytes. Linux has /etc/network/interfaces. Does ANYONE remember the equivalent in Unix? When I do ifconfig eth0 mtu 4000, I get the error... (0 Replies)
Discussion started by: sharique
0 Replies

6. UNIX for Dummies Questions & Answers

Solaris 10 - DISPLAY

Hello Im having problems on re-directing the graphics from my Solaris to my PC. I can connect using reflections and get to the Solaris desktop, however, when I login and set the DISPLAY, I cannot get the screen to my PC. I run the below as root DISPLAY=192.168.0.7:0.0 ; export DISPLAY... (0 Replies)
Discussion started by: deedaz
0 Replies

7. UNIX for Dummies Questions & Answers

display large files

I'm looking to display the largest files in a file system without descending into subdirectories. The / file system is 65% full and I'm looking to display only the files in / without taking into consideration other filesystem/directories. I can execute this command du -sk ./* |sort -nr... (2 Replies)
Discussion started by: Steelysteel
2 Replies

8. Solaris

display wwpn on Solaris 2.6

Does anyone know how to find the wwpn? I have 2 dual-port hba card, having hard time finding wwpn through command lines. prtpicl isnt available - what are other commands to try? (1 Reply)
Discussion started by: kiem
1 Replies

9. Solaris

X-SERVER will not display on Solaris 8

Hi, I just installed Solaris 8 (x86) on a PC and I cannot get the X-Server configured: Below is a copy of Xerrors: X_mkdir: No such file or directory X_mkdir: No such file or directory There is no XDISPLAY information for display 0. Check the OWconfig file(s) and try again. Fatal... (2 Replies)
Discussion started by: annointed3
2 Replies
Login or Register to Ask a Question