Forum Discussion
4 Replies
- What_Lies_Bene1Cirrostratus
Are there any specific statistics you require please? Are you on v10 at least? That way we can use tmsh commands rather than bigpipe ones.
- Kevin_StewartEmployee
As Steve says, TMSH is the way to go. You can see anything in the shell that you can see in the GUI (and usually more) by using TMSH. The trick is, however, that every command is different and highly dependent on what you're looking for. I would recommend referencing the TMSH guide for 10.x to get you started.
Manual: Traffic Management Shell (tmsh) Reference Guide
- What_Lies_Bene1Cirrostratus
OK, so not statistics but configuration information? Or perhaps both?
- What_Lies_Bene1Cirrostratus
OK, so, as Kevin suggested, taking a look at the tmsh reference guide is a good start. It'll be very similar syntax for most LTM objects. Let's take the Virtual Server information as an example;
show ltm virtual 'name' << Skip the name if you want info on all VSs. This will give you the statistics and counters
list ltm virtual 'name' << Skip the name if you want info on all VSs. This will give you the configuration information
It's the same syntax for 'pool's and 'node's. You can of course script it all very easily and even setup a cron job if you'd like.
If you want to modify and filter or sort the output, Linux toosl such as grep, awk and sed will help you greatly too.