diff options
author | cth <none@none> | 2006-10-12 10:18:45 -0700 |
---|---|---|
committer | cth <none@none> | 2006-10-12 10:18:45 -0700 |
commit | 37fbbce5257519d600faa3d23d464b42b71c1605 (patch) | |
tree | c0f2a50b50b97964740ab5a7586f74bd87560678 /usr/src/cmd/stat/common/dsr.h | |
parent | 2bc4236aac4fe3a3ba80139bc39ee9f1e356ab55 (diff) | |
download | illumos-gate-37fbbce5257519d600faa3d23d464b42b71c1605.tar.gz |
PSARC 2005/574 MPxIO iostat improvements
4261677 iostat -x shows extra output
6316660 device name gets truncated after 9 chars with iostat -xX option.
6318308 extend support in mpxio and iostat to show I/T/L based path stats
Diffstat (limited to 'usr/src/cmd/stat/common/dsr.h')
-rw-r--r-- | usr/src/cmd/stat/common/dsr.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/usr/src/cmd/stat/common/dsr.h b/usr/src/cmd/stat/common/dsr.h index 96757e68a8..d91244dfd5 100644 --- a/usr/src/cmd/stat/common/dsr.h +++ b/usr/src/cmd/stat/common/dsr.h @@ -36,13 +36,10 @@ extern "C" { * Description of each device identified */ typedef struct list_of_disks { - char *dtype; /* device type: sd, ssd, md, st, etc. */ - int dnum; /* device number */ + char *ks_name; /* untranslated kstat name */ char *dsk; /* in form of cNtNdN */ char *dname; /* in form of /dev/dsk/cNtNdN */ char *devidstr; /* in form of "id1,sd@XXXX" */ - uint_t flags; /* see SLICES_OK and PARTITIONS_OK above */ - uint_t seen; /* Used for diffing disk lists */ struct list_of_disks *next; /* link to next one */ } disk_list_t; @@ -57,15 +54,6 @@ typedef struct mnt_info { struct mnt_info *next; } mnt_t; -/* - * The following are used to control treatment of kstat names - * which fall beyond the number of disk partitions allowed on - * the particular ISA. PARTITIONS_OK is set only on an Intel - * system. - */ -#define SLICES_OK 1 -#define PARTITIONS_OK 2 - void do_mnttab(void); mnt_t *lookup_mntent_byname(char *); disk_list_t *lookup_ks_name(char *, int); |