Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

Re: Monitoring CPU usage

Posted By: Madison Pruet
Date: Wednesday, 16 February 2005, at 10:43 a.m.

In Response To: Monitoring CPU usage (Navaid Arif)

--0__=09BBE539DFC69E448f9e8a93df938690918c09BBE539DFC69E44
Content-type: multipart/alternative;
Boundary="1__=09BBE539DFC69E448f9e8a93df938690918c09BBE539DFC69E44"

--1__=09BBE539DFC69E448f9e8a93df938690918c09BBE539DFC69E44
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable






I read Michael's response and think that it is valid information.

However, I get confused with numbers. ;-) So my thumb-of-rule is more
like...

If [there tend to be threads in the ready queue (onstat -g rea)]
THEN
if [I have additional processors]
THEN
Add a CPUVP
ELSE
Buy an additional processor
Add a CPUVP
ENDIF
ENDIF


onstat -g rea tends to show several threads in the ready queue
then add another CPUVP



=

"Navaid Arif" =

<navaidarif@cyber =

access.com.pk> =
To
Sent by: ids@iiug.org =

forum.subscriber@ =
cc
iiug.org =

Subj=
ect
Monitoring CPU usage [4268] =

02/16/2005 04:00 =

AM =

=

=

=

=





Dear All,
I am using IDS 7.3 on RS-6000 p-Series with AIX. I have two hardwar=
e
processors in my server machine, but in onconfig file I found :

MULTIPROCESSOR 0 # 0 for single-processor, 1 for multi-processor
NUMCPUVPS 1 # Number of user (cpu) vps
SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to one
NOAGE 0 # Process aging
AFF_SPROC 0 # Affinity start processor
AFF_NPROCS 0 # Affinity number of processors


Before changing it to 'MULTIPROCESSOR 1' I want to confirm CPU utilizat=
ion.
As I will enable MULTIPROCESSOR, I will add a CPU VP as well. To make s=
ure
that IDS really need another CPU. I execute following command :

onstat -g glo

It gave following figures:


Informix Dynamic Server Version 7.31.FD3 -- On-Line -- Up 33 days
00:52:02 -
- 199728 Kbytes

MT global info:
sessions threads vps lngspins
71 92 16 0

sched calls thread switches yield 0 yield n yield for=
ever
total: 3195336250 456925131 2805835830 42590908 14570081=
4
per sec: 107 75 32 6 5

Virtual processor summary:
class vps usercpu syscpu total
cpu 1 97045.63 11157.28 108202.91
aio 10 583.66 1578.32 2161.98
lio 1 28.91 65.36 94.27
pio 1 146.55 650.22 796.77
adm 1 83.34 109.54 192.88
soc 1 1972.14 11626.22 13598.36
msc 1 43.17 13.06 56.23
total 16 99903.40 25200.00 125103.40

Individual virtual processors:
vp pid class usercpu syscpu total
1 16598 cpu 97045.63 11157.28 108202.91
2 11030 adm 83.34 109.54 192.88
3 17052 lio 28.91 65.36 94.27
4 16124 pio 146.55 650.22 796.77
5 17304 aio 133.37 373.77 507.14
6 18068 msc 43.17 13.06 56.23
7 17810 aio 103.90 328.03 431.93
8 17552 soc 1972.14 11626.22 13598.36
9 13338 aio 87.13 258.06 345.19
10 18326 aio 66.52 206.95 273.47
11 10192 aio 50.65 127.29 177.94
12 9682 aio 39.64 83.24 122.88
13 15342 aio 29.70 58.53 88.23
14 10510 aio 24.87 50.06 74.93
15 13898 aio 24.36 47.03 71.39
16 16184 aio 23.52 45.36 68.88
tot 99903.40 25200.00 125103.40


When I execute the same command after 8 minutes, it showed:

Informix Dynamic Server Version 7.31.FD3 -- On-Line -- Up 33 days
01:00:22 -
- 199728 Kbytes

MT global info:
sessions threads vps lngspins
71 92 16 0

sched calls thread switches yield 0 yield n yield for=
ever
total: 3207093453 456990509 2817528512 42592314 14572802=
9
per sec: 197366 487 196880 6 191

