Topic
1 reply Latest Post - ‏2013-01-11T15:10:25Z by truongv
HajoEhlers
HajoEhlers
251 Posts
ACCEPTED ANSWER

Pinned topic mmlsconfig output for a single node

‏2013-01-11T11:16:45Z |
On AIX i use the following command line to get the node configuration data for a given node.

node=MYNODE mmdsh -N $node 
"mmfsadm dump config | grep -w !"


but it does not work in case the node is down.

In this case i use :

node=MYNODE mmlsconfig | sed -e 
'y/[/\n/' -e 
'y/]/:/' | egrep -wp 
"$node|^common:"   | grep -v 
"^$"


Any better options ?
Updated on 2013-01-11T15:10:25Z at 2013-01-11T15:10:25Z by truongv
  • truongv
    truongv
    77 Posts
    ACCEPTED ANSWER

    Re: mmlsconfig output for a single node

    ‏2013-01-11T15:10:25Z  in response to HajoEhlers
    The mmlsconfig command does not have an option that does exactly what you wanted. You can try the below to see if it is better:
    
    mmlsconfig all | awk 
    '!/\[/{print;next} /MYNODE/{print}'