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

psi2log: to wide columns #114

Comments

Copy link
Contributor

Now psi2log have 115 columns which is to much i believe since 80 is de-facto standard. This looks like this on 100 columns terminal:
Снимок экрана от 2021-01-02 19-36-43
Can we shrink it to 80 or 100 at least? This could improve overall UX.

@hakavlad
Copy link
Owner

hakavlad commented Jan 2, 2021

Yes.

@hakavlad
Copy link
Owner

hakavlad commented Jan 2, 2021

BTW, mem2log is on your pic. Not psi2log.

@hakavlad
Copy link
Owner

hakavlad commented Jan 2, 2021

psi2log non-wide mode: psi2log -m2

Copy link
Contributor Author

BTW, mem2log is on your pic. Not psi2log.

Sorry, i wanted suggest to improve both this tools and mem2log have similar issue. :)

psi2log non-wide mode: psi2log -m2

Great but default behavior maybe could still be improved in some way and look better on 80 columns?

@hakavlad
Copy link
Owner

hakavlad commented Jan 2, 2021

look better on 80 columns?

Now it has good look and well-formatted. I'm not sure if a narrower output can be made with mode 1.

@hakavlad
Copy link
Owner

hakavlad commented Feb 22, 2021

TODO:

===============================================================================
     cpu      ||               io              ||            memory
============= || ============================= || =============================
     some     ||      some     |      full     ||      some     |       full
------------- || ------------- | ------------- || ------------- | -------------
 avg10  avg60 ||  avg10  avg60 |  avg10  avg60 ||  avg10  avg60 |  avg10  avg60 
------ ------ || ------ ------ | ------ ------ || ------ ------ | ------ ------ 
100.00 100.00 || 100.00 100.00 | 100.00 100.00 || 100.00 100.00 | 100.00 100.00 
100.00 100.00 || 100.00 100.00 | 100.00 100.00 || 100.00 100.00 | 100.00 100.00 
100.00 100.00 || 100.00 100.00 | 100.00 100.00 || 100.00 100.00 | 100.00 100.00 
100.00 100.00 || 100.00 100.00 | 100.00 100.00 || 100.00 100.00 | 100.00 100.00 
===============================================================================

w=79

--mode=0, should be default

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