System idle Process

delphi package - easy access to kernel objects etc.
Post Reply
stOrM!
Posts: 51
Joined: Thu Jul 15, 2004 7:38 pm

System idle Process

Post by stOrM! »

I found out how to get the CPU Usage pro process but it din't gave me a result on the System idle Process...

Current Output is:
Name: [System Process]
PID: 0
Thread: 1
Mem Usage: -
------------------------------------
Name: [System]
PID: 4
Thread: 56
Mem Usage: 240 K
...
Maybe it had to do with MadKernel???
For any other Process I get all informations but nothing for the first one above...

Maybe this shows it better: Image
best regards
s!
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

I don't believe you can ask anything about PID 0, regardless of how many access rights you have. This is not about madKernel, this is all about access rights/privileges.
stOrM!
Posts: 51
Joined: Thu Jul 15, 2004 7:38 pm

re

Post by stOrM! »

Hmm just to make sure I understand:
I don't get information of the system idle process because I don't have enough rights?

best regards
s!
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

I think only a driver can get information about the PID 0 process - if at all. I'm not even sure it's a real process.
stOrM!
Posts: 51
Joined: Thu Jul 15, 2004 7:38 pm

re

Post by stOrM! »

Hm I understand, just thought I could get those information like taskmgr (99 % idle ) and soon...

Well if a driver is needed I'll forget about it :shock:
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Well, the CPU consumption for the "idle" process is just 100% minus the CPU consumption of all other processes, of course!
stOrM!
Posts: 51
Joined: Thu Jul 15, 2004 7:38 pm

re

Post by stOrM! »

Of of course! :D
Please don't blame me for that!

I was just wondering why I don't got it from the function I used when I call it, thats what makes me wonder...
regards
s!
Post Reply