Re: [lustre-discuss] How to find out what the OSS interacts with the Lustre client at a given time ?

2017-04-15 Thread Black.S


Thanks for answer

I'm already using it.

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 client lustre).



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.


I need to get statistics for each lustre client per second.


Thanks for your time


15.04.2017 17:34, Raj пишет:

I prefer to pull them from server side by:

On OSS:
 /proc/fs/lustre/obdfilter/*/exports/CLIENT_IP@FABRIC/stat
snapshot_time 1492265908.551519 secs.usecs
read_bytes21575 samples [bytes] 458752 1048576 22621818880
statfs1 samples [reqs]
preprw21575 samples [reqs]
commitrw  21575 samples [reqs]
ping  1 samples [reqs]

You can clear the stat (echo clear > stat) and then read at sample 
intervals.


Same on MDS node:
/proc/fs/lustre/mdt/*/exports/CLIENT_IP@FABRIC/stat
snapshot_time 1492266510.531256 secs.usecs
open  3 samples [reqs]
close 1 samples [reqs]
unlink1 samples [reqs]
getattr   3 samples [reqs]

Thanks
_Raj

On Sat, Apr 15, 2017 at 5:46 AM Black.S  wrote:

How to find out what the OSS interacts with the Lustre client at a
given
time?
Maybe it know from /proc/fs/lustre the lustre client or something
else ?

Is it possible to obtain such statistics from MDS, OSS or from a
lustre
client host ?

thanks for you time
___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org

http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org





___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


Re: [lustre-discuss] How to find out what the OSS interacts with the Lustre client at a given time ?

2017-04-15 Thread Raj
I prefer to pull them from server side by:

On OSS:
 /proc/fs/lustre/obdfilter/*/exports/CLIENT_IP@FABRIC/stat
snapshot_time 1492265908.551519 secs.usecs
read_bytes21575 samples [bytes] 458752 1048576 22621818880
statfs1 samples [reqs]
preprw21575 samples [reqs]
commitrw  21575 samples [reqs]
ping  1 samples [reqs]

You can clear the stat (echo clear > stat) and then read at sample
intervals.

Same on MDS node:
/proc/fs/lustre/mdt/*/exports/CLIENT_IP@FABRIC/stat
snapshot_time 1492266510.531256 secs.usecs
open  3 samples [reqs]
close 1 samples [reqs]
unlink1 samples [reqs]
getattr   3 samples [reqs]

Thanks
_Raj

On Sat, Apr 15, 2017 at 5:46 AM Black.S  wrote:

> How to find out what the OSS interacts with the Lustre client at a given
> time?
> Maybe it know from /proc/fs/lustre the lustre client or something else ?
>
> Is it possible to obtain such statistics from MDS, OSS or from a lustre
> client host ?
>
> thanks for you time
> ___
> lustre-discuss mailing list
> lustre-discuss@lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>
___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


[lustre-discuss] How to find out what the OSS interacts with the Lustre client at a given time ?

2017-04-15 Thread Black.S
How to find out what the OSS interacts with the Lustre client at a given 
time?

Maybe it know from /proc/fs/lustre the lustre client or something else ?

Is it possible to obtain such statistics from MDS, OSS or from a lustre 
client host ?


thanks for you time
___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org