タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

expectに関するyoushowのブックマーク (2)

  • Test Page. Yoshifumi Tanaka

    ExpectはTcl言語から派生したプロセス間通信ユーティリティです。基となる 文法はTcl言語の全てにexpect, send, spawnが追加されただけのものです。 プロセス間通信とはどの様なものかと言いますと、 UNIXシステム(LinuxやBSDなどのPCーUNIXを含む)は一般にマルチユーザ、 マルチジョブ方式と呼ばれ、同時に多くのプロセス(ジョブ) を処理します。Expectはその 仕事を肩代りしてくれるものだと理解してください。例えば、あなたが ネットワーク管理者であって数十台のコンピュータ管理をしなければ ならないと想像します。そして毎日それぞれのディスク空き領域を 監視しなくてはなりません。通常ならtelnetで各コンピュータにログインして、 df命令で空き領域を調べます。そして結果を監視システムのファイルに 記録しなければなりません。方法としては、Xウィンドウでカッ

  • 6 Expect Script Examples to Expect the Unexpected (With Hello World)

    6 Expect Script Examples to Expect the Unexpected (With Hello World) Expect scripting language is used to feed input automatically to an interactive program. It is easy to learn compared to other scripting languages. Using expect script sysadmins and developers can automate redundant tasks easily. It works by expecting specific strings, and sending or responding strings accordingly. Following thre

  • 1