Virtual processor summary:
class vps usercpu syscpu total
cpu 1 97093.07 11158.27 108251.34
aio 10 584.38 1579.73 2164.11
lio 1 28.92 65.38 94.30
pio 1 146.59 650.35 796.94
adm 1 83.36 109.55 192.91
soc 1 1972.32 11627.18 13599.50
msc 1 43.19 13.06 56.25
total 16 99951.83 25203.52 125155.35

Individual virtual processors:
vp pid class usercpu syscpu total
1 16598 cpu 97093.07 11158.27 108251.34
2 11030 adm 83.36 109.55 192.91
3 17052 lio 28.92 65.38 94.30
4 16124 pio 146.59 650.35 796.94
5 17304 aio 133.51 373.95 507.46
6 18068 msc 43.19 13.06 56.25
7 17810 aio 104.02 328.32 432.34
8 17552 soc 1972.32 11627.18 13599.50
9 13338 aio 87.27 258.30 345.57
10 18326 aio 66.62 207.15 273.77
11 10192 aio 50.74 127.43 178.17
12 9682 aio 39.71 83.36 123.07
13 15342 aio 29.74 58.57 88.31
14 10510 aio 24.87 50.14 75.01
15 13898 aio 24.38 47.11 71.49
16 16184 aio 23.52 45.40 68.92
tot 99951.83 25203.52 125155.35


In a book, from where I found this command, it was written "IF THE
ACCUMULATED USERCPU AND SYSCPU TIMES, TAKEN TOGETHER, APPROACH 100 PERC=
ENT
OF THE ACTUAL ELAPSED TIME FOR THE PERIOD OF THE TEST, ADD ANOTHER CPU
VIRTUAL PROCESSOR IF YOU HAVE A CPU AVAILABLE TO RUN IT." I could not
understand, how will I get the percentage from this and how to read thi=
s
command's result?
If anybody knows any other way to monitor/check CPU utilization, please=

reply.

Thanks in advance.



Regards,

Navaid Arif
Software Operations Executive,
ORIX Network,
111-767-657 Ext: 223


=

--1__=09BBE539DFC69E448f9e8a93df938690918c09BBE539DFC69E44
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p>I read Michael's response and think that it is valid information.<br=
>
<br>
However, I get confused with numbers. ;-) So my thumb-of-rule is more =
like...<br>
<br>
If [there tend to be threads in the ready queue (onstat -g rea)]<br>
THEN <br>
if [I have additional processors]<br>
THEN <br>
Add a CPUVP<br>
ELSE<br>
Buy an additional processor<br>
Add a CPUVP<br>
ENDIF<br>
ENDIF<br>
<br>
<br>
onstat -g rea tends to show several threads in the ready queue<br>
then add another CPUVP<br>
<br>
<img src=3D"cid:10__=3D09BBE539DFC69E448f9e8a93df938@us.ibm.com" width=3D=
"16" height=3D"16" alt=3D"Inactive hide details for &quot;Navaid Arif&q=
uot; &lt;navaidarif@cyberaccess.com.pk&gt;">&quot;Navaid Arif&quot; &lt=
;navaidarif@cyberaccess.com.pk&gt;<br>
<br>
<br>

<table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">=

<tr valign=3D"top"><td style=3D"background-image:url(cid:20__=3D09BBE53=
9DFC69E448f9e8a93df938@us.ibm.com); background-repeat: no-repeat; " wid=
th=3D"40%">
<ul>
<ul>
<ul>
<ul><b><font size=3D"2">&quot;Navaid Arif&quot; &lt;navaidarif@cyberacc=
ess.com.pk&gt;</font></b><font size=3D"2"> </font><br>
<font size=3D"2">Sent by: forum.subscriber@iiug.org</font>
<p><font size=3D"2">02/16/2005 04:00 AM</font></ul>
</ul>
</ul>
</ul>
</td><td width=3D"60%">
<table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">=

<tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:3=
0__=3D09BBE539DFC69E448f9e8a93df938@us.ibm.com" border=3D"0" height=3D"=
1" width=3D"58" alt=3D""><br>
<div align=3D"right"><font size=3D"2">To</font></div></td><td width=3D"=
100%"><img src=3D"cid:30__=3D09BBE539DFC69E448f9e8a93df938@us.ibm.com" =
border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
<font size=3D"2">ids@iiug.org</font></td></tr>

<tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:3=
0__=3D09BBE539DFC69E448f9e8a93df938@us.ibm.com" border=3D"0" height=3D"=
1" width=3D"58" alt=3D""><br>
<div align=3D"right"><font size=3D"2">cc</font></div></td><td width=3D"=
100%"><img src=3D"cid:30__=3D09BBE539DFC69E448f9e8a93df938@us.ibm.com" =
border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
</td></tr>

<tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:3=
0__=3D09BBE539DFC69E448f9e8a93df938@us.ibm.com" border=3D"0" height=3D"=
1" width=3D"58" alt=3D""><br>
<div align=3D"right"><font size=3D"2">Subject</font></div></td><td widt=
h=3D"100%"><img src=3D"cid:30__=3D09BBE539DFC69E448f9e8a93df938@us.ibm.=
com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
<font size=3D"2">Monitoring CPU usage [4268]</font></td></tr>
</table>

<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0">
<tr valign=3D"top"><td width=3D"58"><img src=3D"cid:30__=3D09BBE539DFC6=
9E448f9e8a93df938@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt=
=3D""></td><td width=3D"336"><img src=3D"cid:30__=3D09BBE539DFC69E448f9=
e8a93df938@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><=
/td></tr>
</table>
</td></tr>
</table>
<br>
<tt>Dear All,<br>
&nbsp; &nbsp;I am using IDS 7.3 on RS-6000 p-Series with AIX. I have t=
wo hardware<br>
processors in my server machine, but in onconfig file I found :<br>
<br>
MULTIPROCESSOR 0 # 0 for single-processor, 1 for multi-processor<br>
NUMCPUVPS 1 # Number of user (cpu) vps<br>
SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to one<br>
NOAGE 0 # Process aging<br>
AFF_SPROC 0 # Affinity start processor<br>
AFF_NPROCS 0 # Affinity number of processors<br>
<br>
<br>
Before changing it to 'MULTIPROCESSOR 1' I want to confirm CPU utilizat=
ion.<br>
As I will enable MULTIPROCESSOR, I will add a CPU VP as well. To make s=
ure<br>
that IDS really need another CPU. I execute following command :<br>
<br>
onstat -g glo<br>
<br>
It gave following figures:<br>
<br>
<br>
Informix Dynamic Server Version 7.31.FD3 &nbsp; &nbsp; -- On-Line -- Up=
33 days<br>
00:52:02 -<br>
- 199728 Kbytes<br>
<br>
MT global info:<br>
sessions threads &nbsp;vps &nbsp; &nbsp; &nbsp;lngspins<br>
71 &nbsp; &nbsp; &nbsp; 92 &nbsp; &nbsp; &nbsp; 16 &nbsp; &nbsp; &nbsp;=
0<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sched calls &nbsp; &nbsp; thread swi=
tches yield 0 &nbsp; yield n &nbsp; yield forever<br>
total: &nbsp; &nbsp;3195336250 &nbsp; &nbsp; &nbsp;456925131 &nbsp; &nb=
sp; &nbsp; 2805835830 42590908 &nbsp;145700814<br>
per sec: &nbsp;107 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 75 &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;32 &nbsp; &nbsp; &nbsp; &nbsp;=
6 &nbsp; &nbsp; &nbsp; &nbsp; 5<br>
<br>
Virtual processor summary:<br>
class &nbsp; &nbsp; &nbsp; vps &nbsp; &nbsp; &nbsp; usercpu &nbsp; sys=
cpu &nbsp; &nbsp;total<br>
cpu &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; 97045.63=
&nbsp;11157.28 &nbsp;108202.91<br>
aio &nbsp; &nbsp; &nbsp; &nbsp; 10 &nbsp; &nbsp; &nbsp; &nbsp;583.66 &=
nbsp; &nbsp;1578.32 &nbsp; 2161.98<br>
lio &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; 28.91 &n=
bsp; &nbsp; 65.36 &nbsp; &nbsp; 94.27<br>
pio &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; 146.55 &=
nbsp; &nbsp;650.22 &nbsp; &nbsp;796.77<br>
adm &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; 83.34 &n=
bsp; &nbsp; 109.54 &nbsp; &nbsp;192.88<br>
soc &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; 1972.14 =
&nbsp; 11626.22 &nbsp;13598.36<br>
msc &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; 43.17 &n=
bsp; &nbsp; 13.06 &nbsp; &nbsp; 56.23<br>
total &nbsp; &nbsp; &nbsp; 16 &nbsp; &nbsp; &nbsp; &nbsp;99903.40 &nbs=
p;25200.00 &nbsp;125103.40<br>
<br>
Individual virtual processors:<br>
vp &nbsp; &nbsp;pid &nbsp; &nbsp; &nbsp; class &nbsp; &nbsp; &nbsp; us=
ercpu &nbsp; syscpu &nbsp; &nbsp;total<br>
1 &nbsp; &nbsp; 16598 &nbsp; &nbsp; cpu &nbsp; &nbsp; &nbsp; &nbsp; 97=
045.63 &nbsp;11157.28 &nbsp;108202.91<br>
2 &nbsp; &nbsp; 11030 &nbsp; &nbsp; adm &nbsp; &nbsp; &nbsp; &nbsp; 83=
.34 &nbsp; &nbsp; 109.54 &nbsp; &nbsp;192.88<br>
3 &nbsp; &nbsp; 17052 &nbsp; &nbsp; lio &nbsp; &nbsp; &nbsp; &nbsp; 28=
.91 &nbsp; &nbsp; 65.36 &nbsp; &nbsp; 94.27<br>
4 &nbsp; &nbsp; 16124 &nbsp; &nbsp; pio &nbsp; &nbsp; &nbsp; &nbsp; 14=
6.55 &nbsp; &nbsp;650.22 &nbsp; &nbsp;796.77<br>
5 &nbsp; &nbsp; 17304 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 13=
3.37 &nbsp; &nbsp;373.77 &nbsp; &nbsp;507.14<br>
6 &nbsp; &nbsp; 18068 &nbsp; &nbsp; msc &nbsp; &nbsp; &nbsp; &nbsp; 43=
.17 &nbsp; &nbsp; 13.06 &nbsp; &nbsp; 56.23<br>
7 &nbsp; &nbsp; 17810 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 10=
3.90 &nbsp; &nbsp;328.03 &nbsp; &nbsp;431.93<br>
8 &nbsp; &nbsp; 17552 &nbsp; &nbsp; soc &nbsp; &nbsp; &nbsp; &nbsp; 19=
72.14 &nbsp; 11626.22 &nbsp;13598.36<br>
9 &nbsp; &nbsp; 13338 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 87=
.13 &nbsp; &nbsp; 258.06 &nbsp; &nbsp;345.19<br>
10 &nbsp; &nbsp;18326 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 66=
.52 &nbsp; &nbsp; 206.95 &nbsp; &nbsp;273.47<br>
11 &nbsp; &nbsp;10192 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 50=
.65 &nbsp; &nbsp; 127.29 &nbsp; &nbsp;177.94<br>
12 &nbsp; &nbsp;9682 &nbsp; &nbsp; &nbsp;aio &nbsp; &nbsp; &nbsp; &nbs=
p; 39.64 &nbsp; &nbsp; 83.24 &nbsp; &nbsp; 122.88<br>
13 &nbsp; &nbsp;15342 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 29=
.70 &nbsp; &nbsp; 58.53 &nbsp; &nbsp; 88.23<br>
14 &nbsp; &nbsp;10510 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 24=
.87 &nbsp; &nbsp; 50.06 &nbsp; &nbsp; 74.93<br>
15 &nbsp; &nbsp;13898 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 24=
.36 &nbsp; &nbsp; 47.03 &nbsp; &nbsp; 71.39<br>
16 &nbsp; &nbsp;16184 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 23=
.52 &nbsp; &nbsp; 45.36 &nbsp; &nbsp; 68.88<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tot &nbsp; &nb=
sp; &nbsp; &nbsp; 99903.40 &nbsp;25200.00 &nbsp;125103.40<br>
<br>
<br>
When I execute the same command after 8 minutes, it showed:<br>
<br>
Informix Dynamic Server Version 7.31.FD3 &nbsp; &nbsp; -- On-Line -- Up=
33 days<br>
01:00:22 -<br>
- 199728 Kbytes<br>
<br>
MT global info:<br>
sessions threads &nbsp;vps &nbsp; &nbsp; &nbsp;lngspins<br>
71 &nbsp; &nbsp; &nbsp; 92 &nbsp; &nbsp; &nbsp; 16 &nbsp; &nbsp; &nbsp;=
0<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sched calls &nbsp; &nbsp; thread swi=
tches yield 0 &nbsp; yield n &nbsp; yield forever<br>
total: &nbsp; &nbsp;3207093453 &nbsp; &nbsp; &nbsp;456990509 &nbsp; &nb=
sp; &nbsp; 2817528512 42592314 &nbsp;145728029<br>
per sec: &nbsp;197366 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;487 &nbsp; &nbs=
p; &nbsp; &nbsp; &nbsp; &nbsp; 196880 &nbsp; &nbsp;6 &nbsp; &nbsp; &nbs=
p; &nbsp; 191<br>
<br>
Virtual processor summary:<br>
class &nbsp; &nbsp; &nbsp; vps &nbsp; &nbsp; &nbsp; usercpu &nbsp; sys=
cpu &nbsp; &nbsp;total<br>
cpu &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; 97093.07=
&nbsp;11158.27 &nbsp;108251.34<br>
aio &nbsp; &nbsp; &nbsp; &nbsp; 10 &nbsp; &nbsp; &nbsp; &nbsp;584.38 &=
nbsp; &nbsp;1579.73 &nbsp; 2164.11<br>
lio &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; 28.92 &n=
bsp; &nbsp; 65.38 &nbsp; &nbsp; 94.30<br>
pio &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; 146.59 &=
nbsp; &nbsp;650.35 &nbsp; &nbsp;796.94<br>
adm &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; 83.36 &n=
bsp; &nbsp; 109.55 &nbsp; &nbsp;192.91<br>
soc &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; 1972.32 =
&nbsp; 11627.18 &nbsp;13599.50<br>
msc &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; 43.19 &n=
bsp; &nbsp; 13.06 &nbsp; &nbsp; 56.25<br>
total &nbsp; &nbsp; &nbsp; 16 &nbsp; &nbsp; &nbsp; &nbsp;99951.83 &nbs=
p;25203.52 &nbsp;125155.35<br>
<br>
Individual virtual processors:<br>
vp &nbsp; &nbsp;pid &nbsp; &nbsp; &nbsp; class &nbsp; &nbsp; &nbsp; us=
ercpu &nbsp; syscpu &nbsp; &nbsp;total<br>
1 &nbsp; &nbsp; 16598 &nbsp; &nbsp; cpu &nbsp; &nbsp; &nbsp; &nbsp; 97=
093.07 &nbsp;11158.27 &nbsp;108251.34<br>
2 &nbsp; &nbsp; 11030 &nbsp; &nbsp; adm &nbsp; &nbsp; &nbsp; &nbsp; 83=
.36 &nbsp; &nbsp; 109.55 &nbsp; &nbsp;192.91<br>
3 &nbsp; &nbsp; 17052 &nbsp; &nbsp; lio &nbsp; &nbsp; &nbsp; &nbsp; 28=
.92 &nbsp; &nbsp; 65.38 &nbsp; &nbsp; 94.30<br>
4 &nbsp; &nbsp; 16124 &nbsp; &nbsp; pio &nbsp; &nbsp; &nbsp; &nbsp; 14=
6.59 &nbsp; &nbsp;650.35 &nbsp; &nbsp;796.94<br>
5 &nbsp; &nbsp; 17304 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 13=
3.51 &nbsp; &nbsp;373.95 &nbsp; &nbsp;507.46<br>
6 &nbsp; &nbsp; 18068 &nbsp; &nbsp; msc &nbsp; &nbsp; &nbsp; &nbsp; 43=
.19 &nbsp; &nbsp; 13.06 &nbsp; &nbsp; 56.25<br>
7 &nbsp; &nbsp; 17810 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 10=
4.02 &nbsp; &nbsp;328.32 &nbsp; &nbsp;432.34<br>
8 &nbsp; &nbsp; 17552 &nbsp; &nbsp; soc &nbsp; &nbsp; &nbsp; &nbsp; 19=
72.32 &nbsp; 11627.18 &nbsp;13599.50<br>
9 &nbsp; &nbsp; 13338 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 87=
.27 &nbsp; &nbsp; 258.30 &nbsp; &nbsp;345.57<br>
10 &nbsp; &nbsp;18326 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 66=
.62 &nbsp; &nbsp; 207.15 &nbsp; &nbsp;273.77<br>
11 &nbsp; &nbsp;10192 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 50=
.74 &nbsp; &nbsp; 127.43 &nbsp; &nbsp;178.17<br>
12 &nbsp; &nbsp;9682 &nbsp; &nbsp; &nbsp;aio &nbsp; &nbsp; &nbsp; &nbs=
p; 39.71 &nbsp; &nbsp; 83.36 &nbsp; &nbsp; 123.07<br>
13 &nbsp; &nbsp;15342 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 29=
.74 &nbsp; &nbsp; 58.57 &nbsp; &nbsp; 88.31<br>
14 &nbsp; &nbsp;10510 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 24=
.87 &nbsp; &nbsp; 50.14 &nbsp; &nbsp; 75.01<br>
15 &nbsp; &nbsp;13898 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 24=
.38 &nbsp; &nbsp; 47.11 &nbsp; &nbsp; 71.49<br>
16 &nbsp; &nbsp;16184 &nbsp; &nbsp; aio &nbsp; &nbsp; &nbsp; &nbsp; 23=
.52 &nbsp; &nbsp; 45.40 &nbsp; &nbsp; 68.92<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tot &nbsp; &nb=
sp; &nbsp; &nbsp; 99951.83 &nbsp;25203.52 &nbsp;125155.35<br>
<br>
<br>
In a book, from where I found this command, it was written &quot;IF THE=
<br>
ACCUMULATED USERCPU AND SYSCPU TIMES, TAKEN TOGETHER, APPROACH 100 PERC=
ENT<br>
OF THE ACTUAL ELAPSED TIME FOR THE PERIOD OF THE TEST, ADD ANOTHER CPU<=
br>
VIRTUAL PROCESSOR IF YOU HAVE A CPU AVAILABLE TO RUN IT.&quot; I could =
not<br>
understand, how will I get the percentage from this and how to read thi=
s<br>
command's result?<br>
If anybody knows any other way to monitor/check CPU utilization, please=
<br>
reply.<br>
<br>
Thanks in advance.<br>
<br>
<br>
<br>
Regards,<br>
<br>
Navaid Arif<br>
Software Operations Executive,<br>
ORIX Network,<br>
111-767-657 Ext: 223<br>
<br>
<br>
</tt><br>
</body></html>=


