[dtrace-discuss] tcptop_snv only reporting 0.0.0.0 or 1.0.0.127 and local zone addresses

2010-06-08 Thread Hans-Peter
@all,

When running tcptop_snv on a global zone it shows only 0.0.0.0 and  1.0.0.127  
as LADDR. The remote addresses are always ip addresses that belong to the local 
zones.
In the output below the 116 and 117 addresses are zone addresses.
4701  28321 0.0.0.0 0 x.x.x.116 0   780 java
4703  21356 0.0.0.0 0 x.x.x.117 0  1134 opmn
4701   2028 0.0.0.0 0 x.x.x.116 0  1394 httpd
4701  20779 0.0.0.0 0 x.x.x.116 0  1542 oracle
4703  21444 0.0.0.0 0 x.x.x.117 0  1560 emagent
4701  19297 0.0.0.0 0 x.x.x.116 0  2894 oracle
4701   2025 0.0.0.0 0 x.x.x.116 0  3916 httpd

Is this normal behaviour?

regards HansP
-- 
This message posted from opensolaris.org
___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org


Re: [dtrace-discuss] trace: error on enabled probe ID invalid address

2010-06-04 Thread Hans-Peter
Hi Brian,

Thanks for your reply.
I fixed it.

I think I need to read the manuals a bit better.

regards Hans-Peter
-- 
This message posted from opensolaris.org
___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org


Re: [dtrace-discuss] trace: error on enabled probe ID invalid address

2010-06-04 Thread Hans-Peter
Well the bad news is that I am on Solaris 10. ;-)

Furthermore I am on a global zone (you cannot use dtrace in a local zone)
The traffic I see seems to be only traffic that is redirected to the local 
zones.

Using tcptop_snv the LADDR is always 0.0.0.0 or 1.0.0.127.

010 Jun  4 15:12:01,  load: 13.36,  TCPin: 71 KB,  TCPout:874 KB

 UIDPID LADDR   LPORT RADDR   RPORT  SIZE NAME
   0  0 1.0.0.1276100 1.0.0.127   48002   108 closed
   0  0 1.0.0.1276100 1.0.0.127   48003   108 closed
4702  29611 0.0.0.0 0 10.1.73.116 0   390 opmn
4703  21444 0.0.0.0 0 10.1.73.117 0   780 emagent
4701  28642 0.0.0.0 0 10.1.73.116 0  6633 tnslsnr

Regards HansP
-- 
This message posted from opensolaris.org
___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org


[dtrace-discuss] trace: error on enabled probe ID invalid address

2010-06-03 Thread Hans-Peter
Hi 

I am trying to make a dtrace script that captures tcp packets sent by a 
specific process.

But I receive the message:
dtrace: error on enabled probe ID 3 (ID 35884: 
fbt:sockfs:sostream_direct:return): invalid address (0x10639) in action #1 
at DIF offset 12

Can someone explain why this happens?

regards HansP

#!/usr/sbin/dtrace -Cs
 /*
  * Command line arguments
  */
 #include sys/file.h
#include inet/common.h
#include sys/byteorder.h
#include sys/socket.h
#include sys/socketvar.h

/*
 * Print header
 */
dtrace:::BEGIN
{
/* starting values */
counts = COUNTER;
secs = INTERVAL;
TCP_out = 0;
TCP_in = 0;

printf(Tracing... Please wait.\n);

start = 0;
}

fbt:sockfs:sostream_direct:entry
/ pid == $1  start == 0 /
{
self-sop = 1;
self-nsop = (struct sonode *)arg1;
self-tcpp = (tcp_t *)self-nsop-so_priv;
self-laddrs = self-nsop-so_laddr_sa;
start = 1;
printf(%50s : 
%10d\n,fbt:sockfs:sostream_direct:entry,self-nsop-so_sndbuf);
}

fbt:sockfs:sostream_direct:return
/ pid == $1  start == 1 /
{
self-connp = (conn_t *)self-tcpp-tcp_connp;
/*printf(%50s 
%10d\n,fbt:sockfs:sostream_direct:return,self-laddr-soa_len); */
printf(%50s \n,fbt:sockfs:sostream_direct:return);
}
-- 
This message posted from opensolaris.org
___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org


[dtrace-discuss] Java 1.4 garbage collection tracing without dvmpi.

2009-09-21 Thread Sloot, Hans-Peter
Hi,

Is it possible infer with other providers than dvmpi that garbage
collection is a performance issue in a jvm?

The dvmpi provider is not available on my system and I doubt that I will
have the permission to install it and 
 have the application restart with the -Xrundvmpi option.

Is there someone that can answer my question.

Regards Hans
ÿþDit bericht is vertrouwelijk en kan 
geheime informatie bevatten enkel

bestemd voor de geadresseerde. Indien 
dit bericht niet voor u is bestemd,

verzoeken wij u dit onmiddellijk aan 
ons te melden en het bericht te

vernietigen.

Aangezien de integriteit van het 
bericht niet veilig gesteld is middels

verzending via internet, kan Atos 
Origin niet aansprakelijk worden 
gehouden

voor de inhoud daarvan.

Hoewel wij ons inspannen een virusvrij 
netwerk te hanteren, geven

wij geen enkele garantie dat dit 
bericht virusvrij is, noch aanvaarden 
wij

enige aansprakelijkheid voor de 
mogelijke aanwezigheid van een virus in 
dit

bericht.

 

Op al onze rechtsverhoudingen, 
aanbiedingen en overeenkomsten 
waaronder

Atos Origin goederen en/of diensten 
levert zijn met uitsluiting van alle

andere voorwaarden de 
Leveringsvoorwaarden van Atos Origin 
van toepassing.

Deze worden u op aanvraag direct 
kosteloos toegezonden.

 

This e-mail and the documents attached 
are confidential and intended solely

for the addressee; it may also be 
privileged. If you receive this e-mail

in error, please notify the sender 
immediately and destroy it.

As its integrity cannot be secured on 
the Internet, the Atos Origin group

liability cannot be triggered for the 
message content. Although the

sender endeavours to maintain a 
computer virus-free network, the sender

does not warrant that this transmission 
is virus-free and will not be

liable for any damages resulting from 
any virus transmitted.

 

On all offers and agreements under 
which Atos Origin supplies goods and/or

services of whatever nature, the Terms 
of Delivery from Atos Origin

exclusively apply. 

The Terms of Delivery shall be promptly 
submitted to you on your request.

 

Atos Origin Nederland B.V. / Utrecht

KvK Utrecht 30132762___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

[dtrace-discuss] Why is plockstat provider only present for 1 process

2009-09-18 Thread Sloot, Hans-Peter
Hi,

I would like to know why dtrace -l |grep plockstat show plockstat28099
lines.
Process with pid 28099 is a java process.

Why can I not examine other processes with the plockstat provider?
Is it a java startup option?

Regards Hans
ÿþDit bericht is vertrouwelijk en kan 
geheime informatie bevatten enkel

bestemd voor de geadresseerde. Indien 
dit bericht niet voor u is bestemd,

verzoeken wij u dit onmiddellijk aan 
ons te melden en het bericht te

vernietigen.

Aangezien de integriteit van het 
bericht niet veilig gesteld is middels

verzending via internet, kan Atos 
Origin niet aansprakelijk worden 
gehouden

voor de inhoud daarvan.

Hoewel wij ons inspannen een virusvrij 
netwerk te hanteren, geven

wij geen enkele garantie dat dit 
bericht virusvrij is, noch aanvaarden 
wij

enige aansprakelijkheid voor de 
mogelijke aanwezigheid van een virus in 
dit

bericht.

 

Op al onze rechtsverhoudingen, 
aanbiedingen en overeenkomsten 
waaronder

Atos Origin goederen en/of diensten 
levert zijn met uitsluiting van alle

andere voorwaarden de 
Leveringsvoorwaarden van Atos Origin 
van toepassing.

Deze worden u op aanvraag direct 
kosteloos toegezonden.

 

This e-mail and the documents attached 
are confidential and intended solely

for the addressee; it may also be 
privileged. If you receive this e-mail

in error, please notify the sender 
immediately and destroy it.

As its integrity cannot be secured on 
the Internet, the Atos Origin group

liability cannot be triggered for the 
message content. Although the

sender endeavours to maintain a 
computer virus-free network, the sender

does not warrant that this transmission 
is virus-free and will not be

liable for any damages resulting from 
any virus transmitted.

 

On all offers and agreements under 
which Atos Origin supplies goods and/or

services of whatever nature, the Terms 
of Delivery from Atos Origin

exclusively apply. 

The Terms of Delivery shall be promptly 
submitted to you on your request.

 

Atos Origin Nederland B.V. / Utrecht

KvK Utrecht 30132762___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

[dtrace-discuss] Difference between plockstat and lockstat provider

2009-09-18 Thread Sloot, Hans-Peter
Hi,

Can someone explain the difference between the lockstat and plockstat
provider?

Regards Hans
ÿþDit bericht is vertrouwelijk en kan 
geheime informatie bevatten enkel

bestemd voor de geadresseerde. Indien 
dit bericht niet voor u is bestemd,

