work_queue_graph_log(1)
π work_queue_graph_log β the manual, but make it cute π
okay bestie, welcome to work_queue_graph_log(1) from the Cooperative Computing Tools fam π«Ά this is the little script that turns your Work Queue stats logs into actual pretty pictures. let's get into it β¨
β¨ NAME β¨
work_queue_graph_log β plots Work Queue statistics logs ππ
πΈ SYNOPSIS πΈ
work_queue_graph_log [options] work-queue-log
π¦ DESCRIPTION π¦
so work_queue_graph_log is a script that plots some of the statistics from a Work Queue log, okay? and like, the log has to be generated by work_queue_specify_log from the C and Perl Work Queue APIs, or by q.specify_log from the Python Work Queue API. it also assumes you've got gnuplot available, no cap β that's literally the whole vibe. π
work_queue_graph_log generates four plots, and every single one of them has timestamp as the independent variable π
timeβ timestamp,total_send_time,total_receive_time,total_transfer_time, andtotal_manager_time. (heads up: the last two are generated by the script, not in the log π)time-logβ the log-scale version of times, plustotal_execute_time.tasksβtotal_tasks_waiting,total_tasks_running,total_workers_connected,total_workers_busy, andtotal_cores.tasks-logβ the log-scale version of tasks, plustotal_complete_tasks.
periodt. four plots. obsessed. π
π OPTIONS π
-o <prefix-output>β generateprefix-output.{time,time-log,tasks,tasks-log}.<output-format>. default is<work-queue-log>. π-c <gnuplot-path>β tell it where thegnuplotexecutable lives. default isgnuplot.-r <range>β the range of time to plot, in time units (peep-ufor those) measured from the start of execution. it's giving:min:max,min:, or:max. β¨-T <output-format>β set the output format. default ispng. but if you say"text", then the gnuplot scripts get written instead of the images. lowkey useful ngl.-u <time-unit>β the time scale to output. one ofs,m,hord, for seconds, minutes (default), hours or days. π-hβ show help text. bestie behavior fr fr.
π EXAMPLES π
general use, the classic:
% work_queue_graph_log mylog
% ls mylog*.png
mylog.tasks.png mylog.tasks-log.png mylog.time.png mylog.time-log.png
plot up to the eleventh hour π:
% work_queue_graph_log -u h -r :11 mylog
generate script text instead of images:
% work_queue_graph_log -Ttext mylog
% ls mylog*.gnuplot
mylog.tasks.png.gnuplot mylog.tasks-log.png.gnuplot mylog.time.png.gnuplot mylog.time-log.png.gnuplot
specify the gnuplot path:
% work_queue_graph_log -c/some/dir/bin/gnuplot mylog
π BUGS π
not me exposing the flaws but okay, here's the tea:
- some formats need a special setup for their gnuplot output terminal.
-Tblindly passes the output format. so likeβ¦ it does not check. it just sends it. ππ
π COPYRIGHT π
The Cooperative Computing Tools are Copyright (C) 2005-2019 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.
and that's the whole page bestie, you ate that π this was CCTools 8.0.0 DEVELOPMENT energy, and yes, the manual page really is called work_queue_graph_log(1) β go plot something iconic β¨πΈπ¦
π¦ where this page comes from
- debian bookworm: coop-computing-tools 9.9-2+b4 Β· GPL-2.0-only
- ubuntu jammy: coop-computing-tools 9.9-2ubuntu3 Β· GPL-2.0-only
- ubuntu noble: coop-computing-tools 9.9-4ubuntu4 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms