operating system - Reading memory in memory-protected OS -
modern operating systems , cpu hardware provide memory protection prevent processes accessing memory other allocated process.
given this, how 1 write utility windows' resource manager reports how memory free, in use, reserved, etc.; or basic memory dump utility , like? way on such systems through making such program part of operating system kernel privileges?
there operating system apis can allow access process' memory. if use these, memory-reading program still needs privileges. going through os way find out contents of memory , cpu registers?
is situation similar disk monitoring programs?
memory bunch of individual labeled memory locations, either 1 or 0, high or low, on or off. these bits. takes amount of current use these bits, turning them on or off, maybe possible read how current memory using, find minimums , maximums set benchmarks, , see memory usage how current varies.
it quite task software. on kernel level or upstream of that.
with disk monitoring systems, actual number of bits coming , going counted.
Comments
Post a Comment