5.3.2 Using commands to manipulate the test data
After you have created a cache, use commands to manipulate the test data.
- Organization of this subsection
(1) Storing test data
Execute the eztool put command to store test data.
eztool put cache-name key value
Example of command execution
(2) Checking whether the command ran successfully
Use the eztool status -v command to display the number of keys held by the EADS server.
eztool status -v
Example of command execution
The KeyCount column displays the number of keys that were stored.
(3) Acquiring the stored data
Use the eztool get command to acquire the stored value.
eztool get cache-name key
Example of command execution
(4) Deleting the stored data
Use the eztool remove command to delete the stored value.
eztool remove cache-name key
Example of command execution
To delete keys stored in a specified cache and all the values associated with those keys, execute the eztool removeall command.
eztool removeall [-g group-name] cache-name
Example of command execution
When you specify the -g option in the eztool removeall command, you delete only the keys in the specified cache that belong to the specified group, and all the values associated with those keys.