Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

tmsh show - question

Hi,

 

this is a hopefully very silly question and thus easy to answer. I try to use

 

tmsh show /gtm wideIp

to get the statistics for all wideIps into a simple text file - unfortunately I always get a confirmation prompt

"Display all 1347 items? (y/n)"

How can I get rid of the prompt ?

 

 

 

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER
Pia,

Not tested this myself but from another post I recall their are potentially two options.

1. Using echo y | tmsh show......
2. Using the -q TMSH switch. "-q prevents tmsh from responding to user actions with questions. This option is useful when writing non-interactive shell scripts from the system shell."

Hope this helps,
N
0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER
Wonderful - the -q option is exctly what I was looking for.

many thanks nathan !
0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER
Wonderful - the -q option is exctly what I was looking for.

many thanks nathan !
0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER
Pia - glad I could be of help
0