<commit_before><commit_msg>A page for viewing the mail queues<commit_after><?php
	#
	# $Id: status.php,v 1.1.2.1 2003-09-28 15:03:04 dan Exp $
	#
	# Copyright (c) 2003 DVL Software Limited
	#

	require_once($_SERVER['DOCUMENT_ROOT'] . '/include/common.php');
	require_once($_SERVER['DOCUMENT_ROOT'] . '/include/freshports.php');
	require_once($_SERVER['DOCUMENT_ROOT'] . '/include/databaselogin.php');
	require_once($_SERVER['DOCUMENT_ROOT'] . '/include/getvalues.php');

	$Debug = 0;

	$Title    = "Status";

	freshports_Start($Title,
					"freshports - new ports, applications",
					"FreeBSD, index, applications, ports");

?>

<TABLE width="<? echo $TableWidth ?>" border="0" ALIGN="center">

<TR><TD valign="top" width="100%">
<TABLE width="100%" border="0">
<TR>
	<? echo freshports_PageBannerText($Title); ?>
</TR>
<TR><TD>
System status
</TD></TR>
<tr><td>
<?

	require_once($_SERVER['DOCUMENT_ROOT'] . '/../configuration/status-config.php');

echo '<table border="1">' . "\n";
echo '<tr><td></td><td align="center" colspan="' . count($sites) . '">sites</td></tr>' . "\n";
echo '<tr><td>queues</td>';
foreach ($sites as $site) {
	echo '<td><b>' . $site . '</b></td>';
}
echo "</tr>\n";

foreach ($queues as $queue => $pattern) {
	echo '<tr><td><b>' . $queue_names[$queue] . '</b></td>';
	foreach ($sites as $site) {
		$count = exec("ls $base/$site/msgs/FreeBSD/$queue/$pattern | wc -l");
		echo '<td align="right">' . $count . '</td>';
	}
	echo "</tr>\n";
}

echo "</table>\n";
?>
</td></tr>
</TABLE>

<p>The processed queue is cleared out daily.

  <TD VALIGN="top" WIDTH="*" ALIGN="center">
	<?
	freshports_SideBar();
	?>
  </td>

</TR>
</TABLE>

<?
freshports_ShowFooter();
?>

</body>
</html>

{'fraction_non_alphanumeric': 0.24633431085043989, 'fraction_numerical': 0.0187683284457478, 'mean_word_length': 4.4504792332268375, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 56, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4729546', 'n_tokens_mistral': 695, 'n_tokens_neox': 638, 'n_words': 134}