You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Jeff needs external account statistics by Thursday (#active accounts, #accounts created, Avg new accounts per month, Avg # of interactive sessions per month, 
Avg # of batch jobs per month

For both nm- and cv- accounts


ItemNMCV
#active accounts1194
#accounts created1141212
Avg new accounts per month

Avg # of interactive sessions per month

Avg # of batch jobs per month


Showing my work

#active accounts

zia krowe >ypcat passwd|grep "nm-"|grep -v closed|wc

    120     249    9294


cvpost-master-2 root >ypcat passwd|grep "cv-"|grep -v closed|wc

      4       8     310

#accounts created

This is the total number of unique nm- accounts created since Feb. 20, 2015.

zia krowe >grep "^Subject: NRAO account nm-" /lustre/aoc/admin/mail/newacct | sort | uniq|wc

   1141    5705   43610

152 of these accounts were created in the last 365 days.


This is the total number of unique cv- accounts created since Jul. 6, 2015.

cvpost-master-2 root >grep "^Subject: NRAO account cv-" /lustre/cv/admin/mail/newacct | sort | uniq|wc

    212    1060    8095

17 of these accounts were created in the last 365 days.

Avg new accounts per month

I used 90 months here because the first nm- account we created was on Feb. 20, 2015.

1141 accounts / 90 months = 12.7 new accounts per month in NM


I used 84 months here because the first cv- account we created was on Jul. 6, 2015

212 accounts / 84 months = 2.5 new accounts per month in CV

Avg # of interactive sessions per month

nmpost-serv-1 root >/opt/services/moab/tools/moab/showhist.moab.pl -queue interactive -n 365 | grep "^User Name" | grep "nm\-" | wc
    807    3228   23010

807 interactive jobs / 12 months = 67.3 interactive jobs per month in NM

[root@cvpost-serv-2 ~]# /opt/services/moab/tools/moab/showhist.moab.pl -queue interactive -n 365 | grep "^User Name" | grep "cv\-" | wc
     95     380    2728

95 interactive jobs / 12 months = 7.9 interactive jobs per month in CV

Avg # of batch jobs per month

nmpost-serv-1 root >/opt/services/moab/tools/moab/showhist.moab.pl -queue batch -n 365 | grep "^User Name" | grep "nm\-" | wc
    780    3120   22354

780 batch jobs / 12 months = 65 batch jobs per month in NM


[root@cvpost-serv-2 ~]# /opt/services/moab/tools/moab/showhist.moab.pl -queue batch -n 365 | grep "^User Name" | grep "cv\-" | wc
     74     296    2090

74 batch jobs / 12 months = 6.2 batch jobs per month in CV


  • No labels