Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
rpyc daemon
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
marcin.cieslik  
View profile  
 More options May 30, 5:47 pm
From: "marcin.cieslik" <marcin.cies...@gmail.com>
Date: Sat, 30 May 2009 14:47:40 -0700 (PDT)
Local: Sat, May 30 2009 5:47 pm
Subject: rpyc daemon
Hello,

I've just put together a very simple daemon around classic_server.py
using the python-daemon and ConfigParser modules.

http://pypi.python.org/pypi/python-daemon

grab it at: http://code.google.com/p/papy/source/browse/trunk/src/papy/utils/rpycd/

Yours,
Marcin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tomer filiba  
View profile  
 More options May 31, 5:58 am
From: tomer filiba <tomerfil...@gmail.com>
Date: Sun, 31 May 2009 11:58:55 +0200
Local: Sun, May 31 2009 5:58 am
Subject: Re: [rpyc] rpyc daemon

very nice!

it would be great if you could add printing the daemon's status or something
similar, i.e., listening port, host, mode, how many current connections,
etc.

this would be useful for sysadmins and the like, that might want to write a
tool to monitor the rpyc server. e.g., every 60 seconds poll the daemon and
plot a graph of the stats.

i'll link to your utility from the rpyc's download page.

-tomer

On Sat, May 30, 2009 at 23:47, marcin.cieslik <marcin.cies...@gmail.com>wrote:

> Hello,

> I've just put together a very simple daemon around classic_server.py
> using the python-daemon and ConfigParser modules.

> http://pypi.python.org/pypi/python-daemon

> grab it at:
> http://code.google.com/p/papy/source/browse/trunk/src/papy/utils/rpycd/

> Yours,
> Marcin

--
An NCO and a Gentleman

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
marcin.cies...@gmail.com  
View profile  
 More options May 31, 9:08 am
From: marcin.cies...@gmail.com
Date: Sun, 31 May 2009 13:08:13 +0000
Local: Sun, May 31 2009 9:08 am
Subject: Re: Re: [rpyc] rpyc daemon

Hello,

I agree that this functionality is desired, but I do not really have an  
idea on how to do this. python-daemon makes rpyc classic _server detach  
from the terminal and the current process (it runs under a different pid  
than the interpreter which started the script).

I do not know how to properly communicate unix processes these are my ideas:

1) connect to the server from python and rely on some kind of introspection  
(but I have not discovered anything like conn.get_uptime() in the API)
2) make rpyc listen to signals via the "signal" module from python (this  
would probably involve coding inside rpyc)
3) make rpyc write a temporary state file every n-seconds, status in rpycd  
would be just 'check pid is running' cat state file

Yours,
Marcin

On May 31, 2009 5:58am, tomer filiba <tomerfil...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google