- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FREE SCRIPT: Basic IOPS on HP-UX servers
Operating System - HP-UX
1752618
Members
4584
Online
108788
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
03-20-2011 03:11 PM
03-20-2011 03:11 PM
FREE SCRIPT: Basic IOPS on HP-UX servers
Hello,
I found somewhere an old iops.sh script that
was written by Pablo Arnaldi. It calculated basic IO per second.
It did not work properly on HP-UX 11.31 so
I updated it and made some other modifications.
I also tried to contact Pablo Arnaldi but no
response was received yet.
The URL for my updated script:
http://www.circlingcycle.com.au/Unix-sources/HP-UX-simple-iops.sh.txt
The results would looks something like this
on a server with two active disks:
Collecting sar info. Please wait...
-------------------------------------
IO rate = 1.00 IOPS
PV = disk8
-------------------------------------
IO rate = 2.00 IOPS
PV = disk12
=====================================
CURRENT TOTAL 3 IOPS
Thu Mar 17 11:48:47 GMT 2011
myserv2
=====================================
As an alternative, if you want to use Glance
for the same things, the following process
would work:
a) Create Glance advisor script:
# cat glance.txt
REPORT "Glance Export on !SYSTEM_ID"
FORMAT ASCII
HEADINGS ON
SEPARATOR=","
SUMMARY=60
MISSING=0
DATA TYPE GLOBAL
YEAR
DATE
TIME
GBL_DISK_PHYS_READ
GBL_DISK_PHYS_READ_RATE
GBL_DISK_PHYS_WRITE
GBL_DISK_PHYS_WRITE_RATE
b) Run it. An example:
# extract -xp -r glance.txt -g -b 3/18/2011 08:15 -f myserv2.cvs
Glance Export on myserv2
, , , Phys , Phys , Phys , Phys ,
Year, Date , Time , Reads , Rd Rt , Writes , Wr Rt ,
2011,03/18/2011,08:15:00, 25, 0.0, 330, 1.1,
2011,03/18/2011,08:20:00, 28, 0.1, 299, 1.0,
2011,03/18/2011,08:25:00, 51, 0.1, 390, 1.3,
2011,03/18/2011,08:30:00, 22, 0.0, 270, 0.9,
2011,03/18/2011,08:35:00, 13, 0.0, 330, 1.1,
2011,03/18/2011,08:40:00, 24, 0.0, 330, 1.1,
2011,03/18/2011,08:45:00, 15, 0.0, 300, 1.0,
2011,03/18/2011,08:50:00, 31, 0.1, 329, 1.1,
2011,03/18/2011,08:55:00, 79, 0.3, 330, 1.1,
2011,03/18/2011,09:00:00, 55, 0.2, 330, 1.1,
2011,03/18/2011,09:05:00, 16, 0.0, 330, 1.1,
2011,03/18/2011,09:10:00, 45, 0.1, 360, 1.2,
2011,03/18/2011,09:15:00, 115, 0.4, 300, 1.0,
2011,03/18/2011,09:20:00, 349, 1.2, 360, 1.2,
Cheers,
VK2COT
I found somewhere an old iops.sh script that
was written by Pablo Arnaldi. It calculated basic IO per second.
It did not work properly on HP-UX 11.31 so
I updated it and made some other modifications.
I also tried to contact Pablo Arnaldi but no
response was received yet.
The URL for my updated script:
http://www.circlingcycle.com.au/Unix-sources/HP-UX-simple-iops.sh.txt
The results would looks something like this
on a server with two active disks:
Collecting sar info. Please wait...
-------------------------------------
IO rate = 1.00 IOPS
PV = disk8
-------------------------------------
IO rate = 2.00 IOPS
PV = disk12
=====================================
CURRENT TOTAL 3 IOPS
Thu Mar 17 11:48:47 GMT 2011
myserv2
=====================================
As an alternative, if you want to use Glance
for the same things, the following process
would work:
a) Create Glance advisor script:
# cat glance.txt
REPORT "Glance Export on !SYSTEM_ID"
FORMAT ASCII
HEADINGS ON
SEPARATOR=","
SUMMARY=60
MISSING=0
DATA TYPE GLOBAL
YEAR
DATE
TIME
GBL_DISK_PHYS_READ
GBL_DISK_PHYS_READ_RATE
GBL_DISK_PHYS_WRITE
GBL_DISK_PHYS_WRITE_RATE
b) Run it. An example:
# extract -xp -r glance.txt -g -b 3/18/2011 08:15 -f myserv2.cvs
Glance Export on myserv2
, , , Phys , Phys , Phys , Phys ,
Year, Date , Time , Reads , Rd Rt , Writes , Wr Rt ,
2011,03/18/2011,08:15:00, 25, 0.0, 330, 1.1,
2011,03/18/2011,08:20:00, 28, 0.1, 299, 1.0,
2011,03/18/2011,08:25:00, 51, 0.1, 390, 1.3,
2011,03/18/2011,08:30:00, 22, 0.0, 270, 0.9,
2011,03/18/2011,08:35:00, 13, 0.0, 330, 1.1,
2011,03/18/2011,08:40:00, 24, 0.0, 330, 1.1,
2011,03/18/2011,08:45:00, 15, 0.0, 300, 1.0,
2011,03/18/2011,08:50:00, 31, 0.1, 329, 1.1,
2011,03/18/2011,08:55:00, 79, 0.3, 330, 1.1,
2011,03/18/2011,09:00:00, 55, 0.2, 330, 1.1,
2011,03/18/2011,09:05:00, 16, 0.0, 330, 1.1,
2011,03/18/2011,09:10:00, 45, 0.1, 360, 1.2,
2011,03/18/2011,09:15:00, 115, 0.4, 300, 1.0,
2011,03/18/2011,09:20:00, 349, 1.2, 360, 1.2,
Cheers,
VK2COT
VK2COT - Dusan Baljevic
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2011 12:57 PM
03-21-2011 12:57 PM
Re: FREE SCRIPT: Basic IOPS on HP-UX servers
This was an informational message.
No replies were expected :)
VK2COT
No replies were expected :)
VK2COT
VK2COT - Dusan Baljevic
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP