Forum Discussion
schedule run command "tmsh show ltm virtual-address"
I want to get information connections for one Virtual-server at interval 30 minute one time. In graph view just total active connections for all virtual server (ltm). And I think to schedule run command "tmsh show ltm virtual-address" on interval times.
Pls guide me to run schedule scripts and export to file.
- Dario_Garrido
Noctilucent
You can use a periodic iCall. One example
https://devcentral.f5.com/s/articles/periodic-icall-script-to-auto-generate-nodeip-to-nodename-datagroup-969
Using anacron is another way
https://support.f5.com/csp/article/K33730915
KR,
Dario.
- rob_carr
Cirrocumulus
anacron is only used to run events scheduled for daily and longer intervals (e.g. weekly, monthly, yearly). cron is still used to run events that happen hourly or more frequently.
- luyenntk50db
Nimbostratus
Tks for Dario and rob_carr.
But I have compledte editor with crob as below:
#mkdir /tmp/connection
# crontab -l
# cron tab for root
1-59/30 * * * * /usr/bin/diskmonitor
05 * * * * tmsh show ltm virtual-address IP_address /tmp/connection/connection.log
I don't see file connection.log in tmp/connection after 5 minutes.
Pls guide me.
Recent Discussions
Related Content
* 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