Difference between revisions of "Cisco processes and load"

From Ever changing code
Jump to navigation Jump to search
Line 165: Line 165:
  nsatc.net                NA    (temp, EX) 24  SOA      admin.nsatc.net dl-cdn_infrastructure.level3.com
  nsatc.net                NA    (temp, EX) 24  SOA      admin.nsatc.net dl-cdn_infrastructure.level3.com
                                                     1363134183 10800 2700 3600000 900
                                                     1363134183 10800 2700 3600000 900
[[Category:cisco]]

Revision as of 13:13, 10 November 2013

This page provides how to get general info about your Cisco device.

Processes

ap3#show processes cpu
CPU utilization for five seconds: 0%/0%; one minute: 1%; five minutes: 18%
 PID Runtime(ms)     Invoked      uSecs   5Sec   1Min   5Min TTY Process
 PID Runtime(ms)     Invoked      uSecs   5Sec   1Min   5Min TTY Process
   1          76        1464         51  0.00%  0.00%  0.00%   0 Chunk Manager
   2           8       68954          0  0.00%  0.00%  0.00%   0 Load Meter
   3         196         266        736  0.15%  0.17%  0.05%   1 SSH Process
   4           0           1          0  0.00%  0.00%  0.00%   0 RO Notify Timers
   5      841172       81225      10356  0.00%  0.16%  0.21%   0 Check heaps
   6           0          38          0  0.00%  0.00%  0.00%   0 Pool Manager
   7           0           1          0  0.00%  0.00%  0.00%   0 DiscardQ Backgro
   8           0           2          0  0.00%  0.00%  0.00%   0 Timers
   9           0          62          0  0.00%  0.00%  0.00%   0 WATCH_AFS
  10           0           1          0  0.00%  0.00%  0.00%   0 AAA_SERVER_DEADT
  11           0           1          0  0.00%  0.00%  0.00%   0 Policy Manager
 PID Runtime(ms)     Invoked      uSecs   5Sec   1Min   5Min TTY Process
  12           0           1          0  0.00%  0.00%  0.00%   0 Crash writer
  13           0           1          0  0.00%  0.00%  0.00%   0 Exception contro
  14           4       10759          0  0.00%  0.00%  0.00%   0 SNTP
  15           0           1          0  0.00%  0.00%  0.00%   0 RMI RM Notify Wa
  17           0           1          0  0.00%  0.00%  0.00%   0 Net Input
  18           4          53         75  0.00%  0.00%  0.00%   0 ARP Input
  19           0      359613          0  0.00%  0.00%  0.00%   0 ARP Background
  20           0           2          0  0.00%  0.00%  0.00%   0 Entity MIB API
  21           0           1          0  0.00%  0.00%  0.00%   0 CEF MIB API
  22           0           3          0  0.00%  0.00%  0.00%   0 PrstVbl
  23           0      344764          0  0.00%  0.00%  0.00%   0 GraphIt
 PID Runtime(ms)     Invoked      uSecs   5Sec   1Min   5Min TTY Process
  24           0           1          0  0.00%  0.00%  0.00%   0 Critical Bkgnd
  25           4      103457          0  0.00%  0.00%  0.00%   0 Net Background
  26           0        8626          0  0.00%  0.00%  0.00%   0 IDB Work
  27        2664       28191         94  0.00%  0.00%  0.17%   0 Logger
  28      202052    18128190         11  0.00%  1.34% 17.43%   0 TTY Background
  29           0           4          0  0.00%  0.00%  0.00%   0 IF-MGR control p
  30           0          12          0  0.00%  0.00%  0.00%   0 IF-MGR event pro
  31           0           3          0  0.00%  0.00%  0.00%   0 Transport Port A

17.43% 0 TTY Background showing high cpu utilization due to ssh debugging on/tt> and terminal monitor enabled on ssh console.

CPU history graph

ap3#show processes cpu history

