On Apr 12, 2022, at 02:14, Hasan Rashid via lustre-discuss 
<[email protected]<mailto:[email protected]>> wrote:

Hello Everyone,

Is it possible to reset the rpc-related statistics (i.e. avg_waittime, 
read_data_averages, write_data_averages etc.) in osc.*.import without 
remounting the client?

If yes, what is the command to do so? If not, then if I periodically reset the 
counters by modifying the Lustre source code, what kind of impact will it have 
for the client or the file system itself?

Yes, you can clear the client stats like "lctl set_param osc.*.stats=0".

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Whamcloud







_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to