- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Getting logical volumes i/o stats programatica...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2008 01:52 PM
тАО06-10-2008 01:52 PM
Getting logical volumes i/o stats programatically
I am working on hp pa-risc system and i need the following information:
1. How to get information for logical volume i/o stats? the blocks/pages/bytes read or written to them i.e the amount of i/o done.
2. Also how can i know that a logical volume belongs to a certain physical disk through api?
Just like in solaris i have the information like this
In solaris
sd0 - disk
sd0,a - Partition
sd0,b - partition
sd31 - disk
sd31,a - partition
Can i get it this way in hp ux as well?
Regards,
rui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2008 02:21 PM
тАО06-10-2008 02:21 PM
Re: Getting logical volumes i/o stats programatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2008 02:24 PM
тАО06-10-2008 02:24 PM
Re: Getting logical volumes i/o stats programatically
2. There are no hard partitions in HP-UX. They made a comeback in 11.31 but that's only to accomodate the EFI multi OS booting. HP-UX uses LVM as the disk management system. To find out which hard disk each volume resides, use the "lvdisplay -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2008 09:52 PM
тАО06-10-2008 09:52 PM
Re: Getting logical volumes i/o stats programatically
See man vxstat.
To just see the physical layout (e.g. disks aka PVs involved, spread of PEs, allocation etc.) you can use the regular LVM commands like vgdisplay, pvdisplay, lvdisplay.
All understand the verbose switch -v to see lots of detail.
Please, look at the respective manpages for explanations of output etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2008 09:56 PM
тАО06-10-2008 09:56 PM
Re: Getting logical volumes i/o stats programatically
since vxstat only applies to VxVM managed disks instead of LVM.