home *** CD-ROM | disk | FTP | other *** search
/ ftp.jcu.edu.au / 2014.06.ftp.jcu.edu.au.tar / ftp.jcu.edu.au / v6.3.2b / SWBD63 / fabos-6.3.2b-10.ppc.rpm / fabos-6.3.2b.10.cpio.gz / fabos-6.3.2b.10.cpio / fabos / libexec / mapsInfo < prev    next >
Text File  |  2010-11-10  |  2KB  |  62 lines

  1. #!/bin/sh
  2. #
  3. #
  4. #    Copyright (c) 1996-2008 Brocade Communications Systems, Inc.
  5. #    All rights reserved.
  6. #
  7. #    File name:   mapsInfo.sh
  8. #    Desc: dumps supportInfo for MAPS
  9.  
  10.  
  11. start_dump() {
  12.  
  13.     ORG_PATH=`echo $PATH`    
  14.     export PATH=/fabos/link_bin:/bin:/usr/bin:/sbin:/usr/sbin:/fabos/link_abin:/fabos/link_sbin:/fabos/factory:/fabos/xtool:.:/
  15.  
  16.     #Dump WEBD Info
  17.     /bin/echo "========WEBD_SUPPORT_DUMP========================"
  18.     /bin/echo ""
  19.     /fabos/libexec/webdsupportshow
  20.       /bin/echo "========WEBD_SUPPORT_DUMP========================="
  21.     /bin/echo ""
  22.  
  23.     #Dump EVMD Info
  24.     /bin/echo "========EVMD_SUPPORT_DUMP========================"
  25.     /bin/echo ""
  26.     /fabos/libexec/evmdsupportshow
  27.       /bin/echo "========EVMD_SUPPORT_DUMP========================="
  28.     /bin/echo ""
  29.  
  30.     #Dump SNMPD Info
  31.     /bin/echo "========SNMPD_SUPPORT_DUMP========================"
  32.     /bin/echo ""
  33.     /fabos/libexec/snmpdsupportshow
  34.       /bin/echo "========SNMPD_SUPPORT_DUMP========================="
  35.     /bin/echo ""
  36.  
  37.     #Dump RPCD Info
  38.     /bin/echo "========RPCD_SUPPORT_DUMP========================"
  39.     /bin/echo ""
  40.     /fabos/libexec/rpcdsupportshow
  41.       /bin/echo "========RPCD_SUPPORT_DUMP========================="
  42.     /bin/echo ""
  43.     
  44.     #Dump CALD Info
  45.     /bin/echo "========CALD_SUPPORT_DUMP========================"
  46.     /bin/echo ""
  47.     /fabos/libexec/caldsupportshow
  48.     /bin/echo "========CALD_SUPPORT_DUMP========================"
  49.     /bin/echo ""
  50.  
  51.     #Dump RPC Connections Info
  52.     /bin/echo "=======RPC_CONNECTIONS_INFO======================"
  53.     /bin/echo ""
  54.     netstat -an | grep 897 
  55.     /bin/echo "=======RPC_CONNECTIONS_INFO======================"
  56.     /bin/echo ""
  57.  
  58.     export PATH=$ORG_PATH
  59. }
  60.  
  61. start_dump
  62.