UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 23rd, 2004, 07:09 AM
spyghost spyghost is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 130 spyghost User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 16 m 19 sec
Reputation Power: 5
Question a program running as a daemon used for monitoring remote activity

hi,

i am quite new to unix and i am still in the process of learning the advanced concepts, ideas, etc.

to sort of apply what i learned, i wanted to create programs that will run as daemon/s on one workstation and a remote server. the difference is that the daemon in the workstation contacts the daemon running on a remote system to ask for information about its current state (ex: filesystem usage, swap, cpu load, etc.). these information would be gathered by shell scripts on the server. the daemons would only act as (1) "bridge" between the two communicating systems, (2) would facilitate the transfer of information and (3) call the appropriate scripts.

all other featuers will be added later on. for now, all i need to perform are these:
- run the daemons (both the local and remote upon startup)
- allow the local daemon (workstation) to communicate with the remote daemon (server)
- allow the remote daemon to run a script depending on the request of the local daemon
- transfer the data gathered from the server back to the workstation for further processing

now, i am faced with the question of "which language am i going to use for the daemons" i have these languages in mind:
- c (either compiled in gcc or cc)
- java

i would like to ask for your suggestions on which of those two languages would be better for a daemon to run - pros and cons.

btw, i am also open for other languages what would seem better for this application. other suggestions about the setup would be very much appreciated...

Last edited by spyghost : September 23rd, 2004 at 07:11 AM. Reason: additional information

Reply With Quote
  #2  
Old September 23rd, 2004, 08:24 AM
guggach guggach is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,083 guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level)guggach User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 19 h 44 m 45 sec
Reputation Power: 9
i am quite new to unix and i am still in the process of learning the advanced concepts, ideas, etc.

interesting, begin by: ls .??*

Reply With Quote
  #3  
Old September 23rd, 2004, 08:26 AM
spyghost spyghost is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 130 spyghost User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 16 m 19 sec
Reputation Power: 5
well, i am done with those ls man etc etc stuff... that's why i am into the advanced concepts already...

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > a program running as a daemon used for monitoring remote activity


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway