Darren Schroeder

Results 2074 comments of Darren Schroeder

Any tips on how to get this to work? I still cannot use more than 1 level in the pyramid.

This is where we're tracking this issue. Your example program seems to be reporting differently than we're reporting in nushell. I'm not sure why yet. I'll try to get back...

@GuillaumeGomez I've gone through this a bit in our code. If you see below, it looks like we're following the model as you used in your example application. You can...

Probably. What do you want me to add? When I run your example app, it works correctly.

@GuillaumeGomez Could this be the problem? https://github.com/GuillaumeGomez/sysinfo/blob/6db49a8042fe80d57b84572d23cf64551e29cbb1/src/windows/system.rs#L258 I'm wondering if that code above should be `PrivateUsage` instead of `VirtualSize` https://github.com/GuillaumeGomez/sysinfo/blob/6db49a8042fe80d57b84572d23cf64551e29cbb1/src/windows/process.rs#L782

`PrivateUsage` prints the correct memory. `VirtualSize` is not correct. I'm not sure why. According to Microsoft `The VirtualSize member contains the current size, in bytes, of virtual memory used by...

This seems to be working much better. ```rust let mut sys = System::new_all(); let mut output = vec![]; let result: Vec = sys.get_processes().keys().cloned().collect::(); for pid in result { sys.refresh_process(pid); if...

I don't think there is anything to PR because the route I took was essentially not to do this: ```rust let result = sys.get_processes(); for (pid, process) in result.iter() {...

I was going to try and look at it in WSL2 and see if anything jumps out.