[GE users] Script for accounting(8) file analysis

Simon Gao gao at schrodinger.com
Sat Jun 10 01:00:03 BST 2006


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Andreas,

Your script works great. However, is it possible to add sorting into your script so when running with "-u", users are listed in descending order based on njobs or runtime? maybe another argument like "-s"?

Simon Gao 



Andreas Haas wrote:
> Hi all,
>
> I added a Ruby script for accounting file analysis to
>
>    source/scripts
>
> directory of maintrunk and additionally made it available
> under
>
>    http://gridengine.sunsource.net/files/documents/7/82/analyze.rb.gz
>
> usage is
>
>       analyze.rb <options> accounting_file
>         -help
>         -r                                records table
>         -u                                users table
>         -h                                hosts table
>         -q                                queues table
>         -p                                projects table
>         -c                                categories table
>         -ts                               timesteps table
>         -ts_c                             categories per timestep
>         -ts_j                             jobs per timestep
>         -t "first"|<first> "last"|<last>  full analysis, but print these timesteps only
>
> the reason I worked on it is I needed job and category analysis on
> a timestep basis as provided by -ts -ts_c -ts_j and -t options.
>
> I think it is useful, even though it is certainly not perfect.
> E.g. rescheduled job are not orderly handled and there are
> certainly other insufficiencies.
>
> Give it a try, but be careful when using it with large accounting
> files.
>
> Regards,
> Andreas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list