Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 04-12-2004, 10:07 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2004
Location: New Delhi, India
Posts: 40
Default 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....
kinshuksunil is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 17-12-2004, 08:44 AM   #2 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2004
Location: New Delhi, India
Posts: 40
Default Pls Help

Are bhai logo, koi to madad karo yaar....
__________________
(o_0)
confused yet acting smartest of alll....
kinshuksunil is offline  
Old 17-12-2004, 07:24 PM   #3 (permalink)
Wise Old Owl
 
alib_i's Avatar
 
Join Date: Jun 2004
Location: omnipresent
Posts: 1,191
Default

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 ..

------
alibi
__________________
What 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
alib_i is offline  
Old 18-12-2004, 08:33 AM   #4 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2004
Location: New Delhi, India
Posts: 40
Default Thanks

Thanks

I'll try the solution and let you know.

Thanks again.

Kinshuk
__________________
(o_0)
confused yet acting smartest of alll....
kinshuksunil is offline  
Old 18-12-2004, 05:20 PM   #5 (permalink)
Wise Old Owl
 
alib_i's Avatar
 
Join Date: Jun 2004
Location: omnipresent
Posts: 1,191
Default

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

-----
alibi
__________________
What 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
alib_i is offline  
Old 31-12-2004, 10:44 PM   #6 (permalink)
Right Off the Assembly Line
 
Join Date: Dec 2004
Location: New Delhi, India
Posts: 40
Default 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....
kinshuksunil is offline  
Old 03-01-2005, 02:00 PM   #7 (permalink)
Wise Old Owl
 
alib_i's Avatar
 
Join Date: Jun 2004
Location: omnipresent
Posts: 1,191
Default

anytime man ..

-----
alibi
__________________
What 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
alib_i is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by clinton
- by Charan
- by icebags
- by ico
- by gohan89

Advertisement




All times are GMT +5.5. The time now is 11:15 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2