

Reference Information › CA AppLogic Support Knowledge Base › Overview of Support Knowledge Base › Command One-Liners for Various Tasks
Command One-Liners for Various Tasks
Some useful commands that can be used in for-loops or other commands to do various tasks.
- List all servers in a grid:
# 3t srv list | awk '/srv/ {print $1}'
srv1
srv2
- List all the servers in a grid by srv#:
# 3t srv list | awk '/srv/ {print substr($1,RSTART+4)}'
1
2
- Read every descriptor file for all applications on a grid and display. Pauses for 'enter' to be pressed after each is displayed.
# for i in `3t app list | awk '/'yes\|no'/ {print $1}'` ; do echo $i ; 3t app config $i --boundary ; read ; done
Copyright © 2012 CA.
All rights reserved.
 
|
|