Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsar 输出格式优化 #129

Open
walkerxk opened this issue Nov 24, 2021 · 2 comments
Open

tsar 输出格式优化 #129

walkerxk opened this issue Nov 24, 2021 · 2 comments

Comments

@walkerxk
Copy link
Contributor

image
使用-D参数以后列的位置有错位,另外是否能读取bash的$LINES变量来决定多少行来重复一次Time这个表头?

@mingzym
Copy link

mingzym commented Apr 6, 2023

不用kmg这种格式的情况下,你没法保证列宽不会被顶出。所以这种格式是用来作数据分析导出用的,不是给人眼看的

用LINES来决定当然也好阿

@walkerxk
Copy link
Contributor Author

walkerxk commented Apr 6, 2023

不用kmg这种格式的情况下,你没法保证列宽不会被顶出。所以这种格式是用来作数据分析导出用的,不是给人眼看的

用LINES来决定当然也好阿

但是如果是给程序看的话,为什么要有些是两个空格,有些是四个空格?程序直接读/var/log/tsar.data就行了吧,不用调用tsar命令,这样还慢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants