Hello,The first question relates to the Dtrace, but the second question relates 
to the Solaris. So, you may find the second one off topic... I do appreciate if 
you answer both.
 
1) How can I measure the duration of a Dtrace script? I mean, a script starts 
for some syscall duration measurements. As I press ^c, I want to know what was 
the duration of system calls and whats was the duration of the script itself. 
Then by a differentiation, I will be aware of non-syscalls (i.e. normal user 
code).Consider the following script:
#!/usr/sbin/dtrace -qs
syscall:::entry
/pid == $target/
{
}
syscall:::return
/self->st[probefunc]/
{
}
END
{
    printf("%Y\n", walltimestamp);
} But that will print the wall clock time!!



2) I want to stop 16 processes for an application, which is running in the 
background, at once and after doing something, resume them at once again. 
Unfortunately, ^z is not applicable here... How that is possible in Solaris?

Regards,
Mahmood


-------------------------------------------
dtrace-discuss
Archives: https://www.listbox.com/member/archive/184261/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184261/25769126-e243886f
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769126&id_secret=25769126-8d47a7b2
Powered by Listbox: http://www.listbox.com

Reply via email to