Forum Discussion

hashmath415_349's avatar
hashmath415_349
Icon for Nimbostratus rankNimbostratus
Apr 27, 2018

TMSH command should work continously

Hi

 

im using SSH with putty with following command tmsh tailf /var/log/ltm to see continuously logs but after few hours the command is not working means the logs are not showing again i want to put that command after that it working But i want this command should work continuously means it should not stop logs continuously it should show the logs.please i need your support

 

  • Hi There,

     

    "tail -f" outputs appended data as the file grows. This should give you the behavior you are looking for. You can check the man pages for tail and tailf to see the difference.

     

    Hope that helps,

     

    Dan

     

  • Dan_73594's avatar
    Dan_73594
    Historic F5 Account

    Hi There,

     

    "tail -f" outputs appended data as the file grows. This should give you the behavior you are looking for. You can check the man pages for tail and tailf to see the difference.

     

    Hope that helps,

     

    Dan

     

    • hashmath415_349's avatar
      hashmath415_349
      Icon for Nimbostratus rankNimbostratus

      Thanks for your feedback

       

      It means i want to use tail -f command to see the difference and i want to check is it correct