Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Cpu utilization of NIDS 4235

Hi,

Kindly indicate the command to know the IDS cpu utilization.Thanks in advance

8 REPLIES
Gold

Re: Cpu utilization of NIDS 4235

An a non service user, try:

show statistics host

As the service user try (this will give you much better insight into utilization):

top

New Member

Re: Cpu utilization of NIDS 4235

Hi,

Thanks for ur response.By using the above command i m finding only mem usage..i need to know the cpu utilization

Gold

Re: Cpu utilization of NIDS 4235

You don't mention which version of software you're using, but with 6.x it shows a bunch of statistics including CPU. You have to "page" through them.

# show statistics host

General Statistics

NTP Statistics

Memory Usage

Summertime Statistics

CPU Statistics

Usage over last 5 seconds = 44

Usage over last minute = 36

Usage over last 5 minutes = 26

New Member

Re: Cpu utilization of NIDS 4235

Thanks for ur response.My ver is 4.1(5)..showing like bellow..

IDS# sh statistics host

General Statistics

Last Change To Host Config (UTC) = 03:58:53 Tue Dec 04 2007

Command Control Port Device = eth1

Command Control Port Type = tx

Network Statistics

eth1 Link encap:Ethernet HWaddr 00:0D:56:FD:7B:97

inet addr:172.X.X.X Bcast:172.

x.x. Mask:255.255.252.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:57782472 errors:0 dropped:0 overruns:0 frame:0

TX packets:25549317 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:100

RX bytes:2342748677 (2234.2 Mb) TX bytes:3744649148 (3571.1 Mb)

Interrupt:16 Base address:0xdcc0 Memory:feb20000-feb40000

NTP Statistics

status = Not applicable

Memory Usage

usedBytes = 911388672

freeBytes = 10133504

totalBytes = 921522176

Swap Usage

usedBytes = 0

freeBytes = 0

totalBytes = 0

Gold

Re: Cpu utilization of NIDS 4235

4.x? sorry, can't help you there, I haven't used that version in years.

Silver

Re: Cpu utilization of NIDS 4235

I don't know if this method is supported

by Cisco TAC but you can do it quite easily.

I tested this on version 4.1. By the way,

IDS version 4.1 is a LinuxOS.

a- create an account called "test" and assign "service" privilege,

b- logout of the IDS and log back in with

the test account. This will put you in

bash shell,

c- type "su -" and enter the "admin" or "root" password,

d- now you are in superuser mode, type "top".

This will show you cpu usage in real-time.

New Member

Re: Cpu utilization of NIDS 4235

Thanks a lot..It is working..but its is showing separatly like bellow..What is the meaning of nice in that...so to know the total cpu usage i have to add the all usages apart from idle usage..

CPU states: 18.4% user, 3.7% system, 3.1% nice, 74.7% idle

Silver

Re: Cpu utilization of NIDS 4235

How familiar with Unix/Linux? That's how

it works. Another command you may want

to use is "vmstat x" where x is the number

of seconds you want it to repeat.

CCIE security

180
Views
13
Helpful
8
Replies