Add shared, buffer memory & Change unit to byte
Shared, buffer memory information and unit changes.
[2024/03/18 21:10:15] [ info] [fluent bit] version=3.0.0, commit=2ff1365abc, pid=45683
[2024/03/18 21:10:15] [ info] [storage] ver=1.5.1, type=memory, sync=normal, checksum=off, max_chunks_up=128
[2024/03/18 21:10:15] [ info] [cmetrics] version=0.7.0
[2024/03/18 21:10:15] [ info] [ctraces ] version=0.4.0
[2024/03/18 21:10:15] [ info] [input:mem:mem.0] initializing
[2024/03/18 21:10:15] [ info] [input:mem:mem.0] storage_strategy='memory' (memory only)
[2024/03/18 21:10:15] [ info] [sp] stream processor started
[2024/03/18 21:10:15] [ info] [output:stdout:stdout.0] worker #0 started
[0] mem.0: [[1710763816.240879347, {}], {"Mem.total"=>33190821888, "Mem.used"=>4165926912, "Mem.free"=>29024894976, "Mem.shared"=>3170304, "Mem.buffer"=>123072512, "Swap.total"=>8589934592, "Swap.used"=>0, "Swap.free"=>8589934592}]
[0] mem.0: [[1710763817.240616841, {}], {"Mem.total"=>33190821888, "Mem.used"=>4165943296, "Mem.free"=>29024878592, "Mem.shared"=>3170304, "Mem.buffer"=>123072512, "Swap.total"=>8589934592, "Swap.used"=>0, "Swap.free"=>8589934592}]
[0] mem.0: [[1710763818.240591300, {}], {"Mem.total"=>33190821888, "Mem.used"=>4163796992, "Mem.free"=>29027024896, "Mem.shared"=>3170304, "Mem.buffer"=>123080704, "Swap.total"=>8589934592, "Swap.used"=>0, "Swap.free"=>8589934592}]
[0] mem.0: [[1710763819.240603306, {}], {"Mem.total"=>33190821888, "Mem.used"=>4163796992, "Mem.free"=>29027024896, "Mem.shared"=>3170304, "Mem.buffer"=>123080704, "Swap.total"=>8589934592, "Swap.used"=>0, "Swap.free"=>8589934592}]
[0] mem.0: [[1710763820.240604918, {}], {"Mem.total"=>33190821888, "Mem.used"=>4165890048, "Mem.free"=>29024931840, "Mem.shared"=>3170304, "Mem.buffer"=>123080704, "Swap.total"=>8589934592, "Swap.used"=>0, "Swap.free"=>8589934592}]
[0] mem.0: [[1710763821.240602812, {}], {"Mem.total"=>33190821888, "Mem.used"=>4165890048, "Mem.free"=>29024931840, "Mem.shared"=>3170304, "Mem.buffer"=>123080704, "Swap.total"=>8589934592, "Swap.used"=>0, "Swap.free"=>8589934592}]
[0] mem.0: [[1710763822.240597363, {}], {"Mem.total"=>33190821888, "Mem.used"=>4165890048, "Mem.free"=>29024931840, "Mem.shared"=>3170304, "Mem.buffer"=>123080704, "Swap.total"=>8589934592, "Swap.used"=>0, "Swap.free"=>8589934592}]
[0] mem.0: [[1710763823.240595038, {}], {"Mem.total"=>33190821888, "Mem.used"=>4165890048, "Mem.free"=>29024931840, "Mem.shared"=>3170304, "Mem.buffer"=>123080704, "Swap.total"=>8589934592, "Swap.used"=>0, "Swap.free"=>8589934592}]
[0] mem.0: [[1710763824.240610770, {}], {"Mem.total"=>33190821888, "Mem.used"=>4164018176, "Mem.free"=>29026803712, "Mem.shared"=>3170304, "Mem.buffer"=>123080704, "Swap.total"=>8589934592, "Swap.used"=>0, "Swap.free"=>8589934592}]
[0] mem.0: [[1710763825.240606888, {}], {"Mem.total"=>33190821888, "Mem.used"=>4164018176, "Mem.free"=>29026803712, "Mem.shared"=>3170304, "Mem.buffer"=>123080704, "Swap.total"=>8589934592, "Swap.used"=>0, "Swap.free"=>8589934592}]
A case for changing units kb to byte, Many visualization tools define the default unit as bytes. I suggest changing the unit to bytes for convenience in visualizations and to reduce unnecessary computations.
Enter [N/A] in the box, if an item is not applicable to your change.
Testing Before we can approve your change; please submit the following in a comment:
- [ ] Example configuration file for the change
- [ ] Debug log output from testing the change
- [ ] Attached Valgrind output that shows no leaks or memory corruption was found
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
- [ ] Run local packaging test showing all targets (including any new ones) build.
- [ ] Set
ok-package-testlabel to test for all targets (requires maintainer to do).
Documentation
- [ ] Documentation required for this feature
Backporting
- [ ] Backport to latest stable release.
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.