Forum Discussion
Tom_K_185554
Nimbostratus
May 07, 2018would like to log tmsh output to /var/log/ltm
Hello - is there a way to log the output to /var/log/ltm of a tmsh command like
tmsh show sys connection cs-server-addr 12.12.12.12 |grep -i 3128
instead of it just going to the screen ?
Stanislas_Piro2
Cumulonimbus
May 07, 2018Login bash instead of tmsh and use following command
tmsh show sys connection cs-server-addr 12.12.12.12 |grep -i 3128 >> /var/tmp/connections.log
If you want to save it in /var/log/ltm file, I don’t know what are consequences of writing on the same file as another process!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
