????? ??? ?????????? ???????????????? ???-???? ??????, ?? ????
???????? ?????? ? ?????? ??????????:
http://developers.sun.com/solaris/articles/time_stamp.html

2008/4/11 Aleks <technoplague at gmail.com>:
> ?????? osug,
>
>  ???? ???????? ? ????? ???????? ? ????????? ?????? ? ?? ??????????.
>  ???? ? ???? ???? ?????????? ?? ??????. ??? ??????. ???????? ?? ????????. 
> ???????? ? ???, ??? ?????????? ?????? ????? ??? ???????????? ????? ?? ????? 
> ?????? ?????????. ? ??????? ??? ? ??????? DTrace. ??? ????? ?????????? ? ???? 
> ???????:
>
>  1. ?????? ??????? ? ??????? ?????????, ??? ????? ???????????:
>
>  zosma:/root #prstat -s cpu | head -2
>    PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
>   20285 kplus      86M   58M cpu0     0    0  44:30:38  25% ReportsServer/27
>
>  ??? ? ?????, ?? ??????????? ???????? ??????? 65-70 ?????????
>
>  2. ?????? ? ??????? D ???????? ?? ??????? ??????????? ????????? ?????? ??? 
> ??????? PID?
>
>  CPU Times for PID 20285,
>
>          SYSCALL          TIME (ns)
>           getpid               1000
>            fcntl               3300
>       systeminfo               3400
>          fstat64               6900
>            lseek              18200
>             fsat              28300
>       getdents64              39900
>             stat              50900
>            write             101000
>            close             115400
>             open             136700
>             send             347400
>             recv             854700
>           writev            1190200
>          pollsys            1481200
>         lwp_park            3609000
>            gtime          362015200
>           TOTAL:          370002700
>
>  ????? ?????????, ??? ?????? ????? ?? ????????, ?? ????? ?????? ?????????.
>
>  3. ????????? ????????? ?????
>
>  gtime()          = 1207917137 0
>
>               libc.so.1`__time+0x4
>               libKTools03.so`__1cPKT_DispatcherFDIdoTimers6M_v_+0x4
>               libKTools03.so`__1cPKT_DispatcherFDNstartMainLoop6M_v_+0xac
>               libReportsServer.so`__1cLeventThread6Fpv_0_+0xc
>               libc.so.1`_lwp_start
>
>  ??? ???????!
>
>  ???-?? ???????????? ????????? ???????, ???? ?????????? ? ??????? ??????????:
>
>  Kcs                      76
>  rvd                      339
>  dataserver           344
>  java                    1454
>  ReportsServer      3046
>
>  ?????? ???-???? ???????????????? ???????? ??????????
>
>
>  This message posted from opensolaris.org
>  _______________________________________________
>  ug-ruosug mailing list
>  ug-ruosug at opensolaris.org
>  http://mail.opensolaris.org/mailman/listinfo/ug-ruosug
>

Reply via email to