move os specifit implementation to osmain

* cleaner interface for processstat i guess