Chinaunix首页 | 论坛 | 博客
  • 博客访问: 540255
  • 博文数量: 166
  • 博客积分: 4038
  • 博客等级: 上校
  • 技术积分: 1115
  • 用 户 组: 普通用户
  • 注册时间: 2008-01-14 23:29
文章分类

全部博文(166)

文章存档

2010年(12)

2009年(126)

2008年(28)

分类: LINUX

2009-05-22 00:57:53

pShell is a Linux shell like interface providing a few basic commands to interact with a Planetlab slice. It works as a command center at the local machine and interact with slice nodes; in other words, it does not work in a distributed manner (like bittorrent based file dissemination).

The commands provided by the pShell are:

  • help : Provides help on the pShell commands.
  • setenv : Sets an environment varibale.
  • plist : Lists the planetlab nodes and their status.
  • addnodes : Adds nodes to the slice.
  • delnodes : Removes nodes from the slice.
  • slist : Lists the slice nodes and their status.
  • srenew : Renews the slice?s expirary date.
  • expdate : Renews the slice?s expirary date.
  • chkstat : Probes the slice nodes for their statuses.
  • install : Installs an rpm package in slice nodes.
  • put : Uploads files from local machine to slice machines.
  • get : Downloads a file from slice nodes to the local machine.
  • cmd : Launches a command at slice nodes.
  • session : Launches a command session at slice nodes.
  • chkproc : Checks the status of a process in the slice nodes.
  • connect : Opens ssh connections to slice nodes in the background.
  • show : Brings a background ssh connection to the foreground.
  • close : Terminates opened ssh connections to the slice nodes.
  • keyreset : Resets and repopulates the public keys in the local machine.
  • exit : Closes all opened connections and terminates the shell.

pShell is written in Python. It requires the configuration file pShell_config.cfg to be present in the system which can be used to control the behavior of the pShell.

The local machine where the pShell is run need not be a Planetlab machine. However, it should have authorization to interact with the Planetlab slice of interest (i.e. should have the proper private key).

阅读(731) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~