Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62534208
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 13, 20:40
Size
266 B
Mime Type
text/x-shellscript
Expires
Wed, May 15, 20:40 (2 d)
Engine
blob
Format
Raw Data
Handle
17273329
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