archive-com.com » COM » O » ORCAWARE.COM

Total: 284

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".

  • com orca docs orcallator html web server error rate Interface bits per second for 10 Mbit interfaces plot title g Interface Bits Per Second 1 source orcallator data 1024 8 elxl le qe d InKB s data 1024 8 1OuKB s line type area line type line1 legend Input legend Output y legend Bits s data min 0 data max 10000000 href http www orcaware com orca docs orcallator html interface bits per second Interface bits per second for 100 Mbit interfaces plot title g Interface Bits Per Second 1 source orcallator data 1024 8 be dfme eri hme qfe d InKB s data 1024 8 1OuKB s line type area line type line1 legend Input legend Output y legend Bits s data min 0 data max 100000000 href http www orcaware com orca docs orcallator html interface bits per second Interface bits per second for 1 Gbit interfaces plot title g Interface Bits Per Second 1 source orcallator data 1024 8 ce v ge skge d InKB s data 1024 8 1OuKB s line type area line type line1 legend Input legend Output y legend Bits s data min 0 data max 1000000000 href http www orcaware com orca docs orcallator html interface bits per second plot title g Interface Packets Per Second 1 source orcallator data d Ipkt s data 1Opkt s line type area line type line1 legend Input legend Output y legend Packets s data min 0 data max 100000 flush regexps 1 href http www orcaware com orca docs orcallator html interface packets per second plot title g Interface Errors Per Second 1 source orcallator data d IErr s data 1OErr s line type area line type line1 legend Input legend Output y legend Errors s data min 0 flush regexps 1 href http www orcaware com orca docs orcallator html interface errors per second plot title g Interface Deferred Packet Rate source orcallator data d Defr s line type area legend 1 y legend Defers s data min 0 flush regexps 1 href http www orcaware com orca docs orcallator html interface deferred packet rate plot title g Interface Collisions source orcallator data d Coll line type area legend 1 y legend Percent data min 0 data max 200 flush regexps 1 href http www orcaware com orca docs orcallator html interface collisions plot title g Interface Nocanput Rate source orcallator data d NoCP s line type area legend 1 y legend Nocanput s data min 0 flush regexps 1 href http www orcaware com orca docs orcallator html interface nocanput rate plot title g TCP Bits Per Second source orcallator data 1024 8 tcp InKB s data 1024 8 tcp OuKB s line type area line type line1 legend Input legend Output y legend Bits s data min 0 data max 1000000000 href http www orcaware com orca docs orcallator html TCP bits per second plot title g TCP Segments Per Second source orcallator data tcp Iseg s data tcp Oseg s line

    Original URL path: https://www.orcaware.com/orca/pub/orcallator.cfg-1.35.txt (2016-04-24)
    Open archived version from archive



  • string request endif endif ishead 0 word strtok buf if word nil return ifdef WATCH SQUID word contains unix time in seconds milliseconds word strtok nil elapsed request time in ms xf atof word 1000 0 prxy squid xfer sum xf ifdef DINKY printf time s f total f n word xf xfer sum endif word strtok nil client IP address logtag strtok nil Log tag word strtok nil reply code if word nil if strstr word 304 nil httpop condgets if strncmp word 4 1 0 strncmp word 5 1 0 httpop errors word strtok nil size sent to client z atoi word request strtok nil Request method word strtok nil URL if word nil if strstr word cgi bin nil httpop cgi bins if strstr word search url nil httpop searches word strtok nil optional user ident word strtok nil Hierarchy if word nil if strstr word DIRECT nil prxy squid indirect word strtok nil Hostname word strtok nil content type process the collected data if strstr logtag TCP nil squid client http if strstr logtag UDP nil squid icp requests if strstr logtag HIT nil prxy squid cache hits if strstr logtag MISS nil squid cache misses switch request case GET httpop gets break case POST httpop posts break case HEAD ishead 1 httpop condgets break case ICP QUERY squid icp queries default break if ishead 0 don t add size if its a HEAD dwnld totalz z if z 1MB dwnld size size index prxy squid xfer by size size index xf else common or netscape proxy formats strtok nil strtok nil strtok nil date strtok nil zone word strtok nil GET or POST switch word case get case GET httpop gets break case post case POST httpop posts break case head case HEAD ishead 1 httpop condgets break default break word strtok nil URL if word nil if strstr word cgi bin nil httpop cgi bins if strstr word search url nil httpop searches Sometimes HTTP 1 x is not listed in the access log Skip it if it does exist Load the error success code word strtok nil if word nil if strstr word HTTP nil strstr word http nil word strtok nil if word nil if strstr word 304 nil httpop condgets else if strncmp word 4 1 0 strncmp word 5 1 0 httpop errors word strtok nil bytes transferred if word nil z atoi word if ishead 0 don t add size if its a HEAD dwnld totalz z if z 1024 z size index 0 under 1K else if z 10240 z size index 1 under 10K else if z 102400 z size index 2 under 100K else if z 1048576 z size index 3 1MB dwnld size size index ifdef WATCH PROXY word strtok nil status from server word strtok nil length from server word strtok nil length from client POST word strtok nil length POSTed to remote word strtok nil client header req word strtok nil proxy header

    Original URL path: https://www.orcaware.com/orca/pub/orcallator.se-1.04.txt (2016-04-24)
    Open archived version from archive


  • avail put output page rstim sprintf 10d tmp lrram restime put output free pages sprintf 10d GLOBAL pvm 0 freemem 1024 page size endif ifdef WATCH PAGES handle pages put output pp kernel sprintf 9lu tmp kstat pages pp kernel put output pagesfree sprintf 9lu tmp kstat pages pagesfree put output pageslock sprintf 9lu tmp kstat pages pageslocked put output pagesio sprintf 7lu tmp kstat pages pagesio put output pagestotl sprintf 9lu tmp kstat pages pagestotal endif ifdef WATCH HTTPD breakdown access log format accesslog string buf int size index string word int z int ishead if WATCH PROXY WATCH SQUID double xf ifdef WATCH SQUID string logtag string request endif endif ishead 0 word strtok buf if word nil return ifdef WATCH SQUID word contains unix time in seconds milliseconds word strtok nil elapsed request time in ms xf atof word 1000 0 prxy squid xfer sum xf ifdef DINKY printf time s f total f n word xf xfer sum endif word strtok nil client IP address logtag strtok nil Log tag word strtok nil reply code if word nil if strstr word 304 nil httpop condgets if strncmp word 4 1 0 strncmp word 5 1 0 httpop errors word strtok nil size sent to client z atoi word request strtok nil Request method word strtok nil URL if word nil if strstr word cgi bin nil httpop cgi bins if strstr word search url nil httpop searches word strtok nil optional user ident word strtok nil Hierarchy if word nil if strstr word DIRECT nil prxy squid indirect word strtok nil Hostname word strtok nil content type process the collected data if strstr logtag TCP nil squid client http if strstr logtag UDP nil squid icp requests if strstr logtag HIT nil prxy squid cache hits if strstr logtag MISS nil squid cache misses switch request case GET httpop gets break case POST httpop posts break case HEAD ishead 1 httpop condgets break case ICP QUERY squid icp queries default break if ishead 0 don t add size if its a HEAD dwnld totalz z if z 1MB dwnld size size index prxy squid xfer by size size index xf else common or netscape proxy formats strtok nil strtok nil strtok nil date strtok nil zone word strtok nil GET or POST switch word case get case GET httpop gets break case post case POST httpop posts break case head case HEAD ishead 1 httpop condgets break default break word strtok nil URL if word nil if strstr word cgi bin nil httpop cgi bins if strstr word search url nil httpop searches Sometimes HTTP 1 x is not listed in the access log Skip it if it does exist Load the error success code word strtok nil if word nil if strstr word HTTP nil strstr word http nil word strtok nil if word nil if strstr word 304 nil httpop condgets else if strncmp word 4 1 0 strncmp word 5 1 0 httpop

    Original URL path: https://www.orcaware.com/orca/pub/orcallator.se-1.07.txt (2016-04-24)
    Open archived version from archive


  • over a 5 second interval to calculate the long interval difference mpid current mpid5 diff mpid now mpid5 now else sleep sleep till now else sleep sleep till now endif now time 0 ifdef WATCH CPU measure cpu p vmstat pvm double mpid interval double mpid rate pvm vmglobal total In SE 3 0 user time and system time are int and in SE 3 1 they are double so cast everything to double using 0 0 put output usr sprintf 5 1f pvm user time 0 0 put output sys sprintf 5 1f pvm system time 0 0 put output 1runq sprintf 6 2f tmp kstat misc avenrun 1min 256 0 put output 5runq sprintf 6 2f tmp kstat misc avenrun 5min 256 0 put output 15runq sprintf 6 2f tmp kstat misc avenrun 15min 256 0 put output proc sprintf 5lu tmp kstat misc nproc Calculate the rate of new process spawning if can read kernel 0 mpid interval mpid now mpid then 0 000000001 mpid rate mpid current mpid previous mpid interval put output proc s sprintf 7 3f mpid rate put output proc p5s sprintf 9 4f mpid5 rate Reset counters mpid then mpid now mpid previous mpid current mpid5 rate 0 endif ifdef WATCH MUTEX measure mutex put output smtx sprintf 5d tmp mutex smtx put output smtx cpu sprintf 8d tmp mutex smtx tmp mutex ncpus endif ifdef WATCH NET measure net int i for i 0 i peak disk busy peak disk busy GLOBAL disk i run percent mean disk busy mean disk busy GLOBAL disk 0 disk count put output disk peak sprintf 9 3f peak disk busy put output disk mean sprintf 9 3f mean disk busy endif ifdef WATCH DNLC measure dnlc put output dnlc ref s sprintf 10 3f tmp lrdnlc refrate put output dnlc hit sprintf 9 3f tmp lrdnlc hitrate endif ifdef WATCH INODE measure inode put output inod ref s sprintf 10 3f tmp lrinode refrate put output inod hit sprintf 9 3f tmp lrinode hitrate put output inod stl s sprintf 10 3f tmp lrinode iprate endif ifdef WATCH RAM measure ram put output swap avail sprintf 10ld GLOBAL pvm 0 swap avail put output page rstim sprintf 10d tmp lrram restime put output free pages sprintf 10d GLOBAL pvm 0 freemem 1024 page size endif ifdef WATCH PAGES measure pages put output pp kernel sprintf 9lu tmp kstat pages pp kernel put output pagesfree sprintf 9lu tmp kstat pages pagesfree put output pageslock sprintf 9lu tmp kstat pages pageslocked put output pagesio sprintf 7lu tmp kstat pages pagesio put output pagestotl sprintf 9lu tmp kstat pages pagestotal endif ifdef WATCH WEB Breakdown access log format accesslog string buf int z int size index int ishead string word char first byte 1 if WATCH PROXY WATCH SQUID WATCH YAHOO double xf ifdef WATCH SQUID string logtag string request endif ifdef WATCH YAHOO string arg ulong ptr ulong tmp ulong ulong xf endif endif ishead 0

    Original URL path: https://www.orcaware.com/orca/pub/orcallator.se-1.10.txt (2016-04-24)
    Open archived version from archive


  • more than once in the long interval time span use the difference between the previous and current mpid over a 5 second interval to calculate the long interval difference mpid current mpid5 diff mpid now mpid5 now else sleep sleep till now else sleep sleep till now endif now time 0 ifdef WATCH CPU measure cpu p vmstat pvm double mpid interval double mpid rate pvm vmglobal total In SE 3 0 user time and system time are int and in SE 3 1 they are double so cast everything to double using 0 0 put output usr sprintf 5 1f pvm user time 0 0 put output sys sprintf 5 1f pvm system time 0 0 put output 1runq sprintf 6 2f tmp kstat misc avenrun 1min 256 0 put output 5runq sprintf 6 2f tmp kstat misc avenrun 5min 256 0 put output 15runq sprintf 6 2f tmp kstat misc avenrun 15min 256 0 put output proc sprintf 5lu tmp kstat misc nproc Calculate the rate of new process spawning if can read kernel 0 mpid interval mpid now mpid then 0 000000001 mpid rate mpid current mpid previous mpid interval put output proc s sprintf 7 3f mpid rate put output proc p5s sprintf 9 4f mpid5 rate Reset counters mpid then mpid now mpid previous mpid current mpid5 rate 0 endif ifdef WATCH MUTEX measure mutex put output smtx sprintf 5d tmp mutex smtx put output ncpus sprintf 5d tmp mutex ncpus endif ifdef WATCH NET measure net int i for i 0 i peak disk busy peak disk busy GLOBAL disk i run percent mean disk busy mean disk busy GLOBAL disk 0 disk count put output disk peak sprintf 9 3f peak disk busy put output disk mean sprintf 9 3f mean disk busy put output disk rd s sprintf 9 1f total reads put output disk wr s sprintf 9 1f total writes put output disk rK s sprintf 9 1f total readk put output disk wK s sprintf 9 1f total writek endif ifdef WATCH DNLC measure dnlc put output dnlc ref s sprintf 10 3f tmp lrdnlc refrate put output dnlc hit sprintf 9 3f tmp lrdnlc hitrate endif ifdef WATCH INODE measure inode put output inod ref s sprintf 10 3f tmp lrinode refrate put output inod hit sprintf 9 3f tmp lrinode hitrate put output inod stl s sprintf 10 3f tmp lrinode iprate endif ifdef WATCH RAM measure ram put output swap avail sprintf 10ld GLOBAL pvm 0 swap avail put output page rstim sprintf 10d tmp lrram restime put output freememK sprintf 10d GLOBAL pvm 0 freemem put output free pages sprintf 10d GLOBAL pvm 0 freemem 1024 page size endif ifdef WATCH PAGES measure pages put output pp kernel sprintf 9lu tmp kstat pages pp kernel put output pagesfree sprintf 9lu tmp kstat pages pagesfree put output pageslock sprintf 9lu tmp kstat pages pageslocked put output pagesio sprintf 7lu tmp kstat pages pagesio put output pagestotl

    Original URL path: https://www.orcaware.com/orca/pub/orcallator.se-1.11.txt (2016-04-24)
    Open archived version from archive


  • difference between the previous and current mpid over a 5 second interval to calculate the long interval difference mpid current mpid5 diff mpid now mpid5 now else sleep sleep till now else sleep sleep till now endif now time 0 ifdef WATCH CPU measure cpu p vmstat pvm double mpid interval double mpid rate pvm vmglobal total In SE 3 0 user time and system time are int and in SE 3 1 they are double so cast everything to double using 0 0 put output usr sprintf 5 1f pvm user time 0 0 put output sys sprintf 5 1f pvm system time 0 0 put output 1runq sprintf 6 2f tmp kstat misc avenrun 1min 256 0 put output 5runq sprintf 6 2f tmp kstat misc avenrun 5min 256 0 put output 15runq sprintf 6 2f tmp kstat misc avenrun 15min 256 0 put output proc sprintf 5lu tmp kstat misc nproc put output scanrate sprintf 8 3f pvm scan Calculate the rate of new process spawning if can read kernel 0 mpid interval mpid now mpid then 0 000000001 mpid rate mpid current mpid previous mpid interval put output proc s sprintf 7 3f mpid rate put output proc p5s sprintf 9 4f mpid5 rate Reset counters mpid then mpid now mpid previous mpid current mpid5 rate 0 endif ifdef WATCH MUTEX measure mutex put output smtx sprintf 5d tmp mutex smtx put output smtx cpu sprintf 8d tmp mutex smtx tmp mutex ncpus put output ncpus sprintf 5d tmp mutex ncpus endif ifdef WATCH NET measure net int i for i 0 i peak disk busy peak disk busy GLOBAL disk i run percent mean disk busy mean disk busy GLOBAL disk 0 disk count put output disk peak sprintf 9 3f peak disk busy put output disk mean sprintf 9 3f mean disk busy put output disk rd s sprintf 9 1f total reads put output disk wr s sprintf 9 1f total writes put output disk rK s sprintf 9 1f total readk put output disk wK s sprintf 9 1f total writek endif ifdef WATCH DNLC measure dnlc put output dnlc ref s sprintf 10 3f tmp lrdnlc refrate put output dnlc hit sprintf 9 3f tmp lrdnlc hitrate endif ifdef WATCH INODE measure inode put output inod ref s sprintf 10 3f tmp lrinode refrate put output inod hit sprintf 9 3f tmp lrinode hitrate put output inod stl s sprintf 10 3f tmp lrinode iprate endif ifdef WATCH RAM measure ram put output swap avail sprintf 10ld GLOBAL pvm 0 swap avail put output page rstim sprintf 10d tmp lrram restime put output freememK sprintf 10d GLOBAL pvm 0 freemem put output free pages sprintf 10d GLOBAL pvm 0 freemem 1024 page size endif ifdef WATCH PAGES measure pages put output pp kernel sprintf 9lu tmp kstat pages pp kernel put output pagesfree sprintf 9lu tmp kstat pages pagesfree put output pageslock sprintf 9lu tmp kstat pages pageslocked put output pagesio

    Original URL path: https://www.orcaware.com/orca/pub/orcallator.se-1.12.txt (2016-04-24)
    Open archived version from archive


  • cgi match for search scripts default is search cgi n fprintf stderr Defines n fprintf stderr DWATCH WEB watch web server access logs n fprintf stderr DWATCH PROXY use WEB LOG as a NCSA style proxy log n fprintf stderr DWATCH SQUID use WEB LOG as a Squid log n fprintf stderr DWATCH OS includes all of the below n fprintf stderr DWATCH CPU watch the cpu load run queue etc n fprintf stderr DWATCH MUTEX watch the number of mutex spins n fprintf stderr DWATCH NET watch all Ethernet interfaces n fprintf stderr DWATCH TCP watch all the TCP IP stack n fprintf stderr DWATCH NFS watch NFS requests n fprintf stderr DWATCH MOUNTS watch usage of mount points n fprintf stderr DWATCH DISK watch disk read write usage n fprintf stderr DWATCH DNLC watch the directory name lookup cache n fprintf stderr DWATCH INODE watch the inode cache n fprintf stderr DWATCH RAM watch memory usage n fprintf stderr DWATCH PAGES watch where pages are allocated n exit 1 break Initialize the various structures initialize Run forever If WATCH WEB is defined then have measure web do the sleeping while it is watching the access log file until the next update time for the whole operating system Also collect the data from the access log file before printing any output for Calculate the next time to sleep to that is an integer multiple of the interval time Make sure that at least half of the interval passes before waking up now time 0 sleep till now interval interval while sleep till mpid5 previous mpid5 diff mpid5 current mpid5 previous else mpid5 diff mpid5 current DEFAULT MAXPID mpid5 previous rate mpid5 diff mpid5 interval if rate mpid5 rate mpid5 rate rate mpid5 previous mpid5 current Now take these results to measure the long interval rate Because the mpid may flip over DEFAULT MAXPID more than once in the long interval time span use the difference between the previous and current mpid over a 5 second interval to calculate the long interval difference mpid current mpid5 diff mpid now mpid5 now else sleep sleep till now else sleep sleep till now endif now time 0 ifdef WATCH CPU measure cpu p vmstat pvm double mpid interval double mpid rate pvm vmglobal total In SE 3 0 user time and system time are int and in SE 3 1 they are double so cast everything to double using 0 0 put output usr sprintf 5 1f pvm user time 0 0 put output sys sprintf 5 1f pvm system time 0 0 put output 1runq sprintf 6 2f tmp kstat misc avenrun 1min 256 0 put output 5runq sprintf 6 2f tmp kstat misc avenrun 5min 256 0 put output 15runq sprintf 6 2f tmp kstat misc avenrun 15min 256 0 put output proc sprintf 5lu tmp kstat misc nproc put output scanrate sprintf 8 3f pvm scan Calculate the rate of new process spawning if can read kernel 0 mpid

    Original URL path: https://www.orcaware.com/orca/pub/orcallator.se-1.13.txt (2016-04-24)
    Open archived version from archive


  • fprintf stderr setenv OUTDIR ns home docs orcallator logs default stdout n fprintf stderr setenv SEARCHURL srch cgi match for search scripts default is search cgi n fprintf stderr Defines n fprintf stderr DWATCH WEB watch web server access logs n fprintf stderr DWATCH PROXY use WEB LOG as a NCSA style proxy log n fprintf stderr DWATCH SQUID use WEB LOG as a Squid log n fprintf stderr DWATCH OS includes all of the below n fprintf stderr DWATCH CPU watch the cpu load run queue etc n fprintf stderr DWATCH MUTEX watch the number of mutex spins n fprintf stderr DWATCH NET watch all Ethernet interfaces n fprintf stderr DWATCH TCP watch all the TCP IP stack n fprintf stderr DWATCH NFS watch NFS requests n fprintf stderr DWATCH MOUNTS watch usage of mount points n fprintf stderr DWATCH DISK watch disk read write usage n fprintf stderr DWATCH DNLC watch the directory name lookup cache n fprintf stderr DWATCH INODE watch the inode cache n fprintf stderr DWATCH RAM watch memory usage n fprintf stderr DWATCH PAGES watch where pages are allocated n exit 1 break Initialize the various structures initialize Run forever If WATCH WEB is defined then have measure web do the sleeping while it is watching the access log file until the next update time for the whole operating system Also collect the data from the access log file before printing any output for Calculate the next time to sleep to that is an integer multiple of the interval time Make sure that at least half of the interval passes before waking up now time 0 sleep till now interval interval while sleep till mpid5 previous mpid5 diff mpid5 current mpid5 previous else mpid5 diff mpid5 current DEFAULT MAXPID mpid5 previous rate mpid5 diff mpid5 interval if rate mpid5 rate mpid5 rate rate mpid5 previous mpid5 current Now take these results to measure the long interval rate Because the mpid may flip over DEFAULT MAXPID more than once in the long interval time span use the difference between the previous and current mpid over a 5 second interval to calculate the long interval difference mpid current mpid5 diff mpid now mpid5 now else sleep sleep till now else sleep sleep till now endif now time 0 ifdef WATCH CPU measure cpu p vmstat pvm double mpid interval double mpid rate pvm vmglobal total In SE 3 0 user time and system time are int and in SE 3 1 they are double so cast everything to double using 0 0 put output usr sprintf 5 1f pvm user time 0 0 put output sys sprintf 5 1f pvm system time 0 0 put output 1runq sprintf 6 2f tmp kstat misc avenrun 1min 256 0 put output 5runq sprintf 6 2f tmp kstat misc avenrun 5min 256 0 put output 15runq sprintf 6 2f tmp kstat misc avenrun 15min 256 0 put output proc sprintf 5lu tmp kstat misc nproc put output scanrate sprintf

    Original URL path: https://www.orcaware.com/orca/pub/orcallator.se-1.14.txt (2016-04-24)
    Open archived version from archive



  •