Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Winstonb
  • Content: Threads
  • Order by date
  1. Winstonb

    AdminControl.startServer (jython) and threads

    Hello, Does anyone know why this is happening ? I've written a jython script that should be able to start non-running AppServers simultaneously on a "per node" basis. ie, Each node starting 1 x AppServer at a time, but independantly of of each other. This works ok if I run each command one by...
  2. Winstonb

    Cannot append to system command

    Trying to append a double quote to a variable. The system command seems to end the line, any ideas on a way round this ? eg, $x = `DATE /T` ; $y = $x.'"' ; print $y ; Wanted..... 23/06/2008" But I get..... 23/06/2008 "
  3. Winstonb

    Setting Windows variables from within a Perl script

    Hello, New to Perl and trying to set Windows variables from within Perl. eg; set JAVA_HOME=C:/java Does anyoneone know how this could be invoked via a perl script ? Thanks in advance Winston
  4. Winstonb

    Importing a module using a variable name

    Hello, I would like to import a module using a "read in" variable. eg, something along the lines of: ---------------------------------------------------------- variable = raw_input("Module name is: ") # type in MYMOD import variable ----------------------------------------------------------...
  5. Winstonb

    AdminConfig.create('WebServer') jython command

    Hello, Does anyone know if or how a WebServer object can be created via jython, using the AdminConfig command. I know it can be done via AdminTask, but would prefer the former. Thanks in advance Winston
  6. Winstonb

    Truncating a string

    Does anyone know how to do this in python ? var = testing(123)(234) I want to print out only "testing" by truncating var. I would imagine that this could possibly be done by splitting "testing(123)(234)" into multiple fields using ( as the delimitter, and then printing out only the first...
  7. Winstonb

    Appending a digit to a string

    Hello, New to Python / jython. Have a problem appending a digit on to the end of a string as per below. Does anyone know a way around this ? contents of config.py file.... total = 2 var1 = one var2 = two contents script.py file..... import config count = 1 while count <= import.total: #...
  8. Winstonb

    Newbie: Sourcing a variable from an external file

    Hello, I'm new to Python (Jython) and would like to know how I can run a Python (Jython) script which uses a variable which is sourced from an external properties file. A very simple eg could be as per below..... Contents of external properties file: var1 = server1 Contents of Python(Jython)...
  9. Winstonb

    Upgrading O/S using Jumpstart

    Hello, Does anyone know how to (or even if it 's possible) to upgrade an O/S with Jumpstart ? Specifically Solaris 8 to Solaris 9 ? Thanks Winston
  10. Winstonb

    Can disksuite mirror a raw partition ?

    Hello, Does anyone know if Disksuite can mirror a raw partition ? Better still does anyone actually do this ? Ta !
  11. Winstonb

    How do you trap 420 power supply problems ?

    Hello, We've had 4 x 420's redundant power supply failures recently. We know this due to the amber light on the front of the systems. The system however doesn't seem to alert this problem in any other way, eg, via prtdiag or /var/adm/messages. Does anyone know how we could be alerted to this...
  12. Winstonb

    How do you recognise a raw partition ?

    Hello, Other than manually editing /etc/vfstab, how could you recognise whether a system has a slice defined as a raw partition ? Thanks
  13. Winstonb

    How to you stop remote CDE logins ?

    Hello there, I'm trying block any CDE logins from remote systems, but not locally. The clients still require however Xwindows access. I know that dtlogin -d will remove CDE completely, but this is an overkill. I've also tried commenting out the dtscp (dtlogin subprocess) entries in...

Part and Inventory Search

Back
Top