職場のスパコンだが、「複数のキューに複数の人間が複数のジョブを突っ込む」のでとっさにどのくらい混んでいるかが分かりにくい。
なんで、例によって awk ででも集計したるかい、と。
でまぁ、 [キュー, ユーザ] な連想配列でカウントするわな。で面倒なのが最後にキューとユーザをまわしながら出力するところ。最悪キュー名は決めうちとしても、ユーザの方はキューごとにリストを作っておいてやらないといけない。
で、 awk にリストなんかないので、頑張ってキューごとのユーザの配列作ってちまちまと管理。
なんで perl でやらなかったかって?決まってるじゃん、 perl ってキタなくて嫌いだもん(殴
[referer:
The script did not produce proper HTTP headers. Please see the error log to see the detail of the errors. Depending on the server configuration, you can also run thisscript under CGIWrap debugging. Usually, either rename or linkthe script temporarily to a file which ends with .cgidextension, or add a AddHandler cgi-script-debug .cgiline to your .htaccess file.
]