<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Experts,</p>
<p><br>
</p>
<p>Is there a possible way to monitor CPU Util for the drbd resource. Actually am getting cent percent utilization even i dont have much load.
<br>
</p>
<p>Am maintaining my setup with three blocks one for Data, other for configurations and the other for logs which was logically mounted.</p>
<p><br>
</p>
<p><br>
</p>
<p></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">[root@pcpha-dev-01 ~]# iostat -x 5 | grep drbd</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">drbd0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 858980.47 0.00 0.00 99.94</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">drbd1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 101.94 0.00 0.00 99.94</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">drbd2 0.00 0.00 0.00 0.80 0.00 3.20 4.00 858935.49 0.25 1249.25 99.94</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">drbd0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 858980.46 0.00 0.00 100.00</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">drbd1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 102.00 0.00 0.00 100.00</span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">drbd2</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"> 0.00 0.00 0.00 2.80 0.00
19.20 6.86 858935.46 0.07 357.14 <span style="background:yellow;mso-highlight:yellow">
100.00</span></span></p>
</div>
<br>
<p></p>
<p></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">[<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D;background:yellow;mso-highlight:yellow">xxxx@xxxx</span>]# iostat -x -d</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">Linux 2.6.32-431.el6.x86_64 (xxxx) 10/31/2016 _x86_64_ (4 CPU)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">sda 0.00 0.86 0.01 1.67 10.96 20.22 18.50 0.00 0.73 0.41 0.07</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">dm-0 0.00 0.00 0.00 0.02 0.05 0.12 9.97 0.00 9.66 1.99 0.00</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">dm-1 0.00 0.00 0.00 0.00 0.00 0.00 8.00 0.00 2.14 0.82 0.00</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">dm-2 0.00 0.00 0.00 0.02 0.02 0.12 9.22 0.00 1.97 0.01 0.00</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">dm-3 0.00 0.00 0.00 0.78 0.00 6.23 8.00 0.00 0.48 0.21 0.02</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">dm-4 0.00 0.00 0.00 0.00 0.00 0.00 7.99 0.00 3.30 2.89 0.00</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">dm-5 0.00 0.00 0.00 0.48 0.01 3.85 8.01 0.00 0.64 0.22 0.01</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">dm-6 0.00 0.00 0.00 0.01 0.00 0.04 8.00 0.00 24.47 0.02 0.00</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">dm-7 0.00 0.00 0.01 0.03 6.50 0.21 205.25 0.00 37.54 1.13 0.00</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">dm-8 0.00 0.00 0.00 0.02 2.21 0.15 109.64 0.00 9.22 0.89 0.00</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">dm-9 0.00 0.00 0.00 1.19 2.17 9.50 9.81 0.00 0.65 0.31 0.04</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">drbd0 0.00 0.00 0.00 0.01 0.00 0.08 8.00 0.20 421.71 10481.54 10.45</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">drbd1 0.00 0.00 0.00 0.01 0.00 0.07 7.95 0.06 76.94 12030.16 10.49</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">drbd2 0.00 0.00 0.00 0.56 0.00 3.26 5.85 0.15 0.61 176.92 9.87</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D;background:yellow;mso-highlight:yellow">[xxxx@xxxx]# iostat -x 5 /dev/vg1/lvdblog</span><span style="font-size:11.0pt;font-family:
"Calibri","sans-serif";color:#1F497D"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">Linux 2.6.32-431.el6.x86_64 (xxxx) 10/31/2016 _x86_64_ (4 CPU)</span><br>
</p>
<br>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">avg-cpu: %user %nice %system %iowait %steal %idle</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"> 2.21 0.00 0.75 0.00 0.00 97.04</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D;background:yellow;mso-highlight:yellow">dm-9</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 0.00 0.00
0.00 1.60 0.00 12.80 8.00 0.00 1.00 0.62 0.10</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><br>
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Regards,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Madhan.<br>
</span></p>
</div>
<br>
<p></p>
</div>
</body>
</html>