Esteemed Monks, Greetings

I need your valuable advice please;

I have thousands and thousands of applications here ranging from standard office suite such as Word and Excel, to more obscure ones for trading and financial purposes. Most of these apps are scripted to facilitate the installation process on remote desktops.
for example I would have a file called \\.....\....\installs\office\office2003.go By clicking on this go scripted file from any desktop in the organisation, it will install the whole office suite silently without any further intervention. However not all application are fully silent, some do require manual intervention or some further configuration is required, or they have a user context assigned to them (which means that a users credentials must be supplied at some pint for a successful installation to complete).

What I would like to achive is this; Create a script that will pick a path to a go scripted application from a list (this is easy), then the script will run this application, i.e install this application by calling its name (this is also easy) then the script should be able to flag whether the process has completed successfully or not (hmmmm). Bearing in mind that some application take few seconds to complete and some could take few long hours, so concurrent process will be required (hmmmmmmmmm).

Am I correct in the belief that when an application runs, it occupies a memory space and as soon as this thread has completed then this memory space will be made available for next/other process? Ok, so if I place all the paths to my go scripted applications in a text file then pick 10 at a time from this list, run them all at the same time, monitor the memory spaces assigned to them and flag the ones that completed successfully from the ones that did not i.e are awaiting some intervention. I am assuming – and I could be making an ass of myself – that the OS will flag either 0 or 1 to indicate that a memory space available or a process completed successfully. Do you ‘holy people’ think this is possible and can be done? I know I will need a multi threading library here and some command that will return true or false depending on whether a process completed successfully or not. Can you help?

TIA

Blackadder

In reply to Application installation status or memory space monitoring by blackadder

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.