Hi everyone,

I can't find out how to get the uptime of the OS from pharo.

I tried:

(FileLocator root / 'proc' / 'uptime') readStream contents.

and

(FileSystem disk root / 'proc' / 'uptime') readStream contents.

but all what I get is an empty string ''.

I don't know if there are messages in some specific classes to do this
(in OSProcess for example?).

Thanks in advance.

Julien

Reply via email to