<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: getting process I/O by command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697941#M796489</link>
    <description>#u_print_head="PRINT_HEAD"&lt;BR /&gt;u_print_head="Y"&lt;BR /&gt;u_headers_printed=u_headers_printed&lt;BR /&gt;if u_headers_printed==0 and u_print_head=="Y" then {&lt;BR /&gt;u_max_cpu_pct=100*gbl_active_cpu&lt;BR /&gt;print "# User CPU Util Cum Disk Thd"&lt;BR /&gt;print "#Process Name PID PPID Pri Name ( ",u_max_cpu_pct|4|0,"% max) CPU IO Rate RSS Cnt"&lt;BR /&gt;print "#------------ ------ ------ --- -------- ------------ -------- --------- ------- ---"&lt;BR /&gt;u_headers_printed = 1&lt;BR /&gt;} # endif&lt;BR /&gt;#&lt;BR /&gt;print "# ",&lt;BR /&gt;gbl_statdate,&lt;BR /&gt;" ",&lt;BR /&gt;gbl_stattime,&lt;BR /&gt;" C=",&lt;BR /&gt;gbl_cpu_total_util|3|0,&lt;BR /&gt;" D=",&lt;BR /&gt;gbl_disk_util_peak|3|0,&lt;BR /&gt;" M=",&lt;BR /&gt;gbl_mem_util|3|0,&lt;BR /&gt;" S=",&lt;BR /&gt;gbl_swap_space_util|3|0&lt;BR /&gt;#&lt;BR /&gt;process loop {&lt;BR /&gt;# if proc_proc_name == "PROC_NAME" then {&lt;BR /&gt;if proc_proc_name == "java" then {&lt;BR /&gt;print proc_proc_name|13," ",&lt;BR /&gt;proc_proc_id|6," ",&lt;BR /&gt;proc_parent_proc_id|6," ",&lt;BR /&gt;proc_pri|3," ",&lt;BR /&gt;proc_user_name|8," ",&lt;BR /&gt;proc_cpu_total_util|4|1,"/",&lt;BR /&gt;proc_cpu_total_util_cum|4|1," ",&lt;BR /&gt;proc_cpu_total_time_cum|8|1," ",&lt;BR /&gt;proc_disk_phys_io_rate|4|1,"/",&lt;BR /&gt;proc_disk_phys_io_rate_cum|4|1," ",&lt;BR /&gt;proc_mem_res|7|1," ",&lt;BR /&gt;proc_thread_count|3|0&lt;BR /&gt;} # endif&lt;BR /&gt;} # end process loop&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;change the process name  and process metrics as you want.&lt;BR /&gt;&lt;BR /&gt;Execute it as follows.&lt;BR /&gt;&lt;BR /&gt;glance -adviser_only -iteratons 4 -j2 -syntax "file_name"</description>
    <pubDate>Mon, 26 Dec 2005 05:44:48 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-12-26T05:44:48Z</dc:date>
    <item>
      <title>getting process I/O by command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697931#M796479</link>
      <description>hi,&lt;BR /&gt;does anyone know wheter there is a way to receive a process I/O interupts (by I/O per seconds, or by any other way) - like glance open files menu on a process view...&lt;BR /&gt;but with command (so it will be suitable for scripting)</description>
      <pubDate>Mon, 26 Dec 2005 02:35:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697931#M796479</guid>
      <dc:creator>itai weisman</dc:creator>
      <dc:date>2005-12-26T02:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: getting process I/O by command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697932#M796480</link>
      <description>You can use "iostat".Take a look at its man page.You can get many kinds of reports with it.</description>
      <pubDate>Mon, 26 Dec 2005 03:24:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697932#M796480</guid>
      <dc:creator>Delrish</dc:creator>
      <dc:date>2005-12-26T03:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: getting process I/O by command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697933#M796481</link>
      <description>I can't used iostat to see I/O per process (only per disk).&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Dec 2005 03:45:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697933#M796481</guid>
      <dc:creator>itai weisman</dc:creator>
      <dc:date>2005-12-26T03:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: getting process I/O by command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697934#M796482</link>
      <description>I can't used iostat to see I/O per process (only per disk).&lt;BR /&gt;by the way - if you know any perl module or C function library related to this issue i'll be glad to check it too.&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Dec 2005 03:46:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697934#M796482</guid>
      <dc:creator>itai weisman</dc:creator>
      <dc:date>2005-12-26T03:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: getting process I/O by command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697935#M796483</link>
      <description>You can do that with iostat.&lt;BR /&gt;You need to have mwa/glance or PV for that.&lt;BR /&gt;These additional $ products.</description>
      <pubDate>Mon, 26 Dec 2005 04:33:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697935#M796483</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-26T04:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: getting process I/O by command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697936#M796484</link>
      <description>i have all three products.&lt;BR /&gt;how can I use iostat with that?&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Dec 2005 04:44:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697936#M796484</guid>
      <dc:creator>itai weisman</dc:creator>
      <dc:date>2005-12-26T04:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: getting process I/O by command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697937#M796485</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Check the following threads, it should be helpful to you. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=700950" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=700950&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=955044" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=955044&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Mon, 26 Dec 2005 04:51:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697937#M796485</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-26T04:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: getting process I/O by command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697938#M796486</link>
      <description>If you have mwa, you can do that as follows.&lt;BR /&gt;Prepare report file as follows. (customize /var/opt/perf/reptall&lt;BR /&gt;&lt;BR /&gt;REPORT "MWA Export !DATE !TIME Logfile: !LOGFILE !COLLECTOR !SYSTEM_ID"&lt;BR /&gt;FORMAT ASCII&lt;BR /&gt;HEADINGS ON&lt;BR /&gt;SEPARATOR="|"&lt;BR /&gt;SUMMARY=60&lt;BR /&gt;MISSING=0&lt;BR /&gt;&lt;BR /&gt;DATA TYPE PROCESS&lt;BR /&gt;&lt;BR /&gt;BLANK&lt;BR /&gt;RECORD_TYPE&lt;BR /&gt;DATE&lt;BR /&gt;TIME&lt;BR /&gt;YEAR&lt;BR /&gt;DAY&lt;BR /&gt;&lt;BR /&gt;PROC_PROC_ID&lt;BR /&gt;PROC_PROC_NAME&lt;BR /&gt;PROC_USER_NAME&lt;BR /&gt;&lt;BR /&gt;PROC_DISK_PHYS_IO_RATE&lt;BR /&gt;PROC_DISK_PHYS_IO&lt;BR /&gt;&lt;BR /&gt;there are many metrics available and you can choose what you want.&lt;BR /&gt;Then you can do extract command as follows.&lt;BR /&gt;&lt;BR /&gt;extract -xp -v -gapkdztncuyGADZTNUY -r "rep_file_prepared_above" -f out_put_file -b 12/22/2005 00:00am -e 12/23/2005 01:00am&lt;BR /&gt;&lt;BR /&gt;-b and -e are begining and end dates.</description>
      <pubDate>Mon, 26 Dec 2005 05:09:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697938#M796486</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-26T05:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: getting process I/O by command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697939#M796487</link>
      <description>I need it to be online, so I would be able to track a data migration status i'm doing...&lt;BR /&gt;It should be up to date - I/O per process per minute.... &lt;BR /&gt;to be able to compare the I/O rate at the moment and at the moment before...&lt;BR /&gt;it's not a report, more like monitoring a process by I/O rate.&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Dec 2005 05:18:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697939#M796487</guid>
      <dc:creator>itai weisman</dc:creator>
      <dc:date>2005-12-26T05:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: getting process I/O by command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697940#M796488</link>
      <description>#u_print_head="PRINT_HEAD"&lt;BR /&gt;u_print_head="Y"&lt;BR /&gt;u_headers_printed=u_headers_printed&lt;BR /&gt;if u_headers_printed==0 and u_print_head=="Y" then {&lt;BR /&gt;u_max_cpu_pct=100*gbl_active_cpu&lt;BR /&gt;print "# User CPU Util Cum Disk Thd"&lt;BR /&gt;print "#Process Name PID PPID Pri Name ( ",u_max_cpu_pct|4|0,"% max) CPU IO Rate RSS Cnt"&lt;BR /&gt;print "#------------ ------ ------ --- -------- ------------ -------- --------- ------- ---"&lt;BR /&gt;u_headers_printed = 1&lt;BR /&gt;} # endif&lt;BR /&gt;#&lt;BR /&gt;print "# ",&lt;BR /&gt;gbl_statdate,&lt;BR /&gt;" ",&lt;BR /&gt;gbl_stattime,&lt;BR /&gt;" C=",&lt;BR /&gt;gbl_cpu_total_util|3|0,&lt;BR /&gt;" D=",&lt;BR /&gt;gbl_disk_util_peak|3|0,&lt;BR /&gt;" M=",&lt;BR /&gt;gbl_mem_util|3|0,&lt;BR /&gt;" S=",&lt;BR /&gt;gbl_swap_space_util|3|0&lt;BR /&gt;#&lt;BR /&gt;process loop {&lt;BR /&gt;# if proc_proc_name == "PROC_NAME" then {&lt;BR /&gt;if proc_proc_name == "java" then {&lt;BR /&gt;print proc_proc_name|13," ",&lt;BR /&gt;proc_proc_id|6," ",&lt;BR /&gt;proc_parent_proc_id|6," ",&lt;BR /&gt;proc_pri|3," ",&lt;BR /&gt;proc_user_name|8," ",&lt;BR /&gt;proc_cpu_total_util|4|1,"/",&lt;BR /&gt;proc_cpu_total_util_cum|4|1," ",&lt;BR /&gt;proc_cpu_total_time_cum|8|1," ",&lt;BR /&gt;proc_disk_phys_io_rate|4|1,"/",&lt;BR /&gt;proc_disk_phys_io_rate_cum|4|1," ",&lt;BR /&gt;proc_mem_res|7|1," ",&lt;BR /&gt;proc_thread_count|3|0&lt;BR /&gt;} # endif&lt;BR /&gt;} # end process loop&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;change the process name  and process metrics as you want.</description>
      <pubDate>Mon, 26 Dec 2005 05:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697940#M796488</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-26T05:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: getting process I/O by command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697941#M796489</link>
      <description>#u_print_head="PRINT_HEAD"&lt;BR /&gt;u_print_head="Y"&lt;BR /&gt;u_headers_printed=u_headers_printed&lt;BR /&gt;if u_headers_printed==0 and u_print_head=="Y" then {&lt;BR /&gt;u_max_cpu_pct=100*gbl_active_cpu&lt;BR /&gt;print "# User CPU Util Cum Disk Thd"&lt;BR /&gt;print "#Process Name PID PPID Pri Name ( ",u_max_cpu_pct|4|0,"% max) CPU IO Rate RSS Cnt"&lt;BR /&gt;print "#------------ ------ ------ --- -------- ------------ -------- --------- ------- ---"&lt;BR /&gt;u_headers_printed = 1&lt;BR /&gt;} # endif&lt;BR /&gt;#&lt;BR /&gt;print "# ",&lt;BR /&gt;gbl_statdate,&lt;BR /&gt;" ",&lt;BR /&gt;gbl_stattime,&lt;BR /&gt;" C=",&lt;BR /&gt;gbl_cpu_total_util|3|0,&lt;BR /&gt;" D=",&lt;BR /&gt;gbl_disk_util_peak|3|0,&lt;BR /&gt;" M=",&lt;BR /&gt;gbl_mem_util|3|0,&lt;BR /&gt;" S=",&lt;BR /&gt;gbl_swap_space_util|3|0&lt;BR /&gt;#&lt;BR /&gt;process loop {&lt;BR /&gt;# if proc_proc_name == "PROC_NAME" then {&lt;BR /&gt;if proc_proc_name == "java" then {&lt;BR /&gt;print proc_proc_name|13," ",&lt;BR /&gt;proc_proc_id|6," ",&lt;BR /&gt;proc_parent_proc_id|6," ",&lt;BR /&gt;proc_pri|3," ",&lt;BR /&gt;proc_user_name|8," ",&lt;BR /&gt;proc_cpu_total_util|4|1,"/",&lt;BR /&gt;proc_cpu_total_util_cum|4|1," ",&lt;BR /&gt;proc_cpu_total_time_cum|8|1," ",&lt;BR /&gt;proc_disk_phys_io_rate|4|1,"/",&lt;BR /&gt;proc_disk_phys_io_rate_cum|4|1," ",&lt;BR /&gt;proc_mem_res|7|1," ",&lt;BR /&gt;proc_thread_count|3|0&lt;BR /&gt;} # endif&lt;BR /&gt;} # end process loop&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;change the process name  and process metrics as you want.&lt;BR /&gt;&lt;BR /&gt;Execute it as follows.&lt;BR /&gt;&lt;BR /&gt;glance -adviser_only -iteratons 4 -j2 -syntax "file_name"</description>
      <pubDate>Mon, 26 Dec 2005 05:44:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-process-i-o-by-command/m-p/3697941#M796489</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-26T05:44:48Z</dc:date>
    </item>
  </channel>
</rss>

