|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hi,
Can anyone tell me of a simple way to show a list of processes running on the server? Cheers D. |
|
#2
|
|||
|
|||
|
depends, for example linux type "ps"
|
|
#3
|
||||
|
||||
|
Sorry, I should have made myself clearer :/
I meant display the processes within an ASP page. The reason for this is that I'm writing a status page for an NT server and i'd like it to show which services are running on the server. If all else fails then I'll use a server side include to run TLIST.EXE but I was hoping there might be a neater way of doing it ![]() Cheers D. |
|
#4
|
|||
|
|||
|
There is one, but you have to create a ActiveX dll (C++ or VB) and use some API calls. You can't do this in pure ASP since ASP doesn't allow to import API calls so you need to generate a wrapper DLL and then use CreateObject("Your.DLL") and call your method...
See this example for the code of getting all running processes: http://beta.experts-exchange.com/Pr...Q_20684555.html |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Display Running Processes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|