|
|
Регистрация Восстановить пароль |
Регистрация | Задать вопрос |
Заплачу за решение |
Новые сообщения |
Сообщения за день |
Расширенный поиск |
Правила |
Всё прочитано |
|
Опции темы | Поиск в этой теме |
26.04.2007, 17:29 | #1 |
JAVA BEAN
Участник клуба
Регистрация: 22.04.2007
Сообщений: 1,329
|
Память процессов
Необходимо получить для всех процессов объёмы памяти: фиксированной, свободной и перемещаемой.
Код:
|
26.04.2007, 20:23 | #2 |
добрый няша
Старожил
Регистрация: 29.10.2006
Сообщений: 4,804
|
по определению он должен выводить память всех процессов
|
05.05.2007, 23:59 | #3 |
JAVA BEAN
Участник клуба
Регистрация: 22.04.2007
Сообщений: 1,329
|
Разобрался. Нужно сделать снимок всех процессов с параметром 0, затем пройтись по процессам и сделать снимки куч с параметрами ID процесса (это я заменял на снимок с параметром 0, отсюда и кучи только для текущего процесса). Затем в каждом таком снимке нужно пройтись по спискам куч. В каждом таком списке пройтись по всем блокам и сложить их размеры. Только и всего!
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Как получить список процессов? | SoLL | Win Api | 19 | 28.01.2012 09:52 |
Блокировка процессов | Zeraim | Операционные системы общие вопросы | 5 | 17.04.2008 13:02 |
отключение процессов | UROKSAN | Win Api | 1 | 10.04.2008 09:08 |
Скрыть приложение из процессов... | lamonana | Общие вопросы Delphi | 3 | 09.03.2008 23:23 |