iotop icon indicating copy to clipboard operation
iotop copied to clipboard

Monitor list of processes

Open lezsakdomi opened this issue 8 months ago • 2 comments

Possibility to specify -p multiple times would be really nice.

I see on https://github.com/Tomas-M/iotop/blob/dd2dbd1c1b62b29d6f3ee67c2958e64e8fb23794/src/main.c#L303, that it just stores the passed PID, and on https://github.com/Tomas-M/iotop/blob/dd2dbd1c1b62b29d6f3ee67c2958e64e8fb23794/src/views.c#L367 that it makes a single comparison.

I'd like if this tool would store all the occurrences of -p, and store it in a linked list or in an array, and walk that array/ll in the filter1 function.

lezsakdomi avatar Jun 17 '24 15:06 lezsakdomi