Process.ioCounters
IoCounters ioCounters() @trustedGets I/O counters for this process.
Returns
IoCounters struct with I/O statistics.
Throws
NoSuchProcess if the process doesn't exist.
AccessDenied if access is denied.
Example:
auto proc = Process.current();
auto io = proc.ioCounters();
writeln("Bytes read: ", io.readBytes);