[LU-13705] allow llstat to work properly on clients Created: 23/Jun/20  Updated: 13/Dec/22  Resolved: 28/Apr/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.15.0

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-3525 Add / extend Lustre tools to parse rp... Open
Rank (Obsolete): 9223372036854775807

 Description   

Allow the llstat utility to work properly on clients, so that specifying "llite" or "mdc" as an argument will print out useful stats.

It would also be useful to allow aggregating stats across multiple OSC devices.



 Comments   
Comment by Gerrit Updater [ 25/Jun/20 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/39178
Subject: LU-13705 utils: improve llstat/llobdstat usability
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7de8cbac892c0179ed24dbeb3c5548056a6311d9

Comment by Gerrit Updater [ 28/Apr/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39178/
Subject: LU-13705 utils: improve llstat/llobdstat usability
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 3e0d994fbf4c4f2e5c51b2be5669ad97aa02f840

Comment by Andreas Dilger [ 28/Apr/21 ]

It is now possible to specify stats files using the same syntax as "lctl get_param", for example "llstat osc.*OST0000*.stats" or equivalent.

What it doesn't yet do is aggregate stats between multiple stats files that match a "*" like "llstat osc.*.stats" into a single output. It currently picks the first matching file and reports only those stats.

Comment by Peter Jones [ 28/Apr/21 ]

Landed for 2.15

Comment by Gerrit Updater [ 05/Aug/21 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/44515
Subject: LU-13705 utils: improve llstat/llobdstat usability
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: e1e74259c0d760fdd1512edbea3e61c61ffd987b

Comment by Gerrit Updater [ 01/Dec/22 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49289
Subject: LU-13705 utils: fix llstat -n option
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: acc647f7cbffeb38d24383b64eff3e009f33dc0d

Comment by Gerrit Updater [ 13/Dec/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49289/
Subject: LU-13705 utils: fix llstat -n option
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b455b42fa8752bb3fbac9b2501e2092ec66b3958

Generated at Sat Feb 10 03:03:30 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.