Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
This is a really nice, clean version of the script. Excellent work!

Well I have to admit that I'm really puzzled at this point! Because I cannot find "show" nowhere on this system. It only works if you 1) ssh into the box and operate within the proprietary netscaler environment or 2) if you issue the commands remotely via ssh.

If I execute a "shell" command within the netscaler software to get to a unix shell, this is the result of my best efforts to find the command called "show".

root@ns# find / -name "show" -print root@ns# show -bash: show: command not found root@ns# echo $PATH /netscaler:/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/usr/local/bin:/ +usr/local/sbin:. root@ns# grep -ri show $PATH grep: /netscaler:/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/usr/local +/bin:/usr/local/sbin:.: No such file or directory root@ns#


What gives? I'm starting to feel like there is some voodoo going on with this box that I don't completely grok! Do I have to somehow invoke the netscaler shell first,before I do anything else?

This is the contents of a directory called "/netscaler" that has a bunch of commands and scripts in it, that I can't seem to make heads or tails of. Most of them are binaries (not scripts) so I can't even "less" them to see what they contain. weird!
root@ns# ls CITRIX nscachemgr nssavecore.sh aaa_inform_kern nscgdb nssh api nscli nssslgen aslearn nsconf nsstart.sh aslearn.conf nsconfig nsstartpe.sh bgpd nsconfigaudit nsstop.sh filterwsdl nsconfmig nssync htmlinjection nsconmsg nssync.sh icsearch.sh nscrlrefresh nstcpdump.sh icstats nsdiskspace.sh nstrace.sh imi nsdme nstune imish nsdrevent nsumon.sh install.pl nsdynrouting nsumond lmgrd nsfsyncd nsvpnd lmstat nsgslbconf nswsrun lmutil nsif ospfd lmver nslcd pitboss man nslcdinit.sh portal migrate_ZebOS.sh nslog.sh ripd netscaler.conf nsm rwpol netscaler.sh nsmap samedit ns_gui nsnetsvc showtechsupport.pl nsaaad nsospf snmp nsapimgr nsp snmpd nsaudit nsproflog.sh vpnsetup nsauth_httpd nsprofmon vtysh nsauthd nsreadfile nsbgp nsrip

In reply to Re^4: Net::SSH::Perl doesn't execute commands by bluethundr
in thread Net::SSH::Perl doesn't execute commands by bluethundr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (8)
    As of 2014-09-22 12:29 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (191 votes), past polls