Public feed #379452

Something

public text v1 · immutable
Raw Edit
·published 2007-03-03 08:15 UTC
rendered paste body
alias stats {  os.stats | graphics.stats | cpu.stats | hdd.stats | network.stats }

alias os.stats {
  say 07,01Operating System[00 $+ $dll(moo.dll,osinfo,_) $+ 07] 07Uptime[00 $+ $dll(moo.dll,uptime,_) $+ 07]
}
alias cpu.stats {   
  say 07,01CPU(00 $+ $dll(moo.dll,cpuinfo,_) $+ 07] 07RAM[00 $+ $dll(moo.dll,meminfo,_) $+ $result $+ 07]
}
alias network.stats {
  say 07,01Network[00 $+ $dll(moo.dll,interfaceinfo,_) $+ 07] 
}
alias graphics.stats {
  say 07,01Graphics[00 $+ $dll(moo.dll,gfxinfo,_) 07@00 $dll(moo.dll,screeninfo,_) $+ 07]
}
alias hdd.stats {
  say 07,01HDD[00 $+ $dll(moo.dll,diskcapacity,_) $+ 07] 
}