Re: A number of Apache processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dragon wrote:
André Warnier wrote:
export@xxxxxxx wrote:

You are of course assuming that the OP is using an OS that is Unix-like that supports these commands (Linux, BSD, OSX, Solaris, etc.).

All bets are off if the OP is using Windows. That would require digging into the Windows SDK to enumerate the system task list.

Dragon

You mean that there are actually people working under Windows and using Apache instead of IIS ? My, my..

But then, using perl, it would be a piece of cake anyway.
e.g.
use Win32::Process::List;
 my $P = Win32::Process::List->new();	constructor
my %list = $P->GetProcesses(); returns the hashes with PID and process name
..and grep() from there.
But the OP unfortunately wants C or Python, and there I'm out of my depth.

Anyway, there exists a "ps.exe" command somewhere on the MS site buried into some utilities package download. It can be used in much the same way as the Unix/Linux ps command. If "export@xxxxxxx" is interested and MS does not object, I could send him a copy.


André
Veni, vidi, vici.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux