...
Showing my work
#active accounts
zia krowe >ypcat passwd|grep "nm-"|grep -v closed|wc -l
...
120
...
cvpost-master-2 root >ypcat passwd|grep "cv-"|grep -v closed|wc -l
...
4
...
#accounts created
zia krowe >grep "^Subject: NRAO account nm-" /lustre/aoc/admin/mail/newacct | sort | uniq|wc -l
1141
1141 accounts created since first record on Feb. 20, 2015.
152 of these accounts were created in the last 365 days.
cvpost-master-2 root >grep "^Subject: NRAO account cv-" /lustre/cv/admin/mail/newacct | sort | uniq|wc -l
212
212 accounts created since first record on Jul. 6, 2015.
...
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 -l
807
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 -l
...
95
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 -l
780
780 batch jobs / 12 months = 65.0 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 -l
74
74 batch jobs / 12 months = 6.2 batch jobs per month in CV
...