Page 3 of 4 <1234>
Topic Options
#90335 - 2006-01-25 12:07 AM Re: beta - KiXforms: ProcessMon
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Thanks for the screenies. I know what you mean by those dl's from KiXhelp.com. I got a virus from there once.

<Just kidding - in case anyone takes me seriously>

Top
#90336 - 2006-01-25 12:35 AM Re: beta - KiXforms: ProcessMon
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Doc knows I'm just kidding. I'm just getting back at him for laughing at my runnas slip-up... anyway, looks like Internet Explorer isn't no light-weight either ...


Top
#90337 - 2006-01-25 01:52 AM Re: beta - KiXforms: ProcessMon
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
LOL - I'd get that whole computer replaced Shawn. Install FreeBSD or something to get it working correctly.

At least get FireFox updated. Heck if it thinks theirs JAVA running on KiXhelp.com then it's really screwed up browser. I don't know how to write any Java code for it
 

Top
#90338 - 2006-01-25 12:13 PM Re: beta - KiXforms: ProcessMon
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
wtf.
shawn, you have nice amount of mem there
and considering the amount of CPU time by IE, your system has been booted around 1997 last time...
_________________________
!

download KiXnet

Top
#90339 - 2006-01-25 01:22 PM Re: beta - KiXforms: ProcessMon
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
I personally liked the process ID, but what a stable product that can run that long.
Top
#90340 - 2006-01-25 01:33 PM Re: beta - KiXforms: ProcessMon
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Actually to be serious for sec. I remember under Windows NT that when you started IE - a process called iexplore.exe shows in taskmgr. Right now on my XP box I actually dont get that process anymore ... I assume its running as a new thread of something else ? maybe explorer.exe ?

