Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65768550
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
Thu, Jun 6, 02:33
Size
266 B
Mime Type
text/x-shellscript
Expires
Sat, Jun 8, 02:33 (2 d)
Engine
blob
Format
Raw Data
Handle
18124459
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