verzoeken wij u dit onmiddellijk aan 
ons te melden en het bericht te

vernietigen.

Aangezien de integriteit van het 
bericht niet veilig gesteld is middels

verzending via internet, kan Atos 
Origin niet aansprakelijk worden 
gehouden

voor de inhoud daarvan.

Hoewel wij ons inspannen een virusvrij 
netwerk te hanteren, geven

wij geen enkele garantie dat dit 
bericht virusvrij is, noch aanvaarden 
wij

enige aansprakelijkheid voor de 
mogelijke aanwezigheid van een virus in 
dit

bericht.

 

Op al onze rechtsverhoudingen, 
aanbiedingen en overeenkomsten 
waaronder

Atos Origin goederen en/of diensten 
levert zijn met uitsluiting van alle

andere voorwaarden de 
Leveringsvoorwaarden van Atos Origin 
van toepassing.

Deze worden u op aanvraag direct 
kosteloos toegezonden.

 

This e-mail and the documents attached 
are confidential and intended solely

for the addressee; it may also be 
privileged. If you receive this e-mail

in error, please notify the sender 
immediately and destroy it.

As its integrity cannot be secured on 
the Internet, the Atos Origin group

liability cannot be triggered for the 
message content. Although the

sender endeavours to maintain a 
computer virus-free network, the sender

does not warrant that this transmission 
is virus-free and will not be

liable for any damages resulting from 
any virus transmitted.

 

On all offers and agreements under 
which Atos Origin supplies goods and/or

services of whatever nature, the Terms 
of Delivery from Atos Origin

exclusively apply. 

The Terms of Delivery shall be promptly 
submitted to you on your request.

 

Atos Origin Nederland B.V. / Utrecht

KvK Utrecht 30132762___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Why is plockstat provider only present for 1 process

2009-09-18 Thread Sloot, Hans-Peter
Ok thanks.

It works!

 

-Original Message-
From: jonathan.has...@sun.com [mailto:jonathan.has...@sun.com] 
Sent: Friday, September 18, 2009 11:30
To: Sloot, Hans-Peter
Cc: dtrace-discuss@opensolaris.org
Subject: Re: [dtrace-discuss] Why is plockstat provider only present for
1 process

Hi Hans,

 I would like to know why dtrace -l |grep plockstat show plockstat28099

 lines.
 Process with pid 28099 is a java process.

 Why can I not examine other processes with the plockstat provider?
 Is it a java startup option?


No. The probes that plockstat uses only become visible when you actually
run the plockstat(1M) command against a running process.
We create them in a lazy manner like this because the probes that
plockstat relies upon are in libc and we don't want to create these
probes every time a process starts (and destroy them when it exits).

If you run plockstat against any other process then you'll now see the
probess when you execute `dtrace -l -P plockstat*`.

Jon.

ÿþDit bericht is vertrouwelijk en kan 
geheime informatie bevatten enkel

bestemd voor de geadresseerde. Indien 
dit bericht niet voor u is bestemd,

verzoeken wij u dit onmiddellijk aan 
ons te melden en het bericht te

vernietigen.

Aangezien de integriteit van het 
bericht niet veilig gesteld is middels

verzending via internet, kan Atos 
Origin niet aansprakelijk worden 
gehouden

voor de inhoud daarvan.

Hoewel wij ons inspannen een virusvrij 
netwerk te hanteren, geven

wij geen enkele garantie dat dit 
bericht virusvrij is, noch aanvaarden 
wij

enige aansprakelijkheid voor de 
mogelijke aanwezigheid van een virus in 
dit

bericht.

 

Op al onze rechtsverhoudingen, 
aanbiedingen en overeenkomsten 
waaronder

Atos Origin goederen en/of diensten 
levert zijn met uitsluiting van alle

andere voorwaarden de 
Leveringsvoorwaarden van Atos Origin 
van toepassing.

Deze worden u op aanvraag direct 
kosteloos toegezonden.

 

This e-mail and the documents attached 
are confidential and intended solely

for the addressee; it may also be 
privileged. If you receive this e-mail

in error, please notify the sender 
immediately and destroy it.

As its integrity cannot be secured on 
the Internet, the Atos Origin group

liability cannot be triggered for the 
message content. Although the

sender endeavours to maintain a 
computer virus-free network, the sender

does not warrant that this transmission 
is virus-free and will not be

liable for any damages resulting from 
any virus transmitted.

 

On all offers and agreements under 
which Atos Origin supplies goods and/or

services of whatever nature, the Terms 
of Delivery from Atos Origin

exclusively apply. 

