09-14-2001
how to see disk usage in descending order
What is the command used by sysadmin to see the disk used by the users in descending order of their disk usage?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear All,
I have below attached file in which i have many nos, i want the last ascending order nos. The brief description is given below.
File
315
381
432
315
381
432
315
381
432
315
381
432
315
381
432 (6 Replies)
Discussion started by: pravani1
6 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I would like to know the command to get the files order in descending order with "FIND" command.
Appreciate your help
Thanks (4 Replies)
Discussion started by: TonySolarisAdmi
4 Replies
3. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
4. 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
5. UNIX for Dummies Questions & Answers
Hi,
I want to short descending all the files according to their size.Please help me.. (1 Reply)
Discussion started by: jyotidas
1 Replies
6. Shell Programming and Scripting
Input file
9.99331e-13
8.98451e-65
9.98418e-34
7.98319e-08
365592
111669
74942.9
0
Desired output
365592
111669
74942.9
7.98319e-08
1.99331e-13
6.98418e-34 (2 Replies)
Discussion started by: perl_beginner
2 Replies
7. Shell Programming and Scripting
hi all
i want to remove some descending order number
example :
1 100 200 135.00 Gk_wirs 1
1 100 200 136.00 Gk_wirs 50
1 110 210 138.00 Gk_wirs 60
1 100 200 136.00 Gk_wirs 57 ----> how to remove... (6 Replies)
Discussion started by: nithyanandan
6 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am trying to sort the following file in descending order of its fourth column.
2 1 363828 -2.423225e-03
3 1 363828 4.132763e-03
3 2 363828 8.150133e-03
4 1 363828 4.126890e-03
I use
sort -k4,4g -r input.txt > output.txt ... (1 Reply)
Discussion started by: evelibertine
1 Replies
9. UNIX for Beginners Questions & Answers
HI I am Trying to edit the below code to send email every day with difference of disk utilized in for last 24 hours but instead getting same usage everyday. can you please help me to point out where my calculation is going wrong. Thank you.
=================
#!/bin/bash
TODAY="at $(date... (0 Replies)
Discussion started by: Mi4304
0 Replies
10. Shell Programming and Scripting
Hi,
I have a problem . I have few directories like inpTDT_1, inpTDT_2, inpTDT_3 and so on inside HOME directory . In one of my perl script (which is in my HOME), the above directories like inpTDT_1, inpTDT_2, inpTDT_3 are sorting out in an order So I wanted to sort all the inpTDT_1, inpTDT_2,... (1 Reply)
Discussion started by: venkatesh
1 Replies
LEARN ABOUT OSF1
disklabel
disklabel(4) Kernel Interfaces Manual disklabel(4)
NAME
disklabel - Disk pack label
SYNOPSIS
#include <sys/disklabel.h>
DESCRIPTION
Each disk or disk pack on a system may contain a disk label which provides detailed information about the geometry of the disk and the par-
titions into which the disk is divided. It should be initialized when the disk is formatted, and may be changed later with the disklabel
program. This information is used by the system disk driver and by the bootstrap program to determine how to program the drive and where
to find the file systems on the disk partitions. Additional information is used by the file system in order to use the disk most effi-
ciently and to locate important file system information. The description of each partition contains an identifier for the partition type
(standard file system, swap area, etc.). The file system updates the in-core copy of the label if it contains incomplete information about
the file system.
The label is located in sector number LABELSECTOR of the drive, usually sector 0 (zero) where it may be found without any information about
the disk geometry. It is at an offset LABELOFFSET from the beginning of the sector, to allow room for the initial bootstrap. The disk
sector containing the label is normally made read-only so that it is not accidentally overwritten by pack-to-pack copies or swap opera-
tions; the DIOCWLABEL ioctl, which is done as needed by the disklabel program, allows modification of the label sector.
A copy of the in-core label for a disk can be obtained with the DIOCGDINFO ioctl; this works with a file descriptor for a block or charac-
ter (raw) device for any partition of the disk. The in-core copy of the label is set by the DIOCSDINFO ioctl. The offset of a partition
cannot generally be changed, nor made smaller while it is open. One exception is that any change is allowed if no label was found on the
disk, and the driver was able to construct only a skeletal label without partition information. Finally, the DIOCWDINFO ioctl operation
sets the in-core label and then updates the on-disk label; there must be an existing label on the disk for this operation to succeed.
Thus, the initial label for a disk or disk pack must be installed by writing to the raw disk. All of these operations are normally done
using the disklabel program.
RELATED INFORMATION
Files: disktab(4)
Commands: disklabel(8) delim off
disklabel(4)