*** apache_base:[src.modules.standard]mod_status.c;1 Mon Aug 23 11:38:22 1999 --- apache_cur:[src.modules.standard]mod_status.c;3 Mon Aug 23 11:38:07 1999 *************** *** 93,98 **** --- 93,100 ---- * extended STATUS is enabled) [George Burgyan/Jim J.] * 10.8.98 Allow for extended status info at runtime (no more STATUS) * [Jim J.] + * 20.8.99 Change formatting of of PIDs under VMS to hex (VMS convention) + * [Dave J.] */ #define CORE_PRIVATE *************** *** 461,467 **** --- 463,473 ---- ap_rputs("
\n", r);
for (i = 0; i < HARD_SERVER_LIMIT; ++i) {
if (stat_buffer[i] != '.') {
+ #ifdef VMS
+ ap_rprintf(r, " %x in state: %c ", pid_buffer[i],
+ #else
ap_rprintf(r, " %d in state: %c ", pid_buffer[i],
+ #endif
stat_buffer[i]);
if (++j >= 3) {
ap_rputs("\n", r);
***************
*** 536,542 ****
--- 542,552 ----
my_lres, lres);
else
ap_rprintf(r,
+ #ifdef VMS
+ "Server %d-%d (%x): %d|%lu|%lu [",
+ #else
"Server %d-%d (%d): %d|%lu|%lu [",
+ #endif
i, (int) ps_record.generation,
(int) ps_record.pid,
(int) conn_lres, my_lres, lres);
***************
*** 609,615 ****
--- 619,629 ----
(int) conn_lres, my_lres, lres);
else
ap_rprintf(r,
+ #ifdef VMS
+ "%d-%d %x %d/%lu/%lu",
+ #else
" %d-%d %d %d/%lu/%lu",
+ #endif
i, (int) ps_record.generation,
(int) ps_record.pid, (int) conn_lres,
my_lres, lres);