Difference between revisions of "Admin Tips"
(→Simple commands on all nodes, giving node name) |
|||
Line 2: | Line 2: | ||
==Simple commands on all nodes, giving node name == | ==Simple commands on all nodes, giving node name == | ||
− | * Gives the running kernel version of all the nodes | + | * Gives the running kernel version of all the nodes: |
for i in node{1..10}; do ssh $i 'echo -n "$HOSTNAME: "; uname -a';done | for i in node{1..10}; do ssh $i 'echo -n "$HOSTNAME: "; uname -a';done |
Revision as of 11:28, 12 May 2016
Simple commands on all nodes, giving node name
- Gives the running kernel version of all the nodes:
for i in node{1..10}; do ssh $i 'echo -n "$HOSTNAME: "; uname -a';done