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#




On Sat, Feb 28, 2009 at 3:03 PM, Ivan Pepelnjak <i...@ioshints.info> wrote:

> To get the top CPU consumers, use the "show proc cpu sorted" command.
> You're
> probably experiencing increase in "interrupt CPU usage" (packet
> forwarding),
> which is the second number in the "CPU utilization for five seconds" field
> in the top line.
>
> To get continuous CPU utilization display (similar to the Unix "top"
> command), use this Tclsh script:
>
> http://wiki.nil.com/Continuous_display_of_top_CPU_processes
>
> Ivan
>
> http://www.ioshints.info/about
> http://blog.ioshints.info/
>
>
> > -----Original Message-----
> > From: Deric Kwok [mailto:deric.kwok2...@gmail.com]
> > Sent: Saturday, February 28, 2009 6:59 PM
> > To: cisco-nsp@puck.nether.net
> > Subject: [c-nsp] how can I know which process takes over CPU
> > and memory?
> >
> > Hi All
> >
> > I am trying to add access rule to prevent outside accessing
> > to one host.
> >
> > I realize the router CPU (R700 CPU at 240MHz) graph rising
> > from 70% to 80%
> >
> > How can I know which process used up how many CPU and memory?
> >
> > I use show memory but don't understand the listing
> >
> > Thank you for your help
> >
> >
>
>
_______________________________________________
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to