The Terms of Delivery shall be promptly 
submitted to you on your request.

 

Atos Origin Nederland B.V. / Utrecht

KvK Utrecht 30132762___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

[dtrace-discuss] pid$provider appearing and disappearing

2009-09-11 Thread Hans-Peter
Hi,

My knowledge of dtrace is not very large.
Perhaps someone kan explain why at some point of time I see when executing 
dtrace -l provider pid24230 (24230 is a java process) and some time later it 
has disappeared whereas the process 24230 still exists?!

Regards Hans
-- 
This message posted from opensolaris.org
___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org


[dtrace-discuss] Dtrace and java 1.5

2009-09-09 Thread Hans-Peter Sloot
Hi,

I have used dtrace in the past for diagnosing IO/filesystem related issues.
So I am a bit familiar with dtrace scripts

Now I want to diagnose performance problems in the java area.
May be memory leak etc. 
The hotspot provider is not present.
How can I get them? 

Does someone have any further advice?

regards Hans
-- 
This message posted from opensolaris.org
___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org


Re: [dtrace-discuss] Dtrace and java 1.5

2009-09-09 Thread Hans-Peter Sloot
BTW I tried to understand the info on several websites but it has not become 
clear to me how to get the dvm or djvm providers.

Regards Hans
-- 
This message posted from opensolaris.org
___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org


Re: [dtrace-discuss] How to dig deeper

2008-12-08 Thread Hans-Peter
The buffer cache was already huge.
So I decided not to increase it.
There is a KEEP pool of 5G which is hardly used.
If needed I will sacrifice this cache and add it to the DEFAULT cache.

Until now it looks promising.
The average log file sync wait time has dropped from about 70ms to 7ms.
But we will see how things devellop.

Thanks so far to everybody who helped.

Regards Hans-Peter
-- 
This message posted from opensolaris.org
___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org


Re: [dtrace-discuss] How to dig deeper

2008-12-03 Thread Hans-Peter
Hi Lejun,

No there is only a 1 Oracle database running on this system.

regards Hans-Peter

 It seems VOP_RWLOCK takes a long time. ufs_rwlock
 starts at line 12, but ends at line 15611. Is there
 another application keeps reading/writing in your
 system?
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Hans-Peter
 Sent: 2008年12月3日 21:41
 To: dtrace-discuss@opensolaris.org
 Subject: Re: [dtrace-discuss] How to dig deeper
 
 Hello all,
 
 I added a clause to my script.
 sysinfo:::
 /self-traceme==1  pid == $1/
 {
 trace(execname);
 printf(sysinfo: timestamp : %d , timestamp);
 }
 A subsequent trace created a file of about 19000
 lines.
 I loaded in Excel to be able to subtrace timestamps
 etc.
 The longest jump in timestamp is between the first
 pair of savectx and restorectx at line 70.
 I count 50 savectx/restorectx calls in my trace.
 But the actual physical write as indicated by the
 sysinfo is almost at the end of the file directly
 after the ufs_write and fop_write call end (line
 18746).
 
   24  -  tsd_agent_get   oracle  timestamp   1795469946839100
   
   24  -  ufs_lockfs_top_vop_return   oracle  timestamp   
 1795
 469946841500  
   24  -  ufs_lockfs_top_vop_return   oracle  timestamp   
 1795
 469946844300  
   24  -  ufs_lockfs_end  oracle  timestamp   179546994684670
 0 
   24  -  ufs_write   oracle  timestamp   
 1795469946849600
   24  -  fop_write   oracle  timestamp   
 179546994685350057
 ,365,700
   24  |   pwrite  syswriteoracle  sysinfo timestamp   
 1795469
 946856800
   24  |   pwrite  writech oracle  sysinfo timestamp   17954699
 46860200
 
 So it seems that the actual write not the bottle neck
 but 
 I attached a zip file with the excel document.
 
 Am I right in thinking that is is more an OS issue
 than a storage issue?
 
 Regards Hans-Peter
 -- 
 This message posted from opensolaris.org
 ___
 dtrace-discuss mailing list
 dtrace-discuss@opensolaris.org
-- 
This message posted from opensolaris.org
___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] How to dig deeper

2008-12-03 Thread Hans-Peter
Hi Mauro,

Yes I understand why sysinfo is not the best to measure IO.
But I just wanted to see when in the whole trace the actual physical write was 
being done.
So it seems to me that, because the sysinfo:::pwrite is right at the end the 
performance bottle neck is more because of the locking etc.

The database files are on ufs filesystems.
Is zfs better?

Regards Hans-Peter
-- 
This message posted from opensolaris.org
___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org