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 wOOdy-Soft 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: dietmarp
  • Content: Threads
  • Order by date
  1. dietmarp

    Split

    Hi, following situation I ran into - my $values=(value1 "value two" value3 "value four) How can I split to receive following result value1 value two value3 value four to be able to compute them. I had in my script my @lines = split(/ /,$values); foreach (@values){ .... } but this...
  2. dietmarp

    Compute Config file

    Hi, I have the need to compute a configuration file in order to perform certain tasks. The config file has different chapters. This is - how i started - but I am kind of stock. I thought to read the config file and store all different chapters in separate array - so I can compute them after -...
  3. dietmarp

    Policy (Logfile Template) distribution

    Hi, I generated a new Logfile Policy and loaded it using the opccfgupld command. I don't like to use the GUI. With which command can I distribute LogfilePolicies to certain nodes? Rgds - Dietmar
  4. dietmarp

    perl array print

    Hi, I've run into following problem. I need to process a list, and print every 5 errorcodes in one row and all errorcodes separated by a |. This is the list. ############## #errorcode.lst ############## errorcode=101 errorcode=222 errorcode=333 errorcode=444 errorcode=555 errorcode=666...
  5. dietmarp

    Tool "regex-coach"

    Hi, I found a tool to help visualize/create perl regular expression. It is freeware for private non commercial use and is available to download for Linux and Windows OS. http://weitz.de/regex-coach/ Dietmar
  6. dietmarp

    regex extracting string

    Hi again, got another problem I didn't solve. I need to extract the text wrapped by the ". $line="msg PRINTF("syslogd: %s: No space left on device", logfile)"; Result should read: $linenew="syslogd: %s: No space left on device" How can I do it? Are there different ways? Dietmar
  7. dietmarp

    search and replace

    Hi, I run into following problem. I got a config file i.e. .... #FileName=fsmon.txt #config file managed_target=AIX "*" P M 95 F 98 "/" P M 80 F 85 0 "/tmp" P M 90 F 95 0 "/var" P M 90 F 95 0 "/home" P M 90 F 95 0 "/usr" P M 95 F 98 0 managed_target=ORA "/orabase*" P M 97 F 99 0 "/*/orabase" P...
  8. dietmarp

    configure sendmail using freemail account

    Hi List, just bought myself a 32 bit rs6000, setup aix 5.L and now like to configure sendmail (home user with dsl lan connection to the internet) to use my freemail account (username:password) to send and receive mail like I can do it with ? How do I configure it? Cheers, Dietmar...
  9. dietmarp

    Perl file parsing and extracting certain info part II

    Hi list, need to ask another question - thought I could manage it already myself. I need to grep the number following the VALUE(=, of a line. This is how the line looks like. 7: ATTR(PREFIX, "cpqCmcStatusTemp1"), VALUE(=,2); Trojan helped me very much so far (see thread "Perl file parsing...
  10. dietmarp

    Perl file parsing and extracting certain info

    Hi list - how would I do following. I've got a file with over 500 blocks like following. I need to parse the file consisting of blocks starting with CLASS end Ending with END. Inside those block is the information I need to extract. For all lines lines inside each block starting with 1: to 11...
  11. dietmarp

    ITM 5.1.1 +Workbench + JAVA +programming

    Hi, with DM Classic we programmed some basic monitors (Filesystem, Services, Processes) to read a file located on the endpoint, containing ie all services to be monitored. This gave us the ability to only create one monitor, what makes the rollout of basic monitoring very easy. The System-Admins...
  12. dietmarp

    Multiple Endpoints on Windows 2000

    Hi, has anybody made any expirience with multiple Endpoints on a Microsoft Box. What do I have to look for? How do I set them up? On Unix its no problem at all. Officially multiple Endpoints are only supported with Framework 4.1, but we're running 3.7.1. Rgds Dietmar
  13. dietmarp

    Perl - How to retrieve the Status of NT Services

    Hi, how can I use perl to detect the status of NT Services. e.g SERVICE_RUNNING, SERVICE_STOPPED. Can someone please provide a sample script. Rdgs Dietmar

Part and Inventory Search

Back
Top