Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to display large file in Solaris? Post 302899238 by scriptor on Monday 28th of April 2014 06:42:14 AM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
PIVOT_ROOT(8)						       System Administration						     PIVOT_ROOT(8)

NAME
pivot_root - change the root filesystem SYNOPSIS
pivot_root new_root put_old DESCRIPTION
pivot_root moves the root file system of the current process to the directory put_old and makes new_root the new root file system. Since pivot_root(8) simply calls pivot_root(2), we refer to the man page of the latter for further details. Note that, depending on the implementation of pivot_root, root and cwd of the caller may or may not change. The following is a sequence for invoking pivot_root that works in either case, assuming that pivot_root and chroot are in the current PATH: cd new_root pivot_root . put_old exec chroot . command Note that chroot must be available under the old root and under the new root, because pivot_root may or may not have implicitly changed the root directory of the shell. Note that exec chroot changes the running executable, which is necessary if the old root directory should be unmounted afterwards. Also note that standard input, output, and error may still point to a device on the old root file system, keeping it busy. They can easily be changed when invoking chroot (see below; note the absence of leading slashes to make it work whether pivot_root has changed the shell's root or not). OPTIONS
-V, --version Output version information and exit. -h, --help Display help and exit. EXAMPLES
Change the root file system to /dev/hda1 from an interactive shell: mount /dev/hda1 /new-root cd /new-root pivot_root . old-root exec chroot . sh <dev/console >dev/console 2>&1 umount /old-root Mount the new root file system over NFS from 10.0.0.1:/my_root and run init: ifconfig lo 127.0.0.1 up # for portmap # configure Ethernet or such portmap # for lockd (implicitly started by mount) mount -o ro 10.0.0.1:/my_root /mnt killall portmap # portmap keeps old root busy cd /mnt pivot_root . old_root exec chroot . sh -c 'umount /old_root; exec /sbin/init' <dev/console >dev/console 2>&1 SEE ALSO
chroot(1), mount(8), pivot_root(2), switch_root(8), umount(8) AVAILABILITY
The pivot_root command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux August 2011 PIVOT_ROOT(8)
All times are GMT -4. The time now is 05:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy