Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63521525
user_stats.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, May 20, 17:37
Size
266 B
Mime Type
text/x-shellscript
Expires
Wed, May 22, 17:37 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17780359
Attached To
rPHINFRA c4science
user_stats.sh
View Options
#!/bin/bash
SQL="select right(accountID, length(accountID)-INSTR(accountID, '@')) as domain, count(*) as count from user_externalaccount where accountType='shibboleth' group by domain order by count desc"
ssh c4science-db01 "mysql -B -e \"$SQL\" phabricator_user"
Event Timeline
Log In to Comment