Message boards : BOINC client : boinccmd --get_results should display more results data
Message board moderation
Author | Message |
---|---|
Send message Joined: 30 May 15 Posts: 265 |
This kind of relates to this post here Looking at gui_rpc_client.h and comparing against gui_rpc_client_print.cpp there is an opportunity for "--get_results" to display some more task information. Currently it does not display these RESULT values for int version_num; char plan_class[64]; double received_time; bool coproc_missing; bool scheduler_wait; char scheduler_wait_reason[256]; bool network_wait; bool active_task; int active_task_state; int slot; int pid; double elapsed_time; double progress_rate; double estimated_cpu_time_remaining; bool too_large; bool needs_shmem; bool edf_scheduled; char graphics_exec_path[MAXPATHLEN]; char web_graphics_url[256]; char remote_desktop_addr[256]; char slot_path[MAXPATHLEN]; char resources[256]; If this information is displayed it can be used to script task management using [url]boinccmd --task[/url], or perform other system functions, such as changing OS priority or task affinity to CPUs (by pid). If the intention is to keep output of --get_results brief (it is currently about 20 lines per task and this will increase that to over 40), then a new option "--verbose" could be used to display these missing values. |
Send message Joined: 29 Aug 05 Posts: 15574 |
What if you use boinccmd --get_tasks and boinccmd --get_old_tasks ? That's the new attribute. |
Send message Joined: 30 May 15 Posts: 265 |
What if you use boinccmd --get_tasks and boinccmd --get_old_tasks ? get_old_tasks shows last 5(?) completed tasks - for example one of a) --get_old_tasks task PM0088_00691_266_0: project URL: http://einstein.phys.uwm.edu/ app name: einsteinbinary_BRP6 exit status: 0 elapsed time: 7613.539692 sec completed time: 17-Jan-2016 18:25:19 reported time: 17-Jan-2016 18:25:19 and b) --get_tasks 245) ----------- name: PM0087_024A1_70_2 WU name: PM0087_024A1_70 project URL: http://einstein.phys.uwm.edu/ report deadline: Sun Jan 31 18:02:25 2016 ready to report: no got server ack: no final CPU time: 0.000000 state: downloaded scheduler state: uninitialized exit_status: 0 signal: 0 suspended via GUI: no active_task_state: UNINITIALIZED app version num: 0 checkpoint CPU time: 0.000000 current CPU time: 0.000000 fraction done: 0.000000 swap size: 0.000000 working set size: 0.000000 estimated CPU time remaining: 7867.517995 |
Copyright © 2025 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.