Skip to content

Instantly share code, notes, and snippets.

@iDiogenes
Created October 20, 2010 18:06
Show Gist options
  • Save iDiogenes/636960 to your computer and use it in GitHub Desktop.
Save iDiogenes/636960 to your computer and use it in GitHub Desktop.
f = File.open('/ifshome/.quota', "r") # Generated from ifs-10 cronjob
lines = f.readlines.select
lines.delete_at(0)
sleep 1
lines.each do |u|
u = u.split(' ')
puts u
sleep 1
home = u[1]
qs = u[4]
as = u[5]
end
f.close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment