Sponsored Content
Full Discussion: Ls -al / du
Top Forums Shell Programming and Scripting Ls -al / du Post 302927894 by reid on Sunday 7th of December 2014 01:18:09 AM
Old 12-07-2014
Another option. I don't know if this works with AIX, but

Code:
du -sh $(find /opt -type f -size +10M) | sort -nr

produces these results (files larger than 10MB):
Code:
 59M	/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports.tar
 26M	/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base.tar
 11M	/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/PortIndex

 
soladdapp(1M)						  System Administration Commands					     soladdapp(1M)

NAME
soladdapp - add an application to the Solstice application registry SYNOPSIS
/usr/snadm/bin/soladdapp [-r registry] -n name -i icon -e executable [args] DESCRIPTION
soladdapp adds an application to the Solstice application registry. After it is added, the application is displayed in the Solstice Launcher main window (see solstice(1M)). OPTIONS
-r registry Define the full path name of the Solstice registry file. -n name Define the name of the tool to be registered. -i icon Define the full path name of the tool icon. -e executable Define the full path name of the tool. args Specify any arguments to use with the tool. When executed without options, soladdapp uses /opt/SUNWadm/etc/.solstice_registry (the default registry path). RETURN VALUES
0 on success 1 on failure 2 if the registry is locked 3 if the entry is a duplicate. EXAMPLES
Example 1 A sample display of the soladdapp command. The following adds an application called Disk Manager to the Solstice application registry for display in the Solstice Launcher main win- dow. # soladdapp -r /opt/SUNWadm/etc/.solstice_registry -n "Disk Manager" -i /opt/SUNWdsk/etc/diskmgr.xpm -e /opt/SUNWdsk/bin/diskmgr FILES
/opt/SUNWadm/etc/.solstice_registry The default registry path. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsadml | +-----------------------------+-----------------------------+ SEE ALSO
soldelapp(1M), solstice(1M), attributes(5) NOTES
Globally registered applications are used by local and remote users sharing the software in a particular /opt directory. They can be added only using soladdapp. SunOS 5.11 15 Sep 1995 soladdapp(1M)
All times are GMT -4. The time now is 11:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy