Results 1 to 7 of 7
Thread: Batching Services
-
04-12-2004, 10:07 PM #1Right Off the Assembly Line
- Join Date
- Dec 2004
- Location
- New Delhi, India
- Posts
- 40
Batching Services
Hi All
I am using Oracle 9i Enterprise Edition for a project I have to submit in college. Oravle 9i runs on the system in the form of some 5-6 services. As these are resource heavy and I dont have much resources to feed them, I have set these settings to "manual" instead of the default "automatic". And, everytime I have to work with Oracle, I have to manually start all of these services. Isn't there a way to start all of these files just by one click, say, in a batch file(*.bat) and similarly stop all of them.
What should i do?
Kinshuk(o_0)
confused yet acting smartest of alll....
-
17-12-2004, 08:44 AM #2Right Off the Assembly Line
- Join Date
- Dec 2004
- Location
- New Delhi, India
- Posts
- 40
Pls Help
Are bhai logo, koi to madad karo yaar....
(o_0)
confused yet acting smartest of alll....
-
17-12-2004, 07:24 PM #3
sorry .. i overlooked it some time ago ..
all the following is true for winxp
the command for starting a service is sc
so
sc start servicename will start a service
and
sc stop servicename will stop the service
the only thing to note here is that servicename may not exactly be the name of service which you see in 'services.msc'
ex. common name of ZoneAlarm service = "true vector internet monitor"
and keyname = "vsmon"
hence, to deal with this problem ... goto start->run->cmd
here type sc getkeyname "common name"
ex sc getkeyname "truevector internet monitor"
note down the name you get .. this name is your servicename
now make a batch file ..
write one command in one line
sc stop vsmon
sc stop servicename1
sc stop servicename2
sc stop servicename3
sc stop servicename4
....
I think i made it all clear....
post if have problems ..
------
alibiWhat I've felt, What I've known; Never shined through in what I've shown
Never free, Never me; So I dub thee unforgiven
-Metallica
-
18-12-2004, 08:33 AM #4Right Off the Assembly Line
- Join Date
- Dec 2004
- Location
- New Delhi, India
- Posts
- 40
Thanks
Thanks
I'll try the solution and let you know.
Thanks again.
Kinshuk(o_0)
confused yet acting smartest of alll....
-
18-12-2004, 05:20 PM #5
just remember that all that i wrote is valid in WinXP
i dont know if it will work anywhere else or not ..
i have winxp and i've tried it .. it works
-----
alibiWhat I've felt, What I've known; Never shined through in what I've shown
Never free, Never me; So I dub thee unforgiven
-Metallica
-
31-12-2004, 10:44 PM #6Right Off the Assembly Line
- Join Date
- Dec 2004
- Location
- New Delhi, India
- Posts
- 40
Worx!!!!!!!!!!1
Hi All
Thanx a lot for the Help, buddy
it really WORX!!!!!!!!!!!!!!!!!!
and i asked a friend of mine to see whether it works on other OSes too ('cuz I use only XP) and he confirmed so for NT (though I dont believe him much)
Thanx again
Kinshuk(o_0)
confused yet acting smartest of alll....
-
03-01-2005, 02:00 PM #7
anytime man ..

-----
alibiWhat I've felt, What I've known; Never shined through in what I've shown
Never free, Never me; So I dub thee unforgiven
-Metallica
Similar Threads
-
services.exe
By yrakesh78 in forum QnA (read only)Replies: 2Last Post: 31-08-2007, 10:29 AM


LinkBack URL
About LinkBacks

Bookmarks