Hi, > I am look for suggestions to use Dtrace and its tools for monitioring > a Solaris box with Informix DB and has Containers? > > How to monitor Containers for IO stat/ CPU time/idle time/ Top 10 > commmands what is taking maximum CPU resorses and memory
Solaris already have few nice tools to do that, and they work in zones.
IO stats - iostat(1M)
CPU time/idle time - prstat(1M)
Memory consumption - ps(1), vmstat(1M)
I'm not sure what "Top 10 commands means". Perhaps top 10 most executed
? That can be done with dtrace
$ dtrace -n 'proc:::exec-success{ @[execname]=count() }'
This starts to count newly executed processes. It display results when
you press Ctrl+C.
> Is using Unix commands is better or using Dtace and
> its tools is better.
The traditional unix commands are probably more convenient as a start.
If you are looking for some specific issue, you might be able to get
more detailed information using dtrace.
HTH
--
Vlad
pgpfN64d3njW7.pgp
Description: PGP signature
_______________________________________________ dtrace-discuss mailing list [email protected]
