| BSD :: GetLoadAvg. BSD :: GetLoadaVG´Â getLoadAvgÀÇ Perl ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
BSD :: GetLoadAvg. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~oyama/Crypt-Camellia-2.01/lib/Crypt/Camellia.pm
BSD :: GetLoadAvg. ű×
BSD :: GetLoadAvg. ¼³¸í
BSD :: GetLoadAvg´Â getLoadAvgÀÇ Perl ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù. BSD :: GetLoadAvg´Â getLoadAvg.synopsis¿¡ ´ëÇÑ Perl ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù. bsd :: getLoadAvg »ç¿ë; my @ loadavg = getLoadAvg ();ÀÌ ¸ðµâÀ» »ç¿ëÇÏ¸é °¡µ¿ ½Ã°£ (1)À» È£ÃâÇÏÁö ¾Ê°í·Îµå Æò±Õ¿¡ ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù. @loadavg = (qx (qx (qx (qx (qx (qx) = ~ /(+) +(+)/se (+)/-); ´Ü¼øÈ÷ bsd :: getLoadavgÀ» »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù; my @loadavg = getLoadAvg (); ȣȯ¼º BSD :: getLoadaVG¶ó´Â ȣȯ¼ºÀÌ ¸ðµâÀº GetLoadAvg¸¦ Áö¿øÇÏ´Â Linux ¹× ±âŸ Ç÷§Æû¿¡¼µµ ÀÛµ¿ÇÕ´Ï´Ù. Ç÷§Æû ÀÌÀÌ ¸ðµâÀ» Áö¿øÇÏ´ÂÁö È®ÀÎÇÏ·Á¸é NM /USR/LIB/LIBC.* | grep getloadavgbenchmarkyou´Â t / benchmark.pl·Î º¥Ä¡ ¸¶Å©¸¦ ½ÇÇàÇÒ ¼ö ÀÖ½À´Ï´Ù. ³» Ç÷§ÆûÀÇ °á°ú°¡ ÀÖ½À´Ï´Ù .Macbook Pro 2GHz, Mac OS X 10.4.8 º¥Ä¡ ¸¶Å© : ½ÇÇàÁßÀÎ XS, ÃÖ¼ÒÇÑ 3 CPU ÃÊ ... Rate ¸í·É XS ¸í·É 1061 / s - -98 % xs 69808 / s 6482 % - µà¾ó Á¦¿Â 2.8GHz, FreeBSD 6 - ¾ÈÁ¤µÈ º¥Ä¡ ¸¶Å© : ½ÇÇà XS, Àû¾îµµ 3 °³ÀÇ CPU ÃÊ µ¿¾È ¸í·É ... Rate ¸í·É xs ¸í·É 919 / s - -99 % xs 139023 / s 15026 % --requirements : ¡¤ Perl ¿ä±¸ »çÇ× : ¡¤ Perl.
BSD :: GetLoadAvg. °ü·Ã ¼ÒÇÁÆ®¿þ¾î