{"id":35,"date":"2008-08-25T13:13:46","date_gmt":"2008-08-25T11:13:46","guid":{"rendered":"http:\/\/192.168.0.91\/?p=26"},"modified":"2008-10-25T20:03:38","modified_gmt":"2008-10-25T18:03:38","slug":"filesystem-io-monitoring-with-hp-ux-glance","status":"publish","type":"post","link":"https:\/\/www.ora-solutions.net\/web\/2008\/08\/25\/filesystem-io-monitoring-with-hp-ux-glance\/","title":{"rendered":"Filesystem IO Monitoring with HP-UX Glance"},"content":{"rendered":"<p>On HP-UX, you can use glance to collect a huge range of OS Statistics and write them in a defined time interval into a file for later analysis. A collection of available metrics is available on the system in \/opt\/perf\/paperdocs\/gp\/C\/metrics.txt or \/opt\/perf\/paperdocs\/gp\/C\/metrics.pdf.<\/p>\n<p><strong>This is an example of IO Monitoring for Filesytems:<\/strong><\/p>\n<p><strong>glance_filesystem.sh:<\/strong><\/p>\n<pre>nohup glance -aos .\/filesystem_advisor.conf -j 60 &gt; glance_output_filesystem_$$.txt 2&gt;\/dev\/null &amp;<\/pre>\n<p><strong>filesystem_advisor.conf:<\/strong><\/p>\n<blockquote><p><code>headersprinted=headersprinted<br \/>\nif headersprinted != 1 then {<br \/>\nprint \"DATE\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 TIME\u00a0\u00a0\u00a0\u00a0 FILESYSTEM\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 FIR\u00a0\u00a0\u00a0\u00a0 LIR\u00a0\u00a0\u00a0\u00a0 LRBR\u00a0\u00a0\u00a0\u00a0 LRR\u00a0\u00a0\u00a0\u00a0 LWBR\u00a0\u00a0\u00a0\u00a0\u00a0 LWR\u00a0\u00a0\u00a0\u00a0 PIR\u00a0\u00a0\u00a0\u00a0 PRBR\u00a0\u00a0\u00a0\u00a0 PRR\u00a0\u00a0\u00a0\u00a0 PWBR\u00a0\u00a0\u00a0\u00a0 PWR\"<br \/>\nheadersprinted = 1<br \/>\n}<br \/>\nfilesystem loop<br \/>\n{<br \/>\nprint GBL_STATDATE|12,\" \",<br \/>\nGBL_STATTIME|9,\" \",<br \/>\nFS_DIRNAME|24,<br \/>\nFS_FILE_IO_RATE|8,<br \/>\nFS_LOGL_IO_RATE|8,<br \/>\nFS_LOGL_READ_BYTE_RATE|9,<br \/>\nFS_LOGL_READ_RATE|8,<br \/>\nFS_LOGL_WRITE_BYTE_RATE|9,<br \/>\nFS_LOGL_WRITE_RATE|8,<br \/>\nFS_PHYS_IO_RATE|8,<br \/>\nFS_PHYS_READ_BYTE_RATE|9,<br \/>\nFS_PHYS_READ_RATE|8,<br \/>\nFS_PHYS_WRITE_BYTE_RATE|9,<br \/>\nFS_PHYS_WRITE_RATE|8<br \/>\n}<\/code><\/p><\/blockquote>\n<p>Used Metrics:<\/p>\n<p><strong>FS_FILE_IO_RATE (FIR)<\/strong><\/p>\n<p>The number of file system related physical IOs per second directed to this file system during the interval. This value is similar to the values returned by the vmstat -d command except that vmstat reports all IOs and does not break them out by file system. Also, vmstat reports IOs from the kernel&#8217;s view, which may get broken down by the disk driver into multiple physical IOs. Since this metric reports values from the disk driver&#8217;s point of view, it is more accurate than vmstat.<\/p>\n<p><strong>FS_LOGL_IO_RATE (LIR)<\/strong><\/p>\n<p>The number of logical IOs per second directed to this file system during the interval. Logical IOs are generated by calling the read() or write() system calls.<\/p>\n<p><strong>FS_LOGL_READ_BYTE_RATE (LRBR)<\/strong><\/p>\n<p>The number of logical read KBs per second from this file system during the interval.<\/p>\n<p><strong>FS_LOGL_READ_RATE (LRR)<\/strong><\/p>\n<p>The number of logical reads per second directed to this file system during the interval. Logical reads are generated by calling the read() system call.<\/p>\n<p><strong>FS_LOGL_WRITE_BYTE_RATE (LWBR)<\/strong><\/p>\n<p>The number of logical writes KBs per second to this file system during the interval.<\/p>\n<p><strong>FS_LOGL_WRITE_RATE (LWR)<\/strong><\/p>\n<p>The number of logical writes per second directed to this file system during the interval. Logical writes are generated by calling the write() system call.<\/p>\n<p><strong>FS_PHYS_IO_RATE (PIR)<\/strong><\/p>\n<p>The number of physical IOs per second directed to this file system during the interval.<\/p>\n<p><strong>FS_PHYS_READ_BYTE_RATE (PRBR)<\/strong><\/p>\n<p>The number of physical KBs per second read from this file system during the interval.<\/p>\n<p><strong>FS_PHYS_READ_RATE (PRR)<\/strong><\/p>\n<p>The number of physical reads per second directed to this file system during the interval. On Unix systems, physical reads are generated by user file access, virtual memory access (paging), file system management, or raw device access.<\/p>\n<p><strong>FS_PHYS_WRITE_BYTE_RATE (PWBR)<\/strong><\/p>\n<p>The number of physical KBs per second written to this file system during the interval.<\/p>\n<p><strong>FS_PHYS_WRITE_RATE (PWR)<\/strong><\/p>\n<p>The number of physical writes per second directed to this file system during the interval.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On HP-UX, you can use glance to collect a huge range of OS Statistics and write them in a defined time interval into a file for later analysis. A collection of available metrics is available on the system in \/opt\/perf\/paperdocs\/gp\/C\/metrics.txt or \/opt\/perf\/paperdocs\/gp\/C\/metrics.pdf. This is an example of IO Monitoring for Filesytems: glance_filesystem.sh: nohup glance -aos [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[43,12],"tags":[],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry","category-hp-ux-unix-2","category-unix"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":8,"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":423,"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/posts\/35\/revisions\/423"}],"wp:attachment":[{"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/categories?post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ora-solutions.net\/web\/wp-json\/wp\/v2\/tags?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}