05-04-2006
How to find the total size of a dirctory tree in Solaris
Hi,
I want to find the total size of some directory trees in my solaris 9 machine.
Is there a command or utility I can use to do it. Please let me know if there is
any way.
Thanks
Akheel
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello there,
I have a very basic question. It is so simple to find out all the information about system in windows environment. But I do not see any easy way to find it out in my Unix (Solaris 8) box.
All I want to find out how much RAM I have in my solaris 8 box.
Is there any command?
... (3 Replies)
Discussion started by: malikabid
3 Replies
2. Solaris
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies
3. Solaris
How do i find the MTU size on solaris, which file to look into.
Please help I'm a newbie to administration. (1 Reply)
Discussion started by: ramky79
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I'm newbie to Unix. I'd like to count the total size of those files in my directory by date. For example, files on this period 05/01/08 - 05/31/08. If possible can we count by byte instead of kb.
if I use $ du - ks , it will add up all files in the dir.
thanks,
Helen (5 Replies)
Discussion started by: helen008
5 Replies
5. Solaris
Guys,
How to find memory size on solaris zone? We have total 16 GB and have 3 zone, but not sure how to find memory size for each zone? Please help. (1 Reply)
Discussion started by: mokkan
1 Replies
6. Solaris
Friends,
I have an 80 GB HDD, but I wish to know if there is a direct command in Solaris 10 to find out the size of my hard disk (similar to fdisk -l in Linux).
Thank you
saagar (3 Replies)
Discussion started by: saagar
3 Replies
7. Shell Programming and Scripting
Hi All,
I am writing a script in which i need find the total size of all the directories that are present in a directory which are owned by a particular user.
I will explain in details
i have a dir DIR1 in which i have 5 dir's DIRA DIRB DIRC DIRD DIRE.
DIRA DIRC DIRE are owned by "eswar" i... (2 Replies)
Discussion started by: firestar
2 Replies
8. Shell Programming and Scripting
Hello :
I need some help in writing a ksh script which will find a particular directory in all the file systems in a server and finally report the total size of the direcotry in all the file systems.
Some thing like this..
find /u*/app/oracle -type d -name "product" -prune
and then... (1 Reply)
Discussion started by: Sam1974
1 Replies
9. Solaris
If I have a number of files in a directory, for example,
test.1
test.2
test.3
abc.1
abc.2
abc.3
and I need to find the total file size of all of the test.* files, I can use du -bc test.* in Linux.
However, in Solaris, du does not have the -c option. What can I do in Solaris to get... (11 Replies)
Discussion started by: learnix
11 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I am trying to share a directory from a Solaris 10 m/c to another Solaris 10 m/c.But I am getting an error .Please let me know if I have missed anything
On Server 1
svcsadm -v enable -r network/nfs/server
share -F nfs -o rw /mount_point
In /etc/dfs/dfstab ------ share -F nfs -o rw... (5 Replies)
Discussion started by: Rossdba
5 Replies
QUOT(8) System Manager's Manual QUOT(8)
NAME
quot - summarize filesystem ownership
SYNOPSIS
quot [ -acfguvi ] [ filesystem... ]
DESCRIPTION
quot displays the number of kilobytes in the named filesystem currently owned by each user or group. Note that this utility currently works
only for XFS.
OPTIONS
-a Generate a report for all mounted filesystems giving the number of kilobytes used by each user or group.
-c Display three columns giving file size in kilobytes, number of files of that size, and cumulative total of kilobytes in that size or
smaller file. The last row is used as an overflow bucket and is the total of all files greater than 500 kilobytes.
-f Display count of kilobytes and number of files owned by each user or group.
-g Report on groups.
-u Report on users (the default).
-v Display three columns containing the number of kilobytes not accessed in the last 30, 60, and 90 days.
-i Ignore mountpoints mounted by automounter.
-T Avoid truncation of user names longer than 8 characters.
-q Do not sort the output.
FILES
/etc/mtab mounted filesystem table
/etc/passwd default set of users
/etc/group default set of groups
SEE ALSO
du(1), ls(1).
BUGS
Currently, only the XFS filesystem type is supported.
QUOT(8)