[GE users] Quick -n- simple reporting tool

Joe Landman landman at scalableinformatics.com
Wed Oct 11 06:10:18 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. ]

Hi folks:

  A customer who didn't want to do any parsing/computing themself asked
us to throw together a simple parser for qacct output.  This
(http://downloads.scalableinformatics.com/downloads/gridengine/usage.pl)
is the result.  Please let me know if it is useful/useless.  Here is
some sample output from our internal cluster:

[landman at minicc ~]$ ./usage.pl
Total usage: (in units of second(s))
        wallclock  :       46733.000 second(s)
        user time  :        1600.000 second(s) [3.42%]
        system time:          17.000 second(s) [0.04%]
        cpu time   :       70379.000 second(s) [150.60%]

user            wallclock       user time       system time     cpu time
       memory          percent of total time
landman         46733.000       1600.000        17.000
70379.000       0.000           100.000

[landman at minicc ~]$ ./usage.pl --day
Total usage: (in units of day(s))
        wallclock  :           0.541 day(s)
        user time  :           0.019 day(s) [3.42%]
        system time:           0.000 day(s) [0.04%]
        cpu time   :           0.815 day(s) [150.60%]

user            wallclock       user time       system time     cpu time
       memory          percent of total time
landman         0.541           0.019           0.000           0.815
        0.000           100.000

[landman at minicc ~]$ ./usage.pl --month
Total usage: (in units of month(s))
        wallclock  :           0.018 month(s)
        user time  :           0.001 month(s) [3.42%]
        system time:           0.000 month(s) [0.04%]
        cpu time   :           0.027 month(s) [150.60%]

user            wallclock       user time       system time     cpu time
       memory          percent of total time
landman         0.018           0.001           0.000           0.027
        0.000           100.000

[landman at minicc ~]$ ./usage.pl --year
Total usage: (in units of year(s))
        wallclock  :           0.001 year(s)
        user time  :           0.000 year(s) [3.42%]
        system time:           0.000 year(s) [0.04%]
        cpu time   :           0.002 year(s) [150.60%]

user            wallclock       user time       system time     cpu time
       memory          percent of total time
landman         0.001           0.000           0.000           0.002
        0.000           100.000


As indicated, it is really simple.  If anyone wants things like excel
output, fire me a note.  I am sure they will ask as well.  GPLv2
license.  Enjoy.

-- 
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics LLC,
email: landman at scalableinformatics.com
web  : http://www.scalableinformatics.com
phone: +1 734 786 8423
fax  : +1 734 786 8452 or +1 866 888 3112
cell : +1 734 612 4615

---------------------------------------------------------------------
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