[python-win32] FW: Python script as a windows service

2006-11-02 Thread Tor Erik Sønvisen
Hi, I'm trying to execute a python script as a windows service. I found some information at: http://agiletesting.blogspot.com/2005/09/running-python-script-as-windows.html The steps I've taken are the following: 1. Downloaded Windows Resource Kits 2. Executed instsrv.exe nameOfService

Re: [python-win32] FW: Python script as a windows service

2006-11-02 Thread Tor Erik Sønvisen
Hi, No, I did not use a batch file. As I understand, it should be possible to do this without a batch file. The name of my script is not the same as the service name, if that's what you are asking... Installing the service is not a problem, and it gets listed in the services menu. -Original

[python-win32] Get CPU usage of single process in Windows

2006-09-08 Thread Tor Erik Sønvisen
Hi, This should be possible as Taskmanager tracks CPU usage for every process... Anyone know how it can be done? regards ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Measuring cpu, memory and bandwith used by an application

2006-08-29 Thread Tor Erik Sønvisen
Given a process id (or some other identificator), is it possible to monitor resource usage of that process only? ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] running windows 'start' cmd using spawnl

2006-08-23 Thread Tor Erik Sønvisen
Hi, I need to start a program in a new cmd-window. To do this I need to execute: start [command] With os.system this is straight-forward. But I need to do it with spawnl and P_NOWAIT. I.e, asynchronously. The problem is that I need to know the path where start resides, which I'm unable to find.