#!/mod/bin/jimsh set services [split [exec /mod/bin/service mlist]] foreach service $services { set data [split $service ":"] set name [lindex $data 0] set installed [lindex $data 1] set auto [lindex $data 2] set running [lindex $data 3] puts "$name" if (!$installed) { puts "Not installed" continue } puts -nonewline "" puts -nonewline "" puts "" }