ap3   09:58:02 AM Sunday Nov 10 2013 UTC





                                               22222
  100
   90
   80
   70
   60
   50
   40
   30
   20
   10
     0....5....1....1....2....2....3....3....4....4....5....5....6
               0    5    0    5    0    5    0    5    0    5    0
               CPU% per second (last 60 seconds)




           668777
      22223015665 322222222222212222 22212222212222222222222222 22
  100
   90        *
   80        ****
   70        **#*
   60      *####*
   50      *#####
   40      *#####
   30      *#####
   20      ######
   10      ######
     0....5....1....1....2....2....3....3....4....4....5....5....6
               0    5    0    5    0    5    0    5    0    5    0
               CPU% per minute (last 60 minutes)
              * = maximum CPU%   # = average CPU%





      222322222733222444789887553233323232745886776555553724322377235645644447
  100
   90
   80
   70
   60
   50
   40
   30
   20
   10          *        ********          * ************ *      **  ** **    *
     0....5....1....1....2....2....3....3....4....4....5....5....6....6....7..
               0    5    0    5    0    5    0    5    0    5    0    5    0
                   CPU% per hour (last 72 hours)
                  * = maximum CPU%   # = average CPU%

Network connections

Open tcp/udp ports

r1#show control-plane host open-ports
Active internet connections (servers and established)
Prot               Local Address             Foreign Address                  Service    State
 tcp                        *:22                         *:0               SSH-Server   LISTEN
 tcp                        *:22         93.96.111.222:59875               SSH-Server ESTABLIS
 tcp                        *:23                         *:0                   Telnet   LISTEN
 tcp                        *:53                         *:0               DNS Server   LISTEN
 udp                     *:58093                         *:0                  IP SNMP   LISTEN
 udp                        *:53                         *:0               DNS Server   LISTEN
 udp                        *:67                         *:0            DHCPD Receive   LISTEN
 udp                       *:161                         *:0                  IP SNMP   LISTEN
 udp                       *:162                         *:0                  IP SNMP   LISTEN

TCP established connections

r1#show tcp brief
TCB       Local Address               Foreign Address             (state)
2AABFEA4  host81-133-111.222.in-addr.93-96-111.222.zone4.bethere ESTAB
          btopenworld.com.22          .co.uk.59875

UDP all connections

r1#show udp
Proto        Remote      Port      Local       Port  In Out  Stat TTY OutputIF
 17     10.0.10.89      18980 81.133.111.222     53   0   0 1000211   0
 17     10.0.10.53         68 10.0.99.100        67   0   0 1002211   0
 17       --listen--          81.133.111.222    161   0   0 1001001   0
 17       --listen--          81.133.111.222    162   0   0 1001011   0
 17       --listen--          81.133.111.222  58093   0   0 1001011   0
 17(v6)   --listen--          --any--           161   0   0 1020001   0
 17(v6)   --listen--          --any--           162   0   0 1020011   0
 17(v6)   --listen--          --any--         59325   0   0 1020011   0

NAT translations

r1#show ip nat nvi translations
Pro Source global      Source local       Destin  local      Destin  global
tcp 81.133.111.222:64625 10.0.10.33:64625 178.33.44.55:443  178.33.44.55:443
tcp 81.133.111.222:49220 10.0.10.38:49220 178.33.44.55:443  178.33.44.55:443
tcp 81.133.111.222:54938 10.0.10.44:54938 178.33.44.55:443  178.33.44.55:443
tcp 81.133.111.222:61214 10.0.10.46:61214 178.33.44.55:443  178.33.44.55:443
tcp 81.133.111.222:49163 10.0.10.47:49163 64.4.18.55:80      64.4.18.55:80

DNS translations

To display the default domain name, the style of name lookup service, a list of name server hosts, and the cached list of hostnames and addresses specific to a particular Domain Name System (DNS) view or for all configured DNS views. The show hosts command lists the name servers and their corresponding IP addresses. It also lists the hostnames, their corresponding IP addresses, and their corresponding aliases (if applicable) in a host table summary.

r1#show hosts
Default domain is home.geteway
Name/address lookup uses domain service
Name servers are 62.6.11.111, 194.72.22.222

Codes: UN - unknown, EX - expired, OK - OK, ?? - revalidate
       temp - temporary, perm - permanent
       NA - Not Applicable None - Not defined

Host                      Port  Flags      Age Type   Address(es)
bbc.co.uk                 None  (temp, OK)  0   IP    212.58.253.67
                                                      212.58.251.195
host81-133-111-222.in-add None  (temp, OK)  0   IP    81.133.111.222
l.doubleclick.net         NA    (temp, EX) 12  SOA      ns1.google.com dns-admin.google.com
                                                   1537818 21600 3600 1209600 300
Host                      Port  Flags      Age Type   Address(es)
nsatc.net                 NA    (temp, EX) 24  SOA      admin.nsatc.net dl-cdn_infrastructure.level3.com
                                                   1363134183 10800 2700 3600000 900