Posts by Cyanryaku

1) Message boards : The Lounge : Developed and the contribute my small BOINC stat Linux bash scripts for daily crontab (Message 100148)
Posted 27 Jul 2020 by Profile Cyanryaku
Post:
I developed some handy bash scripts for my daily monitoring of boinc client by crontab. I'd like to share it freely here.
Download that simple script tarball at Google Drive
https://drive.google.com/file/d/1Zz_9eeBH_WxbFfH2wJkdVqjXyYhMwdZb/view?usp=sharing

In your crontab, you can setup like:

@daily boinc_wu_exp 2> /dev/null
@daily boinc_wu_sort short 2> /dev/null
@daily boinc_msg_1d



Here is a sample output of the script boinc_wu_sort. Enjoy it...

~$ boinc_wu_sort 
..........................................................................................................................................
138 tasks scanned
                                                                     UR
 ID# Project        Deadline           Active         Sche uP Comp%  LT Task Name           
---- -------------- ------------------ -------------- ---- -- ------ -- ====================
 30) Rosetta@home   07/28/20_21:15:32  SUSPENDED      pree 1  39.23% .. fp200511_pair1128_fnr2_Y_fnr_122_9_0001_fragments_abinitio_SAVE_ALL_OUT_1003131_849_0
 29) Rosetta@home   07/28/20_21:15:32  EXECUTING      sche 1  58.28% .. fp200511_pair1346_fnr2_X_fnr_281_95_0001_fragments_abinitio_SAVE_ALL_OUT_1003135_849_0
 33) Rosetta@home   07/29/20_00:00:32  SUSPENDED      pree 1  43.11% .. sidneylisanza_4_2YXF_1_relaxed_0001_n2_step7500_m2_pd0.35_default.pdb_halucinated_1_0001_fragments_abinitio_SAVE_ALL_OUT_1002812_1020_0
 35) Rosetta@home   07/29/20_04:15:30  SUSPENDED      pree 1  40.25% .. activin_receptorII_attempt2_6_SAVE_ALL_OUT_IGNORE_THE_REST_2me5sr3w_1002982_1_0
 38) Rosetta@home   07/29/20_08:15:29  SUSPENDED      pree 1  15.28% .. rb_07_25_32843_32353_ab_t000__robetta_cstwt_5.0_IGNORE_THE_REST_12_15_1003206_3_0
 41) Rosetta@home   07/29/20_09:15:29  UNINITIALIZED  unin 1    .    .. rb_07_24_32695_32247__t000__0_C1_SAVE_ALL_OUT_IGNORE_THE_REST_1003085_965_0
 44) Rosetta@home   07/29/20_10:00:38  UNINITIALIZED  unin 1    .    .. miniprotein_relax5_SAVE_ALL_OUT_IGNORE_THE_REST_2oz8gp5z_1002874_18_0
 48) Rosetta@home   07/29/20_11:15:32  UNINITIALIZED  unin 1    .    .. activin_receptorII_attempt2_7_SAVE_ALL_OUT_IGNORE_THE_REST_3lx5wj9b_1002988_1_0
...
...
...
 64) MilkyWay@home  08/07/20_19:00:25  UNINITIALIZED  unin 1    .    .. de_modfit_84_bundle4_4s_south4s_bgset_3_1588605902_54597644_1
 62) MilkyWay@home  08/07/20_19:00:25  UNINITIALIZED  unin 1    .    .. de_modfit_86_bundle4_4s_south4s_bgset_3_1588605902_51884460_1
 80) MilkyWay@home  08/07/20_21:00:25  UNINITIALIZED  unin 1    .    .. de_modfit_84_bundle4_4s_south4s_bgset_3_1588605902_54741630_0
 77) MilkyWay@home  08/07/20_21:00:25  UNINITIALIZED  unin 1    .    .. de_modfit_84_bundle4_4s_south4s_bgset_3_1588605902_54741631_0
 81) MilkyWay@home  08/07/20_21:00:25  UNINITIALIZED  unin 1    .    .. de_modfit_84_bundle4_4s_south4s_bgset_3_1588605902_54741632_0
 78) MilkyWay@home  08/07/20_21:00:25  UNINITIALIZED  unin 1    .    .. de_modfit_84_bundle4_4s_south4s_bgset_3_1588605902_54741633_0
 82) MilkyWay@home  08/07/20_21:00:25  UNINITIALIZED  unin 1    .    .. de_modfit_84_bundle4_4s_south4s_bgset_3_1588605902_54741634_0
 79) MilkyWay@home  08/07/20_21:00:25  UNINITIALIZED  unin 1    .    .. de_modfit_86_bundle4_4s_south4s_bgset_3_1588605902_54741638_0
136) Einstein@Home  08/10/20_16:15:07  UNINITIALIZED  unin 1    .    .. LATeah1048F_680.0_179301_0.0_0
----------------
Scheduler state: aborted | uninitialized | preempted | scheduled 

======== Current Time ========
07/27/20 17:26:57 +08:00 CST
=== Total Works / Allow Works (.|!) / Resource Share / Credits  ===
Project        TtW  A    ResShare    UsrTotal   UsrExpAvg   HostTotal  HostExpAvg
-------        ---  -  ----------  ----------  ----------  ----------  ----------
Einstein@Home    4  .          20     7144969        4955      122661        1975
LHC@home        31  .          20       63615        2405       20623        1130
MilkyWay@home   21  .          20      868620        3544      199496         459
Rosetta@home    19  .          30     5860366        3333      114497        1269
WCG             63  .          20     1745252        1542       86298         406





Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.