| [ CnUnix ] in KIDS 글 쓴 이(By): zoo11 (bashist) 날 짜 (Date): 2002년 2월 23일 토요일 오후 12시 09분 35초 제 목(Title): Re: 쏠라리스에서.. SE tool kit은 메뉴얼에 있는 말을 인용하면.. SymbEL is an interpretive language based on C that was created to address the need for simplified access to data residing in the SunOS kernel. Although kernel interface API libraries have made this data more available to C application programmers they are still out of reach by means other than writing and compiling a program. The goal was to create a language that did not need compilation to run and would allow the development of scripts that could be distributed to a large audience via e-mail without sending very large files or requiring the end-user to possess a compiler. 이구요. 원래는 퍼포먼스 튜닝을 위해서 만들어졌죠. 지원하는 API는 kstat,ndd,mib 등등 이구요. 사용법은 간단한 스크립트를 만들어서 사용하시면 됩니다. 같이 배달되는 examples 디렉토리의 간단한 예를 보면... [zoo11@mail:/opt/RICHPse/examples] more collisions.se // // Copyright (c) 1993-2001 by Richard Pettit. All rights reserved. // #include <netif.se> main() { int i; netif interface; for(refresh$(interface), i=0; i<interface.if_count; i++, interface.number$ = i, refresh$(interface)) { printf("Collision rate for %s: %3.2f %%\n", interface.name$, interface.collision_rate); } } [zoo11@mail:/opt/RICHPse/examples] ../bin/se collisions.se Collision rate for le0: 0.01 % 이런식으로 사용합니다. example들도 쓸만하구요. (특히 adrian 이 만든 모니터) 필요하시면 직접 만들어 쓰셔도 됩니다. 매뉴얼도 상세히 따라 오구요. |