Do you guys see iexplore.exe running anymore ? Is it a setting in IE somewhere that controls this ? Anyone know what the scoop is ? Where did iexplore.exe go :0(

Top
#90341 - 2006-01-25 04:50 PM Re: beta - KiXforms: ProcessMon
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Dunno. Shows up as iexplore.exe for me.
Top
#90342 - 2006-01-25 05:16 PM Re: beta - KiXforms: ProcessMon
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
hmmm, talk about your stealth-ware ... When I start Internet Explorer, my explorer.exe thread count goes up by one. Think this is a setting somewhere, wonder if it has something to do with that "open in new window" setting. idk.
Top
#90343 - 2006-01-26 08:44 AM Re: beta - KiXforms: ProcessMon
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1894
Loc: Hilversum, The Netherlands
On every Windows machine Internet Explorer is still iexplore.exe. I've tested it here at work, 1 98 machine, 3 2K machines and 4 XP machines. All show iexplore.exe popping up as soon as you fire up the browser.

[edit]
All machines have the latest windows updates btw.
[/edit]


Edited by apronk (2006-01-26 08:46 AM)

Top
#90344 - 2006-01-26 11:12 AM Re: beta - KiXforms: ProcessMon
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
shawn, in any case, are you sure you haven't accidentally deleted your iexplore.exe in your mozilla based hype?

also, how you start your ie?
_________________________
!

download KiXnet

Top
#90345 - 2006-01-27 02:00 PM Re: beta - KiXforms: ProcessMon
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1894
Loc: Hilversum, The Netherlands
About the monitor I love it, but a kill button would be cool
I took the liberty of writing a UDF for it based on your code. I hope you find it usefull.
Code:

Function KillProcess($sProcessname, Optional $sComputer)
Dim $x, $objWMIService, $colItems, $objItem
If $sComputer = ""
$sComputer = "."
EndIf

$objWMIService = GetObject("winmgmts:\\" + $sComputer + "\root\cimv2")

If @ERROR
$x = MessageBox(@SERROR,"Error",0)
Exit(1)
EndIf

$colItems = $objWMIService.ExecQuery("Select * from Win32_Process",,48)

For Each $objItem In $colItems
If $objItem.Name = $sProcessname
$strWBEMPath = "Win32_Process.Handle=" + $objItem.ProcessID
$objInstance = $objWMIService.Get($strWBEMPath)
$intStatus = $objInstance.Terminate(1)
If $intStatus <> 0
$x = MessageBox("Killing Process " + $sProcessName + " Failed" + @CRLF + @SERROR,"Error",0)
EndIf
EndIf
Next
EndFunction


Top
#90346 - 2006-01-28 07:13 PM Re: beta - KiXforms: ProcessMon
ChristopheM Offline
Hey THIS is FUN
*****

Registered: 2002-05-13
Posts: 309
Loc: STRASBOURG, France
shawn, have you tried ProcessExplorer from sysinternals.com ?

if you choose view by tree, you can see which process is the parent of the iexplore process.
_________________________
Christophe

Top
#90347 - 2006-01-28 07:35 PM Re: beta - KiXforms: ProcessMon
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Doesn't MS have a PTree that does that too?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#90348 - 2006-01-28 08:27 PM Re: beta - KiXforms: ProcessMon
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Thanks Christophe, will try that. This problem I have with iexplore.exe not showing up is not "uncommon", if you search the web there is discussion about it but thats all its seems to be - talk ... its controled by some setting somewhere I think ... haven't nailed it yet.
Top
#90349 - 2006-01-28 09:39 PM Re: beta - KiXforms: ProcessMon
ChristopheM Offline
Hey THIS is FUN
*****

Registered: 2002-05-13
Posts: 309
Loc: STRASBOURG, France
Les,

maybe MS provides a similar tool but tools from Mark Russinovitch at Sysinternals are for me, some of the best admin tools.

Filemon, regmon, processexplorer, listdlls, loardord, autorun, pstools (psexec, pslist, etc...) or rootkitrevealer are very useful and many of them are provided with source.
_________________________
Christophe

Top
#90350 - 2006-08-03 02:55 PM Re: beta - KiXforms: ProcessMon
sand Offline
Lurker

Registered: 2006-08-02
Posts: 2
thanks thats a great thing.

i'm tried add ownername on processview

I'm testing
vbs running
Code:

strComputer = "."
set processes = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2").ExecQuery("Select * from Win32_Process")

For Each process In processes
RT = process.GetOwner(NameOfUser)
Wscript.Echo "--"& NameOfUser &"--"
Next



kix not running
Code:

$strComputer = "."
$processes = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" + $strComputer + "\root\cimv2").ExecQuery("Select * from Win32_Process")

For Each $process In $processes
$RT = $process.GetOwner($NameOfUser)
? "--"+ $NameOfUser +"--"
Next



I hope conversion are right.
in KiXtart version $NameOfUser empy
KiXtart can $NameOfUser reread?

Thanks for Help
Thanks for KiX...

sand

Top
#90351 - 2006-08-03 03:36 PM Re: beta - KiXforms: ProcessMon
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
that's pass byref thingie.
kixtart does not support that.

Top
#90352 - 2006-08-03 05:51 PM Re: beta - KiXforms: ProcessMon
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
try this:

$RT = $process.GetOwner("NameOfUser")
? "--"+ $RT +"--"

but Jooel is prolly right.

[edit]
nope don't try that.
yep, Jooel is right, not very often is wrong, Jooel the man.
[/edit]


Edited by benny69 (2006-08-03 05:58 PM)
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#90353 - 2006-08-04 04:22 PM Re: beta - KiXforms: ProcessMon
sand Offline
Lurker

Registered: 2006-08-02
Posts: 2
thanks for answer

@benny69
$RT not returns Username

GetOwner:
http://msdn.microsoft.com/library/defaul...n32_process.asp

@Jooel

Top
#90354 - 2006-08-05 05:21 PM Re: beta - KiXforms: ProcessMon
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
I've been asking for the ByRef support in KiXtart for a long time now
_________________________
There are two types of vessels, submarines and targets.

Top
Page 3 of 4 <1234>


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.191 seconds in which 0.143 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org