Forum Discussion
Kevin_382901
Apr 16, 2019Nimbostratus
Using iControlREST to list entries in ramcache
I'm trying to build a bash script to query the F5 so that we can see what entries are on the ramcache profile. I am able to delete entries with:
curl -sk -u $USERNAME:$PASSWORD -X DELETE
...
Satoshi_Toyosa1
Apr 17, 2019Ret. Employee
In tmsh, you need to use
show
command to view the LTM ramcache profile data: e.g.,
tmsh show ltm profile ramcache webacceleration
Fot the iControl REST equivalent, then, add
stats
to the endpoint (an endpoint without stats
is for tmsh's list
command). So,
curl -sku : https:///mgmt/tm/ltm/profile/ramcache/webacceleration/stats
should show the current cache.
Similarly, to remove the cache completely (
tmsh delete ltm profile ramcache webacceleration
equivalent):
curl -sku : https:///mgmt/tm/ltm/profile/ramcache/webacceleration -X DELETE
See also K13255: Displaying and deleting HTTP cache entries from the command line (11.x - 13.x).
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