ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

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:
  #1  
Old September 17th, 2003, 07:06 AM
dexter's Avatar
dexter dexter is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Bristol, UK
Posts: 3 dexter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Display Running Processes

Hi,

Can anyone tell me of a simple way to show a list of processes running on the server?

Cheers
D.

Reply With Quote
  #2  
Old September 17th, 2003, 08:54 AM
unatratnag unatratnag is offline
Average Intelligence
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2003
Location: Ohio/Chicago
Posts: 678 unatratnag User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 22 sec
Reputation Power: 6
Send a message via AIM to unatratnag
depends, for example linux type "ps"

Reply With Quote
  #3  
Old September 17th, 2003, 10:27 AM
dexter's Avatar
dexter dexter is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Bristol, UK
Posts: 3 dexter User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #4  
Old September 17th, 2003, 12:00 PM
Wingman Wingman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Bavaria, Germany
Posts: 140 Wingman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 40 m 41 sec
Reputation Power: 6
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Display Running Processes


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 4 hosted by Hostway
Stay green...Green IT