Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi out there,

 

Due to some - let's call it arguing - with a costumer I need to know how to recieve information of a process whose name or whose PID is known using VB.net.

The data, a timestamp, usage of memory and CPU-time should be written in a spcified file. My Problem is: how do I get these information from the taskmanager(Timestamp is easy as I create it by myself)?

 

Looking forward to your replies and many thanks in advance

 

Voca

 

Oh, I almost forgot: If this is not the correct forum, please tell me where to post!

  • *Experts*
Posted
Look into the System.Diagnostics.Process class. You will be able to retrieve the process by its ID using GetProcessByID method of that class. Process class will also show you various info like the one you want.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...