<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-forward-container">
<div class="moz-cite-prefix">Thanks for answer<br>
<br>
<span id="result_box" class="short_text" lang="en"><span
class="">I'm already using it.<br>
</span></span><br>
<span id="result_box" class="short_text" lang="en"><span
class=""><span id="result_box" class="" lang="en"><span
class="">However, this stats does not mean to understand
how much data EACH lustre client transmits/receives and
this stats does not give a name to the lustre clients
(hostname server with </span></span></span></span><span
id="result_box" class="short_text" lang="en"><span class=""><span
id="result_box" class="" lang="en"><span class=""><span
id="result_box" class="short_text" lang="en"><span
class=""><span id="result_box" class="" lang="en"><span
class="">client lustre</span></span></span></span>).</span></span><br>
<br>
</span></span><br>
<span id="result_box" class="short_text" lang="en"><span
class=""><span id="result_box" class="" lang="en"><span
class=""><span id="result_box" class="" lang="en"><span
class="">I need to get a source-receiver (lustre
client - xmt/rcv - oss ) to more accurately identify
the amount of traffic from EACH client of lustre.<br>
<br>
</span></span></span></span></span></span><span
id="result_box" class="short_text" lang="en"><span class=""><span
id="result_box" class="" lang="en"><span class=""><span
id="result_box" class="" lang="en"><span class=""><span
id="result_box" class="" lang="en"><span class="">I
need to get statistics for each lustre client
per second</span></span></span></span>.<br>
<br>
</span></span></span></span><br>
<span id="result_box" class="short_text" lang="en"><span
class=""><span id="result_box" class="" lang="en"><span
class="">Thanks for your time<br>
<br>
<br>
</span></span></span></span>15.04.2017 17:34, Raj пишет:<br>
</div>
<blockquote
cite="mid:CANF66k-_K6Ux1+_SX2knb6eFOPmXg6noz2dsxc3dLwSkajQNKQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>I prefer to pull them from server side by:</div>
<div><br>
</div>
<div>On OSS:</div>
<div> /proc/fs/lustre/obdfilter/*/exports/CLIENT_IP@FABRIC/stat</div>
<div>snapshot_time 1492265908.551519 secs.usecs</div>
<div>read_bytes 21575 samples [bytes] 458752
1048576 22621818880</div>
<div>statfs 1 samples [reqs]</div>
<div>preprw 21575 samples [reqs]</div>
<div>commitrw 21575 samples [reqs]</div>
<div>ping 1 samples [reqs]</div>
<div><br>
</div>
<div>You can clear the stat (echo clear > stat) and then
read at sample intervals.</div>
<div><br>
</div>
<div>Same on MDS node:</div>
<div>/proc/fs/lustre/mdt/*/exports/CLIENT_IP@FABRIC/stat</div>
<div>snapshot_time 1492266510.531256 secs.usecs</div>
<div>open 3 samples [reqs]</div>
<div>close 1 samples [reqs]</div>
<div>unlink 1 samples [reqs]</div>
<div>getattr 3 samples [reqs]</div>
<div><br>
</div>
<div>Thanks</div>
<div>_Raj</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sat, Apr 15, 2017 at 5:46 AM Black.S <<a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:Black.S52@yandex.ru"><a class="moz-txt-link-abbreviated" href="mailto:Black.S52@yandex.ru">Black.S52@yandex.ru</a></a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">How to
find out what the OSS interacts with the Lustre client at a
given<br>
time?<br>
Maybe it know from /proc/fs/lustre the lustre client or
something else ?<br>
<br>
Is it possible to obtain such statistics from MDS, OSS or
from a lustre<br>
client host ?<br>
<br>
thanks for you time<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
<a moz-do-not-send="true"
href="mailto:lustre-discuss@lists.lustre.org"
target="_blank">lustre-discuss@lists.lustre.org</a><br>
<a moz-do-not-send="true"
href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org"
rel="noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</blockquote>
</div>
</blockquote>
<br>
<br>
</div>
<br>
</body>
</html>