12-18-2007 11:57 PM - edited 03-10-2019 03:54 AM
Hi,
Kindly indicate the command to know the IDS cpu utilization.Thanks in advance
12-19-2007 06:19 AM
An a non service user, try:
show statistics host
As the service user try (this will give you much better insight into utilization):
top
12-20-2007 02:31 AM
Hi,
Thanks for ur response.By using the above command i m finding only mem usage..i need to know the cpu utilization
12-20-2007 05:27 AM
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
12-27-2007 01:43 AM
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
12-27-2007 07:08 AM
4.x? sorry, can't help you there, I haven't used that version in years.
12-27-2007 10:30 AM
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.
01-01-2008 10:36 PM
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
01-02-2008 06:57 AM
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
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: