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

monetdb status should print full line #3292

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

monetdb status should print full line #3292

monetdb-team opened this issue Nov 30, 2020 · 0 comments

Comments

@monetdb-team
Copy link

@monetdb-team monetdb-team commented Nov 30, 2020

Date: 2013-05-29 09:36:02 +0200
From: @bartscheers
To: Merovingian devs <>
Version: 11.15.11 (Feb2013-SP3)

Last updated: 2013-09-27 13:47:17 +0200

Comment 18752

Date: 2013-05-29 09:36:02 +0200
From: @bartscheers

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0
Build Identifier:

depending on the windown size the monetdb status replaces too long string by dots in which case you can't read the info.
Also not practical when reading the lines with dots from scripts

Reproducible: Always

Steps to Reproduce:

1.set window width small
2.monetdb status
3.

Actual Results:

name state health remarks
...0 R 9h 100% 0s mapi:monetdb://rocks096.scilens:50096/cycle0_100x10000

Expected Results:

   name        state   health                          remarks

cycle0_100x10000 R 9h 100% 0s mapi:monetdb://rocks096.scilens:50096/cycle0_100x10000

or something similar...

Comment 18947

Date: 2013-07-30 20:40:53 +0200
From: MonetDB Mercurial Repository <>

Changeset 8ca402652831 made by Fabian Groffen fabian@monetdb.org in the MonetDB repo, refers to this bug.

For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=8ca402652831

Changeset description:

monetdb: don't compress output when not connected to a terminal

- check stdout for its size (since we're writing there, we don't care
  about reading end -- may as well be completely different in case of a
  pipe)
- don't compress output when we didn't find a terminal width (0),
  addresses bug #3292, now scripts should get full output

Comment 18948

Date: 2013-07-30 20:42:12 +0200
From: @grobian

% monetdb status
name state health remarks
...t R 15m 62% 5d mapi:monetdb://nut....er.nl:52100/jaqltest
...l S 7w 100% 2w mapi:monetdb://nut....der.nl:52100/decimal
c S 37m 100% 19s mapi:monetdb://nut....bitzolder.nl:52100/c
b S 37m 100% 20s mapi:monetdb://nut....bitzolder.nl:52100/b
a S 37m 100% 20s mapi:monetdb://nut....bitzolder.nl:52100/a
% monetdb status | cat
name state health remarks
jaqltest R 46m 62% 5d mapi:monetdb://nut.cheops.bitzolder.nl:52100/jaqltest
decimal S 7w 100% 2w mapi:monetdb://nut.cheops.bitzolder.nl:52100/decimal
c S 1h 100% 19s mapi:monetdb://nut.cheops.bitzolder.nl:52100/c
b S 1h 100% 20s mapi:monetdb://nut.cheops.bitzolder.nl:52100/b
a S 1h 100% 20s mapi:monetdb://nut.cheops.bitzolder.nl:52100/a

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

Successfully merging a pull request may close this issue.

None yet
1 participant