!7 sclass Process { S pid, name, commandLine; long residentSize; } module ProcessList > DynObjectTable { start { doEveryAndNow(60.0, r updateMe); } void update { setData(map(oshi_listProcesses(), func(OSProcess p) -> Process { nu(Process, pid := p.getProcessID(), name := p.getName(), commandLine := p.getCommandLine(), residentSize := p.getResidentSetSize()) })); } }