05-26-2014
Using Glance / gpm... or iostat but then what do you mean by utilisation? ( can also be % activity (load) you know...)
Last edited by vbe; 05-26-2014 at 02:28 PM..
Reason: forgot ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have one hard disk on my computer ( 8 Giga-bytes) and i
installed windows 98 on drive C ( I have 4 drives : C , D , E , F which drive has 2 Giga-bytes space on it )
On which drive ( from 4 drives ) I have a lot data for example : on drive D I store most of my programs which i downloaded from... (7 Replies)
Discussion started by: yoffe_adi
7 Replies
2. UNIX for Dummies Questions & Answers
Hello,
To run UNIX, can the hard disk be partitioned so I could use that part for UNIX and the other for my existing Windows '98? At the moment there are hard drives C: & D:. Also, where can I obtain the UNIX software?.....Your response is appreciated. (2 Replies)
Discussion started by: hpin
2 Replies
3. Shell Programming and Scripting
how to write bash to superuser, when the disk space dips below 10% of the total by automatically sending an email?
It is have any sample for reference (3 Replies)
Discussion started by: foong
3 Replies
4. Shell Programming and Scripting
Hi Engg. ! :mad:
I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies
5. UNIX for Dummies Questions & Answers
How can we check the number of hard disks (both internal & external) in a server, their capacity and serial number (5 Replies)
Discussion started by: muneebr
5 Replies
6. UNIX for Dummies Questions & Answers
hi guys im new here, would like to ask what is the syntax or how could i check the total allocated external disk in HP-UX???
ive check the allocated size using SAM, but in some servers the SAM hangs when checking the disk space. So i would like to know using command line.
thanks (3 Replies)
Discussion started by: gob23g
3 Replies
7. Shell Programming and Scripting
What is the command for checking all the processes running on UNIX. Alos can any one share the CPU utilization script to know what are all the processes running and what is the cpu utilization ...
thanks in advance
Perla Mohan (3 Replies)
Discussion started by: perlamohan
3 Replies
8. SCO
hi
I've a fresh installation of SCO 5.0.7 on the IDE hard disk.
For SCSI hard disk I can declare, for example blc disk driver using:
# mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies
9. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
10. AIX
Please help with command to check the busy % for a hard disk device like hdisk5
Best regards,
Vishal (7 Replies)
Discussion started by: Vishal_dba
7 Replies
hdio(7I) Ioctl Requests hdio(7I)
NAME
hdio - SMD and IPI disk control operations
SYNOPSIS
#include <sys/hdio.h>
DESCRIPTION
Note - The SMC and IPI drivers have been discontinued. dkio(7I) is now the preferred method for retrieving disk information.
The SMD and IPI disk drivers supplied with this release support a set of ioctl(2) requests for diagnostics and bad sector information.
Basic to these ioctl() requests are the definitions in <sys/hdio.h>.
IOCTLS
HDKIOCGTYPE The argument is a pointer to a hdk_type structure (described below). This ioctl() gets specific information from the hard
disk.
HDKIOCSTYPE The argument is a pointer to a hdk_type structure (described below). This ioctl() sets specific information about the hard
disk.
/*
* Used for drive info
*/
struct hdk_type {
ushort_t hdkt_hsect; /* hard sector count (read only) */
ushort_t hdkt_promrev; /* prom revision (read only) */
uchar_t hdkt_drtype; /* drive type (ctlr specific) */
uchar_t hdkt_drstat; /* drive status (ctlr specific, ro) */
};
HDKIOCGBAD The argument is a pointer to a hdk_badmap structure (described below). This ioctl() is used to get the bad sector map from
the disk.
HDKIOCSBAD The argument is a pointer to a hdk_badmap structure (described below). This ioctl() is used to set the bad sector map on
the disk.
/*
* Used for bad sector map
*/
struct hdk_badmap {
caddr_t hdkb_bufaddr; /* address of user's map buffer */
};
HDKIOCGDIAG The argument is a pointer to a hdk_diag structure (described below). This ioctl() gets the most recent command that failed
along with the sector and error number from the hard disk.
/*
* Used for disk diagnostics
*/
struct hdk_diag {
ushort_t hdkd_errcmd; /* most recent command in error */
daddr_t hdkd_errsect; /* most recent sector in error */
uchar_t hdkd_errno; /* most recent error number */
uchar_t hdkd_severe; /* severity of most recent error */
};
SEE ALSO
ioctl(2), dkio(7I)
SunOS 5.10 13 Aug 2002 hdio(7I)