--1__=09BBE539DFC69E448f9e8a93df938690918c09BBE539DFC69E44--


--0__=09BBE539DFC69E448f9e8a93df938690918c09BBE539DFC69E44
Content-type: image/gif;
name="graycol.gif"
Content-Disposition: inline; filename="graycol.gif"
Content-ID: <10__=09BBE539DFC69E448f9e8a93df938@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu
ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7

--0__=09BBE539DFC69E448f9e8a93df938690918c09BBE539DFC69E44
Content-type: image/gif;
name="pic24071.gif"
Content-Disposition: inline; filename="pic24071.gif"
Content-ID: <20__=09BBE539DFC69E448f9e8a93df938@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhWABDALP/AAAAAK04Qf79/o+Gm7WuwlNObwoJFCsoSMDAwGFsmIuezf///wAAAAAAAAAA
AAAAACH5BAEAAAgALAAAAABYAEMAQAT/EMlJq704682770RiFMRinqggEUNSHIchG0BCfHhOjAuh
EDeUqTASLCbBhQrhG7xis2j0lssNDopE4jfIJhDaggI8YB1sZeZgLVA9YVCpnGagVjV171aRVrYR
RghXcAGFhoUETwYxcXNyADJ3GlcSKGAwLwllVC1vjIUHBWsFilKQdI8GA5IcpApeJQt8L09lmgkH
LZikoU5wjqcyAMMFrJIDPAKvCFletKSev1HBw8KrxtjZ2tvc3d5VyKtCKW3jfz4uMKmq3xu4N0nK
BVoJQmx2LGVOmrqNjjJf2hHAQo/eDwJGTKhQMcgQEEAnEjFS98+RnW3smGkZU6ncCWav/4wYOnAI
TihRL/4FEwbp28BXMMcoscQCVxlepL4IGDSCyJyVQOu0o7CjmLN50OZlqWmyFy5/6yBBuji0AxFR
M00oQAqNIstqI6qKHUsWRAEAvagsmfUEAImyxgbmUpJk3IklNUtJOUAVLoUr1+wqDGTE4zk+T6FG
uQb3SizBCwatiiUgCBN8vrz+zFjVyQ8FWkOlg4NQiZMB5QS8QO3mpOaKnL0Z2EKvNMSILEThKhCg
zMKPVxYJh23qm9KNW7pArPynMqZDiErsTMqI+LRi3QAgkFUbXpuFKhSYZALd0O5RKa2z9EYKBbpb
qxIKsjUPRgD7I2XYV6wyrOw92ykExP8NW4URhknC5dKGE4v4NENQj2jXjmfNgOZDaXb5glRmXQ33
YEWQYNcZFnrYcIQLNzyTFDQNkXIff0ExVlY4srziQk43inZgL4rwxxINMvpFFAz1KOODHiu+4aEw
NEjFl5B3JIKWKF3k6I9bfUGp5ZZcdunll5IA4cuHvQQJ5gcsoCWOOUwgltIwAKRxJgbIkJAQZEq0
2YliZnpZZ4BH3CnYOXldOUOfQoYDqF1LFHbXCrO8xmRsfoXDXJ6ChjCAH3QlhJcT6VWE6FCkfCco
CgrMFsROrIEX3o2whVjWDjoJccN3LdggSGXLCdLEgHr1lyU3O3QxhgohNKXJCWv8JQr/PDdaqd6w
2rj1inLiGeiCJoDspAoQlYE6QWLSECehcWIYxIQES6zhbn1iImTHEQyqJ4eIxJJoUBc+3CbBuwZE
V5cJPPkIjFDdeEabQbd6WgICTxiiz0f5dBKquXF6k4senwEhYGnKEFJeGrxUZy8dB8gmAXI/sPvH
ESfCwVt5hTgYiqQqtdRNHQIU1PJ33ZqmzgE90OwLaoJcnMop1WiMmgkPHQRIrwgFuNV90A3doNKT
mrKIN07AnGcI9BQjhCBN4RfA1qIZnMqorJCogKfGQnxSCDilTVIA0yl5ciTovgLuBDKFUDE9aQcw
9SA+rjSNf9/M1gxrj6VwDTS0IUSElMzBfsj0NFXR2kwsV1A5IF1grLgLL/r1R40BZEnuBWgmQEyb
jqRwSAt6bqMCOFkvKFN2GPPkUzIm/SCF8z8pVzpbjVnMsy0vOr1hw3SaSRUhpY09v0z0J1FnwzPl
fmh+xl4WtR0zGu24I4KbMQm3lnVu2oNWxI9W/lcyzA+mCKF4DBikxb/+UWtOGRiFP8qEwAayIgIA
Ow==

--0__=09BBE539DFC69E448f9e8a93df938690918c09BBE539DFC69E44
Content-type: image/gif;
name="ecblank.gif"
Content-Disposition: inline; filename="ecblank.gif"
Content-ID: <30__=09BBE539DFC69E448f9e8a93df938@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhEAABAIAAAAAAAP///yH5BAEAAAEALAAAAAAQAAEAAAIEjI8ZBQA7

--0__=09BBE539DFC69E448f9e8a93df938690918c09BBE539DFC69E44--

Messages In This Thread

  • Monitoring CPU usage
    Navaid Arif -- Wednesday, 16 February 2005, at 5:00 a.m.
    • Re: Monitoring CPU usage
      Michael Mueller -- Wednesday, 16 February 2005, at 7:33 a.m.
    • Re: Monitoring CPU usage
      Madison Pruet -- Wednesday, 16 February 2005, at 10:43 a.m.

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.