01-05-2012
That won't be the sum of the file sizes, though. That will be disk used. As in, sum of sector sizes, which may be larger or smaller than the actual file length depending on how it's stored.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I am trying to create a command string that makes use of the du or df utilities to show block count in kilobytes (1024 bytes) instead of multiples of 512 bytes, any suggestions? Thanks..... (3 Replies)
Discussion started by: klannon
3 Replies
2. HP-UX
I want to record one application's(like oracle etc...) CPU usage summary.
I can filter by "ps". But how to sum?
Thanks (1 Reply)
Discussion started by: jiarong.lu
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
Please help me out
1) Command to find the disk usage in GB. I know that du -k will give in kilobites.
2) How to find the Biggest file/folder in a given set of files/folders.
Thanks in advance
Regards,
Manas (8 Replies)
Discussion started by: manas6
8 Replies
4. Shell Programming and Scripting
Hi,
I'm posting my question here as I fele that what I am about to try to do must have been done already, and I don't want to re-invent the wheel.
I have recently become responsible for monitoring disk space usage for a large file system.
I would like to geenrate reports that will summise... (8 Replies)
Discussion started by: littleIdiot
8 Replies
5. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
6. Shell Programming and Scripting
Hi,
When running top on linux redhat machine , i see that i have 16gb of memory
in my machine and about 14.5gb of memory are in use:
Mem: 16395780k total, 14970960k used, 1424820k free, 370264k buffers
Swap: 4192956k total, 25824k used, 4167132k free, 12029400k cached
How can i... (3 Replies)
Discussion started by: yoavbe
3 Replies
7. Shell Programming and Scripting
Hi all i got a script up but i cant add up the summary report.. keep having synax error . mind helping me to take a look and tell me what went wrong..
i know is a bit long but i hope someone can hep me with it. thanks
the error message come up when i try to run the sumary report..
i guess... (16 Replies)
Discussion started by: xiaojesus
16 Replies
8. UNIX for Advanced & Expert Users
Hi..
What is the command to check total disk usage for specific directory in MG/GB/Byte ?
As example i want to check disk usage for directory pproc ?
Please help me..
Thank you,
Baharin (3 Replies)
Discussion started by: bh_hensem
3 Replies
9. UNIX for Dummies Questions & Answers
How to determine the total percentage cpu usage of a server having 4 cpu cores(quad core)? (3 Replies)
Discussion started by: proactiveaditya
3 Replies
10. Solaris
hi, i am using solaris server. I want to find the total CPU usage on a server. Top command will give that result, but here that command is not working. So anyone can help me to find the total CPU usage. (2 Replies)
Discussion started by: Arasu123
2 Replies
DISKPART(8) System Manager's Manual DISKPART(8)
NAME
diskpart - calculate default disk partition sizes
SYNOPSIS
/usr/sbin/diskpart [ -p ] [ -d ] disk-type
DESCRIPTION
Diskpart is used to calculate the disk partition sizes based on the default rules used at Berkeley. If the -p option is supplied, tables
suitable for inclusion in a device driver are produced. If the -d option is supplied, an entry suitable for inclusion in the disk descrip-
tion file /etc/disktab is generated; c.f. disktab(5). On disks that use bad144-style bad-sector forwarding, space is left in the last
partition on the disk for a bad sector forwarding table. The space reserved is one track for the replicated copies of the table and suffi-
cient tracks to hold a pool of 126 sectors to which bad sectors are mapped. For more information, see bad144(8).
The disk partition sizes are based on the total amount of space on the disk as given in the table below (all values are supplied in units
of 512 byte sectors). The `c' partition is, by convention, used to access the entire physical disk. The device driver tables include the
space reserved for the bad sector forwarding table in the `c' partition; those used in the disktab and default formats exclude reserved
tracks. In normal operation, either the `g' partition is used, or the `d', `e', and `f' partitions are used. The `g' and `f' partitions
are variable-sized, occupying whatever space remains after allocation of the fixed sized partitions. If the disk is smaller than 20
Megabytes, then diskpart aborts with the message ``disk too small, calculate by hand''.
Partition 20-60 MB 61-205 MB 206-355 MB 356+ MB
a 15884 15884 15884 15884
b 10032 33440 33440 66880
d 15884 15884 15884 15884
e unused 55936 55936 307200
h unused unused 291346 291346
If an unknown disk type is specified, diskpart will prompt for the required disk geometry information.
SEE ALSO
disktab(5), bad144(8)
BUGS
Certain default partition sizes are based on historical artifacts (e.g. RP06), and may result in unsatisfactory layouts.
When using the -d flag, alternate disk names are not included in the output.
4th Berkeley Distribution November 17, 1996 DISKPART(8)