Changeset 904 for pykota/trunk/bin
- Timestamp:
- 04/11/03 14:33:13 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/repykota
r900 r904 23 23 # 24 24 # $Log$ 25 # Revision 1.22 2003/04/11 12:33:13 jalet 26 # Displays WARN or DENY if datelimit is not set too. 27 # 25 28 # Revision 1.21 2003/04/10 21:47:20 jalet 26 29 # Job history added. Upgrade script neutralized for now ! … … 195 198 if now >= datelimit : 196 199 datelimit = "DENY" 200 elif pagecounter >= hardlimit : 201 datelimit = "DENY" 202 elif pagecounter >= softlimit : 203 datelimit = "WARN" 197 204 else : 198 205 datelimit = "" … … 200 207 print "%-10.10s %c %8i %8s %8s %10s %9i" % (name, reached, pagecounter, str(softlimit), str(hardlimit), str(datelimit)[:10], lifepagecounter) 201 208 return lifepagecounter 202 203 209 204 210 if __name__ == "__main__" :