#!/mod/bin/jimsh package require cgi source /mod/webif/lib/setup require pretty_size system.class pkg.class jqplugin enadis jscss script.js style.css header pkg loaddiagmeta set smv [system modversion 1] puts {
Utilities
Run Diagnostic:
Package:
} if {[system model] eq "HDR"} { puts { } } puts {
} 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