AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to retrive single process memory usage?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
twhyman



Joined: 07 Dec 2005
Posts: 218

PostPosted: Fri Apr 11, 2008 7:33 am    Post subject: How to retrive single process memory usage? Reply with quote

Hi,

I would like to retrive a single process memory usage by using PID or name.

Is that possible, cause i did not see any reference for such thing in the help?

Thanks
Twhyman
Back to top
View user's profile Send private message
twhyman



Joined: 07 Dec 2005
Posts: 218

PostPosted: Fri Apr 11, 2008 7:08 pm    Post subject: Reply with quote

I will even take a DLL or a command line application if someone got something like that Very Happy
Back to top
View user's profile Send private message
widow
Guest





PostPosted: Fri Apr 11, 2008 9:17 pm    Post subject: Reply with quote

Quote:
PrcIdent is a process identification library
containing functions that can return process
identifier (PID) for given process name and
vice versa, list of running terminal sessions
and processes and identifier of terminal session
where given process runs. PrcIdent is limited to
sessions and processes running on local compute


URL
Back to top
widow
Guest





PostPosted: Fri Apr 11, 2008 9:20 pm    Post subject: Reply with quote

sorry that wont help, i read your question wrong.
Back to top
twhyman



Joined: 07 Dec 2005
Posts: 218

PostPosted: Fri Apr 11, 2008 11:43 pm    Post subject: Reply with quote

I have found a command line utility called "tasklist"

got some very nice options.
Quote:

File: Tasklist.exe
Version: 5.1.2600.0
Operating System: Windows XP
Description: Windows XP Tasklist utility
Installation Notes: Execute the file from a MS-DOS prompt. Additional information about the available commands can be seen by typing "tasklist /?"
File Size: 71 KB
Technical Notes: Enables Windows XP Home and Windows XP Professional users to view complete information about the services running on their computer.
Cost: None.

Download Here


Still it kinda weird i cannot do that within AHK...
Back to top
View user's profile Send private message
widow
Guest





PostPosted: Sat Apr 12, 2008 1:13 am    Post subject: Reply with quote

twhyman wrote:
I have found a command line utility called "tasklist"

got some very nice options.
Quote:

File: Tasklist.exe
Version: 5.1.2600.0
Operating System: Windows XP
Description: Windows XP Tasklist utility
Installation Notes: Execute the file from a MS-DOS prompt. Additional information about the available commands can be seen by typing "tasklist /?"
File Size: 71 KB
Technical Notes: Enables Windows XP Home and Windows XP Professional users to view complete information about the services running on their computer.
Cost: None.

Download Here


Still it kinda weird i cannot do that within AHK...

Quote:
Image Name PID Session Name Session# Mem Usage
========================= ====== ================ ======== ============
System Idle Process 0 Console 0 16 K
System 4 Console 0 32 K
smss.exe 844 Console 0 44 K
csrss.exe 892 Console 0 2,340 K
winlogon.exe 916 Console 0 1,748 K
services.exe 960 Console 0 932 K
lsass.exe 972 Console 0 1,560 K
svchost.exe 1124 Console 0 1,036 K
svchost.exe 1188 Console 0 1,408 K
svchost.exe 1440 Console 0 8,512 K


Its builtin in XP pro. I didnt know so thanx Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group