|
̾??vtimes —
????????ѤˤĤ??Ƥξ?????????
????#include <sys/vtimes.h>
vtimes (struct vtimes *par_vm,
struct vtimes *ch_vm)
???????Υ??ե??????ϡ?getrusage(2)
?ˤ??ä??֤??????????ޤ?????
???δؿ??ϡ??ߴ????饤?֥??ꡢlibcompat
???????ѤǤ??ޤ???
???δؿ????ƤӽФ??????ϡ??ƥХåե??ˤϥ??롼?ɥե????? /usr/include/sys/vtimes.h ?????Ƥˤ??ä????????줿???Τ褦?ʾ????? ?????ޤ??? struct vtimes { int vm_utime; /* user time (*HZ) */ int vm_stime; /* system time (*HZ) */ /* divide next two by utime+stime to get averages */ unsigned vm_idsrss; /* integral of d+s rss */ unsigned vm_ixrss; /* integral of text rss */ int vm_maxrss; /* maximum rss */ int vm_majflt; /* major page faults */ int vm_minflt; /* minor page faults */ int vm_nswap; /* number of swaps */ int vm_inblk; /* block reads */ int vm_oublk; /* block writes */ }; vm_utime ?????? vm_stime ?Υե??????ɤϡ?60 ʬ?? 1 ?? (?????????θ?ή?μ??ȿ??? 50 Hz ?ξ????? 50 ʬ?? 1 ??) ??ñ?̤Ǥ??줾???桼?????֤? ?????ƥ????֤??ޤ??? vm_idrss ?????? vm_ixrss ?ϡ????????λ????٤?¬???ޤ??????줾?졢 CPU ???֤??Ф??????ѥ??????ڡ????ο?????ʬ???? ?????ޤ??????????ϡ??????å??? 1 ???????٤? ???ߤΥ?????????(512 ?Х??ȥڡ?????ñ?̤?)???û????ơ? Υ??Ū?˷????????Τ褦?˼??????ޤ??????? ?ץ????????ǡ????????ӥ????å??ˤĤ??? 1 cpu ?ä? 5 ?????ڡ??????Ȥä??????ϡ? vm_idsrss ?? 5*60 ???ͤ????????????? vm_utime+vm_stime ?? 60 ?Ȥʤ??ޤ??? ???? Vm_idsrss ?ϥǡ????ȥ????å??Υ????????Ȼ????٤??ѻ????? vm_ixrss ?ϥƥ????ȥ????????Ȥλ????٤??ѻ????ޤ??? Vm_maxrss ?ؿ??ϡ? ?ƥ?????+?ǡ???+?????å??Υ??????ߤΥڡ??????????Ȥκ????ִ????¤? ?????ޤ??? vm_majflt ?ե??????ɤϡ??ǥ?????ư???˷??ӤĤ????ڡ????ե??????Ȥο??? ?????ޤ??? vm_minflt ?ե??????ɤϡ????ȥӥåȤΥ??ߥ??졼???????ǰ??????????줿 ?ڡ????ե??????Ȥο????ޤ??? vm_nswap ?ϡ??????ä??????åפο??Ǥ??? ?ե????륷???ƥ???????/???ϥ??٥??Ȥβ????ϡ? vm_inblk ?????? vm_oublk ?ˤ??äƼ??????ޤ??? ???????ο????ϡ??ºݤ? I/O ?Τߤ??????ޤ??? ?????å??????ˤ??äƶ??뤵?줿?ǡ????ϡ????Υǡ??????ɤ߽????ǽ??? ?ץ????????Ф??ƤΤߴ??ꤵ???ޤ??? ????getrusage(2), wait3(2), time(3)????vlimit () ?ؿ??ϡ?
4.2BSD ?˸????ޤ?????
?Х????δؿ??ϡ?̤???˺Ƽ????????Ƥ??ޤ?????
Visit the GSP FreeBSD Man Page Interface. |