#!/mod/bin/jimsh package require cgi source /mod/webif/lib/setup require pretty_size system.class pkg.class puts "Content-Type: text/html" puts "" pkg loaddiagmeta set smv [system modversion 1] header puts {
Utilities } if {[system model] eq "HDR"} { puts { } } puts {
Run Diagnostic:
Package:
} if {[system model] eq "HDR"} { puts { } } puts {
} if {$smv < 200} { puts {
(Install custom firmware v2.00 to enable this option)
} } puts {
} if {$smv < 213} { puts {
(Install custom firmware v2.13 to enable this option)
} } puts {
View: Jim Reference Manual | OO | Sqlite
View Log Files } foreach file [lsort [concat \ [glob -nocomplain /var/log/*.log] \ [glob -nocomplain /mod/tmp/*.log] \ [glob -nocomplain /mnt/hd3/*.log] \ ]] { puts " [file tail $file] ([pretty_size [file size $file]]) Clear
" } puts {
} footer