pconsole in OpenSolaris in a Gnome Terminal

The pconsole is a very useful open source tool. It's like SunCluster cconsole and it's allow us to open parallel ssh connections. pconsole is available for installation from  pkg.opensolaris.org/dev with IPS. Before to install pconsole you must have upgraded OpenSolaris to release 103 or later with this procedure. To Install pconsole run the followings commands as a super user:


# pkg search -r pconsole
INDEX      ACTION    VALUE                     PACKAGE
description set       pconsole                  pkg:/SUNWpconsole-AT-1.0-0-DOT-105
basename   file      usr/bin/pconsole          pkg:/SUNWpconsole-AT-1.0-0-DOT-105

# pkg install SUNWpconsole
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1         4/4     0.02/0.02
PHASE                                        ACTIONS
Install Phase                                  15/15
PHASE                                          ITEMS
Reading Existing Index                           9/9
Indexing Packages                                1/1


The pconsole script has been designed to run pconsole in xterm. If you wish to run pconsole in a gnome terminal instead you can use pconsole-gnome script available for download here.

Download pconsole-gnome, copy it in /usr/bin/pconsole-gnome and allow to execute (chmod +x /usr/bin/pconsole-gnome) . In the following example I use pconsole-gnome to open 4 parallel ssh connections from my labtop to a 4 different opensolaris nodes. Then in the Gray gnome terminal I only run as a super user (with pexec) the script pconsole-gnome  to open 4 parallels gnome terminal with ssh connections:




The pconsole-gnome syntax is :
pconsole-gnome -h
usage: pconsole-gnome  '[user@]<hostname>[:port] [...]'
 -h             => help
 -d             => Debug
 -t             => Run pconsole in the current terminal









Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Jerome Blanchet

Search

Categories
Archives
« avril 2014
lun.mar.mer.jeu.ven.sam.dim.
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today