adfost
fd7142e223
update license headers to 2022 ( #4360 )
2022-11-14 18:38:39 -08:00
Klaus Post
48e9183957
Move mc admin top scanner -> mc admin scanner info ( #4151 )
...
Also, add `mc admin scanner trace` which gives a simplified trace
with only relevant options.
2022-07-15 02:20:55 -07:00
Klaus Post
82a6c4f20f
Add admin top scanner & trace --call=scanner ( #4130 )
...
mc: Add admin top scanner & trace --call=scanner
Examples:
```
λ mc admin top scanner myminio
Scanner Activity: ●∙∙
+-------------------------------------------------------------------------------------------------------+
| Last full scan time: 0d0h5m; Estimated 7358.44/month |
| Current cycle: 129439; Started: 2022-06-22 18:01:50.5775259 +0200 CEST |
| Active disks: 1 |
| -------------------------------------- Last Minute Statistics --------------------------------------- |
| Objects Scanned: 101 objects; Avg: 3.775ms; Rate: 145440/day |
| Versions Scanned: 10001 versions; Avg: 31.998µs; Rate: 14401440/day |
| Versions Heal Checked: 200 versions; Avg: 1.394ms; Rate: 288000/day |
| Read Metadata: 101 objects; Avg: 0ms |
| ILM checks: 10001 versions; Avg: 408ns |
| Check Replication: 10001 versions; Avg: 3.646µs |
| Verify Deleted: 0 folders; Avg: 0ms |
| Yield: 59.083s total; Avg: 584.978ms/obj |
| ------------------------------------- Currently Scanning Paths -------------------------------------- |
| 127.0.0.1:9002/d:/data/distxl-plain/s2/d1/warp-benchmark-bucket/qwrShN3c/405.M(nsCrNI(PZhkAqA.rnd |
+-------------------------------------------------------------------------------------------------------+
```
```
λ mc admin trace --call=scanner myminio
2022-06-22T18:04:12.705 [SCANNER] scanner.ScanFolder 127.0.0.1:9002 d:\data\distxl-plain\s2\d4 warp-benchmark-bucket/ajJkH6Ic/2425.mLeCC9gkg)7aQxfJ.rnd 15.2171467s
2022-06-22T18:04:28.022 [SCANNER] scanner.ScanObject 127.0.0.1:9002 d:\data\distxl-plain\s2\d4 ajJkH6Ic/304.SAWTkh9)WJrnZF7l.rnd/xl.meta 1.0691ms
2022-06-22T18:04:27.922 [SCANNER] scanner.ScanFolder 127.0.0.1:9002 d:\data\distxl-plain\s2\d4 warp-benchmark-bucket/ajJkH6Ic/304.SAWTkh9)WJrnZF7l.rnd 209.3969ms
2022-06-22T18:04:28.232 [SCANNER] scanner.ScanObject 127.0.0.1:9002 d:\data\distxl-plain\s2\d4 ajJkH6Ic/405.(kO1pyUPMdhsaXev.rnd/xl.meta 1.0531ms
2022-06-22T18:04:28.131 [SCANNER] scanner.ScanFolder 127.0.0.1:9002 d:\data\distxl-plain\s2\d4 warp-benchmark-bucket/ajJkH6Ic/405.(kO1pyUPMdhsaXev.rnd 207.7757ms
2022-06-22T18:04:28.440 [SCANNER] scanner.ScanObject 127.0.0.1:9002 d:\data\distxl-plain\s2\d4 ajJkH6Ic/506.E726EiB(GNLfSLro.rnd/xl.meta 1.0317ms
...
```
2022-07-01 16:04:04 -07:00
Harshavardhana
e19fcb8daf
feat: Add 'mc admin top api' for realtime view ( #4112 )
...
This is just a beginning but this can be enhanced further
to have different views of S3 calls, internal calls, and
disk/storage calls.
2022-06-10 11:02:26 -07:00
Harshavardhana
1402987ccb
change license to AGPLv3
2021-05-11 17:45:08 -07:00
Anis Elleuch
b7a3dff287
Fix 'did you mean' message ( #3448 )
2020-10-12 09:53:51 -07:00
Harshavardhana
0b0acc611f
Revert "cli: Load global flags in initBeforeRunningCmd ( #3283 )" ( #3302 )
...
This reverts commit 712ff33319 .
2020-07-16 11:10:35 -07:00
Anis Elleuch
712ff33319
cli: Load global flags in initBeforeRunningCmd ( #3283 )
...
app.Before receives a cli.Context but without flags parsed. There is no
point calling ctx.Bool() or ctx.IsSet() at that stage.
However, flags are parsed in commands, so minio initialization and
setting global variables (globalJSON, globalQuiet, etc..) can be moved
to the Before function of all commands.
Avoid setting command.Before for non leaf commands, otherwise Before
function will be called multiples times until it reaches the leaf
command.
2020-07-01 17:28:43 -07:00
ebozduman
83a9d8b91d
Adds missing codebase MinIO and min.io changes ( #2745 )
2019-04-16 22:31:54 -07:00
kannappanr
5729a01e69
doc: Document top command ( #2672 )
2019-04-10 15:48:45 -07:00
kannappanr
e3854b077a
List oldest locks currently used in a distributed XL setup ( #2549 )
2019-01-31 12:37:04 -08:00