Feature #270


Be able to choose session by number in lttng list command

Added by Yannick Brosseau almost 11 years ago. Updated over 7 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


When we list the session with lttng list we get a list prefixed by number

Available tracing sessions:
1) test (/home/scientist/lttng-traces/test-20120618-142554) [inactive]

It seems natural after that to use this number when we want to have the detail of a session

lttng list 1

instead of doing lttng list test

(Its particularly painfull with the auto generated names.

Actions #1

Updated by David Goulet almost 11 years ago

  • Status changed from New to Confirmed
  • Assignee set to David Goulet
Actions #2

Updated by David Goulet over 10 years ago

  • Assignee deleted (David Goulet)
Actions #3

Updated by Yannick Brosseau over 10 years ago

Comment from David: also putting ** instead of number could "fix" this problem

Actions #4

Updated by David Goulet over 10 years ago

  • Target version set to 2.2

I can't really change that for now (release candidate freeze) since it's going to change the message output to the user.

I'll flag this one for 2.2 :)

Actions #5

Updated by David Goulet about 10 years ago

  • Target version deleted (2.2)

Not sure when or if we'll be able to do that so let's keep it and set it for "Unknown future version" :)

Actions #6

Updated by Jonathan Rajotte over 8 years ago

This is partially solved with the use of mi and bash-autompletion. The autompletion of auto generated name is less painfull now. Still the use of number is inadequate and can confuse the user. The introduction of mi should enable heavy modification of the cli output.

Actions #7

Updated by Jérémie Galarneau over 7 years ago

  • Target version set to Wishlist

Also available in: Atom PDF