ifconfigã®åºåãsedã§ãã¼ã¹ â ããããããã ã¾ã Linux ã触ãå§ãã¦éããªãé ã«ããµã¼ãã¼ãæ§ç¯ãã¦ãã¦ãã¼ã«ã«ã® IP ã¢ãã¬ã¹ãã·ã§ã«ã¹ã¯ãªããããå©ç¨ããå¿ è¦ããã£ã¦ãã©ããã£ã¦åå¾ããã¹ãã ãããã¨å°ä¸æéæ©ãã ã®ã§ããçµå±åããã Perl ã®æ£è¦è¡¨ç¾ã§ ifconfig ã parse ãããã¨ãããã¾ãããioctl() ã使ã£ã¦ããã¤ã¹ãæä½ããå¿ è¦ããããã¨ãããã¨ãç¥ã£ãã®ã¯æ°å¹´å¾ãå²ã¨æè¿ã®ãã¨ã§ãããªãã¨ãããã¨ã§ãããã ã§ã¯ãPerl 㧠IP ã¢ãã¬ã¹ãåå¾ããå ´åã§ããã¢ã¸ã¥ã¼ã«ã使ã£ã¦ããã®ã§ããã° IO::Interface ãããã ããã¨æã£ã¦ãã¾ããIO::Interface 㯠Pure Perl ã§ã¯ããã¾ããããXS 㧠ioctl() ãå¼ã³åºãã¦ããã®ã§æ¯è¼çé«éä¸ã¤ç´ ç´ãªå®è£ ã ã¨æãã¾ãã #!/usr/local/
{{#tags}}- {{label}}
{{/tags}}