Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › C++/C# Daemon Processes
New Posts  All Forums:Forum Nav:

C++/C# Daemon Processes

post #1 of 7
Thread Starter 
Hey guys I need some help on making a daemon processes program that would terminate/start processes and be completely self monitored. I have some idea on what is needed but just wanted some input from here on starting it.
My System
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 Lynnfield @ 3.6GHz 1.28v Biostar Tpower i55 EVGA GTX 460 SC SLI Corsair XMS3 4 x 2GB 1600mhz 8-8-8-24 
Hard DriveCoolingOSMonitor
Western Digital Caviar Black 640 Noctua NH-D14 Windows 8 Pro 64bit Dell U2711 
KeyboardPowerCaseMouse
Deck Legend Ice Corsair HX 750W Modular CoolerMaster HAF 932 Black Razer Mamba 
Mouse PadAudio
Razer Vespula Xfi Titanium HD-->Sony Reciever--> Sony MDR-V6 
  hide details  
Reply
My System
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 Lynnfield @ 3.6GHz 1.28v Biostar Tpower i55 EVGA GTX 460 SC SLI Corsair XMS3 4 x 2GB 1600mhz 8-8-8-24 
Hard DriveCoolingOSMonitor
Western Digital Caviar Black 640 Noctua NH-D14 Windows 8 Pro 64bit Dell U2711 
KeyboardPowerCaseMouse
Deck Legend Ice Corsair HX 750W Modular CoolerMaster HAF 932 Black Razer Mamba 
Mouse PadAudio
Razer Vespula Xfi Titanium HD-->Sony Reciever--> Sony MDR-V6 
  hide details  
Reply
post #2 of 7
Quote:
Originally Posted by bgtrance View Post

Hey guys I need some help on making a daemon processes program that would terminate/start processes and be completely self monitored. I have some idea on what is needed but just wanted some input from here on starting it.
Which OS? 'daemon' is a Linux/UNIX term and if you're using that platform then you needn't got as low level as C++/C#.

I suspect you're talking about Windows Services though?
post #3 of 7
Thread Starter 
Quote:
Originally Posted by Plan9 View Post

Which OS? 'daemon' is a Linux/UNIX term and if you're using that platform then you needn't got as low level as C++/C#.
I suspect you're talking about Windows Services though?

Windows Services is correct. Its just the senior developer is asking me to do it in C#/C++. The systems are running Windows 7 (they will probably be updated to Windows 8 soon though not that it would change anything.) I looked at this program called Circus 2.0. It looks very similar to what I have to design.
My System
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 Lynnfield @ 3.6GHz 1.28v Biostar Tpower i55 EVGA GTX 460 SC SLI Corsair XMS3 4 x 2GB 1600mhz 8-8-8-24 
Hard DriveCoolingOSMonitor
Western Digital Caviar Black 640 Noctua NH-D14 Windows 8 Pro 64bit Dell U2711 
KeyboardPowerCaseMouse
Deck Legend Ice Corsair HX 750W Modular CoolerMaster HAF 932 Black Razer Mamba 
Mouse PadAudio
Razer Vespula Xfi Titanium HD-->Sony Reciever--> Sony MDR-V6 
  hide details  
Reply
My System
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 Lynnfield @ 3.6GHz 1.28v Biostar Tpower i55 EVGA GTX 460 SC SLI Corsair XMS3 4 x 2GB 1600mhz 8-8-8-24 
Hard DriveCoolingOSMonitor
Western Digital Caviar Black 640 Noctua NH-D14 Windows 8 Pro 64bit Dell U2711 
KeyboardPowerCaseMouse
Deck Legend Ice Corsair HX 750W Modular CoolerMaster HAF 932 Black Razer Mamba 
Mouse PadAudio
Razer Vespula Xfi Titanium HD-->Sony Reciever--> Sony MDR-V6 
  hide details  
Reply
post #4 of 7
Quote:
Originally Posted by bgtrance View Post

Windows Services is correct. Its just the senior developer is asking me to do it in C#/C++. The systems are running Windows 7 (they will probably be updated to Windows 8 soon though not that it would change anything.) I looked at this program called Circus 2.0. It looks very similar to what I have to design.

Windows services - oh joy smile.gif
It is fairly easy to create a service using C# in Visual Studio.
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
post #5 of 7
Thread Starter 
Quote:
Originally Posted by tompsonn View Post

Windows services - oh joy smile.gif
It is fairly easy to create a service using C# in Visual Studio.

Yeh from the time this was posted I have already created it. I looked at different methods and examples online and just came up with one that fits my senior developer's needs. Thanks though thumb.gif
My System
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 Lynnfield @ 3.6GHz 1.28v Biostar Tpower i55 EVGA GTX 460 SC SLI Corsair XMS3 4 x 2GB 1600mhz 8-8-8-24 
Hard DriveCoolingOSMonitor
Western Digital Caviar Black 640 Noctua NH-D14 Windows 8 Pro 64bit Dell U2711 
KeyboardPowerCaseMouse
Deck Legend Ice Corsair HX 750W Modular CoolerMaster HAF 932 Black Razer Mamba 
Mouse PadAudio
Razer Vespula Xfi Titanium HD-->Sony Reciever--> Sony MDR-V6 
  hide details  
Reply
My System
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 Lynnfield @ 3.6GHz 1.28v Biostar Tpower i55 EVGA GTX 460 SC SLI Corsair XMS3 4 x 2GB 1600mhz 8-8-8-24 
Hard DriveCoolingOSMonitor
Western Digital Caviar Black 640 Noctua NH-D14 Windows 8 Pro 64bit Dell U2711 
KeyboardPowerCaseMouse
Deck Legend Ice Corsair HX 750W Modular CoolerMaster HAF 932 Black Razer Mamba 
Mouse PadAudio
Razer Vespula Xfi Titanium HD-->Sony Reciever--> Sony MDR-V6 
  hide details  
Reply
post #6 of 7
Quote:
Originally Posted by bgtrance View Post

Yeh from the time this was posted I have already created it. I looked at different methods and examples online and just came up with one that fits my senior developer's needs. Thanks though thumb.gif

smile.gif

Any other Windows programming stuff you may potentially need, feel free to PM me!
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
post #7 of 7
Thread Starter 
Quote:
Originally Posted by tompsonn View Post

smile.gif
Any other Windows programming stuff you may potentially need, feel free to PM me!

Thanks a lot, I appreciate it!
My System
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 Lynnfield @ 3.6GHz 1.28v Biostar Tpower i55 EVGA GTX 460 SC SLI Corsair XMS3 4 x 2GB 1600mhz 8-8-8-24 
Hard DriveCoolingOSMonitor
Western Digital Caviar Black 640 Noctua NH-D14 Windows 8 Pro 64bit Dell U2711 
KeyboardPowerCaseMouse
Deck Legend Ice Corsair HX 750W Modular CoolerMaster HAF 932 Black Razer Mamba 
Mouse PadAudio
Razer Vespula Xfi Titanium HD-->Sony Reciever--> Sony MDR-V6 
  hide details  
Reply
My System
(15 items)
 
  
CPUMotherboardGraphicsRAM
i5 750 Lynnfield @ 3.6GHz 1.28v Biostar Tpower i55 EVGA GTX 460 SC SLI Corsair XMS3 4 x 2GB 1600mhz 8-8-8-24 
Hard DriveCoolingOSMonitor
Western Digital Caviar Black 640 Noctua NH-D14 Windows 8 Pro 64bit Dell U2711 
KeyboardPowerCaseMouse
Deck Legend Ice Corsair HX 750W Modular CoolerMaster HAF 932 Black Razer Mamba 
Mouse PadAudio
Razer Vespula Xfi Titanium HD-->Sony Reciever--> Sony MDR-V6 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › C++/C# Daemon Processes