diff --git a/checkin_notes b/checkin_notes index be584f628c..8badc43940 100755 --- a/checkin_notes +++ b/checkin_notes @@ -14561,3 +14561,23 @@ Bruce 15 Dec 2005 makelog.sh cleanlogs.sh +David 17 Dec 2005 + - core client: set close-on-exec flag of sockets and files so that they + don't get 'leaked' to applications + - moved server status page from ops/ to user/ + - make_project: copy sample_project_status.php to project_status.php + + html/ + languages/translations/ + en.po + ops/ + server_status.php (moved to user/sample_server_status.php) + user/ + eah_server_status.php (new; Einstein@home status page) + sample_server_status.php (new; see above) + sample_status.php (removed) + lib/ + filesys.C + network.C + py/Boinc/ + setup_project.py diff --git a/doc/acct_mgt.php b/doc/acct_mgt.php index 3283470c47..3cc878093e 100644 --- a/doc/acct_mgt.php +++ b/doc/acct_mgt.php @@ -184,9 +184,9 @@ list_item("action",
+Note: the Mac Standard GUI installation arranges +for BOINC to run on system startup. +The following is relevant if you install the command-line client.
-You can specify preferences that determine and limit -how BOINC uses your computers. +You can specify preferences that limit +when and how BOINC uses your computers. Preferences are divided into two groups: General and Project.
You can view and edit your preferences via the project's web site. -Click on 'Your account', then 'View or edit preferences'. +Click on 'Your account', then 'View or edit general preferences'. +
+ +Note: these links may be different on some projects. +For example, on Climateprediction.net you must click +'My CPDN', then 'BOINC CPDN', then 'Your account', +and 'View or edit general preferences'. + +This shows you the preferences. If you want to change anything, click on 'Edit preferences'. diff --git a/html/languages/translations/en.po b/html/languages/translations/en.po index 85f18ccd95..f0ad493740 100644 --- a/html/languages/translations/en.po +++ b/html/languages/translations/en.po @@ -196,7 +196,7 @@ msgid "CREATE_AC_PASSWORD" msgstr "Password" msgid "CREATE_AC_PASSWORD_DESC" -msgstr "Must be at least %s characters"; +msgstr "Must be at least %s characters" msgid "CREATE_AC_CONFIRM_PASSWORD" msgstr "Confirm password" diff --git a/html/user/eah_server_status.php b/html/user/eah_server_status.php new file mode 100644 index 0000000000..b886f1806d --- /dev/null +++ b/html/user/eah_server_status.php @@ -0,0 +1,307 @@ +total; +} + +function count_estimate($query) { + // this use of explain is way off at least for low counts -EAM 28Sep2004 + //$result = mysql_query("explain $query"); + $result = mysql_query("$query"); + $x = mysql_fetch_object($result); + // return $x->rows-1; + return $x->total; +} + +function find_oldest() { + $result=mysql_query("select name,create_time from result where server_state=2 order by create_time limit 1"); + $x = mysql_fetch_object($result); + return $x->create_time; +} + +function daemon_status($host, $pidname) { + $path = "../../pid_$host/$pidname.pid"; + $running = false; + if (is_file($path)) { + $pid = file_get_contents($path); + if ($pid) { + // This needs to be set to work via ssh to other hosts + //$foo = exec("/usr/bin/ssh $host ps w $pid"); + $foo = exec("ps w $pid"); + if ($foo) { + if (strstr($foo, $pidname)) { + $running = true; + } + } + } + } + return $running; +} + +function show_status($host, $function, $running) { + echo "
"; + +// tables side by side +echo "
\n";
+
+
+echo "
+ Server status+
|
+ \n";
+
+
+echo "
+
+ Users and Computers+"; + + +if ($dbrc) { + echo "The database server is not accessable"; +} else { + $now=time(0); + $s_day=24*3600; + $d_ago=$now-$s_day; + $s_week=7*$s_day; + $w_ago=$now-$s_week; + + echo " +
|
+ Work and Results+ \n"; + + + + echo " +
+ The ".PROJECT." scheduler is currently restricted + to uwm.edu and a few other domains. + + + "; +} + + +echo " |
Program | Host | Status |
---|
State | Approximate #results |
---|---|
Ready to send | ".number_format($n)." |
In progress | ".number_format($n)." |