Running as Service

G

GTS

Hi There,

I have a vbscript that records time and cpu utilisation of services that are
running. The script was written with in a loop, every 15 seconds it will
records the time and cpu usage.

My problem is I am not found a way to start the script as background
process. Whenever I logoff the script was terminated. I want this script
should be started/terminated by means of manual operation. I dont want the
script should be stopped/terminated by logoff the user.

Any ideas, appreciated.

Thanks

GTS
 
M

Mark Brown[MSFT]

| From: "GTS" <[email protected]>
| Subject: Running as Service
| Date: Thu, 1 Jul 2004 13:08:20 +0530
|
| Hi There,
|
| I have a vbscript that records time and cpu utilisation of services that
are
| running. The script was written with in a loop, every 15 seconds it will
| records the time and cpu usage.
|
| My problem is I am not found a way to start the script as background
| process. Whenever I logoff the script was terminated. I want this script
| should be started/terminated by means of manual operation. I dont want the
| script should be stopped/terminated by logoff the user.
|
| Any ideas, appreciated.
|
| Thanks
|
| GTS
|
|
|

Hi GTS
Please reference these articles. There is a lot of great information using
the SRVany utility.

How To Create a User-Defined Service
http://support.microsoft.com/default.aspx?scid=kb;en-us;137890

HOWTO: Run Automation Manager as a Windows NT Service
http://support.microsoft.com/default.aspx?scid=kb;en-us;193238



~~ Mark Brown ~~
~ Performance Support Specialist,
~ Microsoft Enterprise Platforms Support
~ This posting is provided "AS IS" with no warranties, and confers no
rights.
~ Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
~ Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top