[c-nsp] how can I know which process takes over CPU and memory?

Deric Kwok deric.kwok2000 at gmail.com
Tue Mar 3 15:26:16 EST 2009


Hi Ivan

Now I am trying on the router but it won't work also

What wrong I did?

Thank you


router#dir
Directory of flash:/
    1  -rw-     8624196   Mar 5 1993 00:05:02 +00:00  c3725-i-mz.123-6e.bin
    2  -rw-        1142   Mar 3 2009 15:05:26 +00:00  top.tcl
31936512 bytes total (23306240 bytes free)

router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#alias exec top tclsh flash:top.tcl
router(config)#exit
router#top
Translating "top"...domain server (202.64.2.36) (202.64.3.5)
Translating "top"...domain server (202.64.2.36) (202.64.3.5)
 (202.64.2.36) (202.64.3.5)% Unknown command or computer name, or unable to
find computer address


On Tue, Mar 3, 2009 at 2:03 PM, Ivan Pepelnjak <ip at ioshints.info> wrote:

>  Your original message indicated you had a router. Based on Cisco's
> documentation tclsh doesn't work on most Catalyst switches.
>
> Best regards
> Ivan
>
>  ------------------------------
>  *From:* Deric Kwok [mailto:deric.kwok2000 at gmail.com]
> *Sent:* Tuesday, March 03, 2009 2:22 PM
> *To:* Ivan Pepelnjak
> *Cc:* cisco-nsp at puck.nether.net
> *Subject:* Re: [c-nsp] how can I know which process takes over CPU and
> memory?
>
>  Hi Ivan
>
> Thank you. I try to do it in my switch but it won't work
>
> What wrong I did?
>
> Thank you
>
> switch#dir
> Directory of flash:/
>   4  drwx         704   Feb 28 1993 19:08:20  html
>  18  -rwx        1142   Mar 03 2009 08:14:33  top.tcl
> 3612672 bytes total (357888 bytes free)
> switch#config terminal
> Enter configuration commands, one per line.  End with CNTL/Z.
> switch(config)#alias exec top tclsh flash:top.tcl
> switch(config)#exit
> switch#top
> tclsh flash:top.tcl
>  ^
> % Invalid input detected at '^' marker.
> switch#
>
>


More information about the cisco-nsp mailing list