#90335 - 2006-01-25 12:07 AM
Re: beta - KiXforms: ProcessMon
|
Chris S.
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
   
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
   
Registered: 2000-07-28
Posts: 11628
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
|
|
|
|
#90339 - 2006-01-25 01:22 PM
Re: beta - KiXforms: ProcessMon
|
Chris S.
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
|
|
|
|
#90345 - 2006-01-27 02:00 PM
Re: beta - KiXforms: ProcessMon
|
Arend_
MM club member
   
Registered: 2005-01-17
Posts: 1896
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
|
|
|
|
#90349 - 2006-01-28 09:39 PM
Re: beta - KiXforms: ProcessMon
|
ChristopheM
Hey THIS is FUN
   
Registered: 2002-05-13
Posts: 311
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
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
|
|
|
|
#90352 - 2006-08-03 05:51 PM
Re: beta - KiXforms: ProcessMon
|
Benny69
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)
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
2024-03-08 [mole]
Thanks for getting the posts back again.
2024-04-18 [MarineV]
will the db errors get fixed????
2024-04-26 [Tonny]
database error, please!
2024-05-09 [NTDOC]
I'm not seeing any errors
2024-05-31 [chojin]
DB is down again
2024-06-04 [selsner]
Still no access, please help!
2024-06-07 [mole]
Looks like DB is back again. Thanks.
2024-06-17 [It_took_my_meds]
We encountered a problem. The reason reported was Database error only visible to forum administrators Please click back to return to the previous page.
2024-07-04 [Armin73]
There is still a database error 🤷♂️
2024-07-09 [0neZero]
There is still a database error 🤷♂️
2024-07-10 [Allen]
DB working a few times in between the messages above. Working again as of 7/10. Thanks Doc
2024-08-31 [NetGnostic]
Bummer, the Database error is back.
2024-09-04 [NTDOC]
Fourms are back up without error for the moment
2024-10-02 [Arend_]
Wll still have database errors ;-)
2024-10-03 [Allen]
Thanks to Doc... it's back.
2024-12-09 [chojin]
could we move kixtart to a new place in order to keep it living ? maybe create a github page and a subreddit?
2024-12-10 [Allen]
do know about moving it, but I know Doc is aware of the DB issue. Should be back online soon.
2024-12-10 [Allen]
don't know...
2025-02-09 [Comet]
Greetings. I installed KiX on my new Windows 11 computer, and joined this foum. Hello World!
2025-02-10 [Allen]
Welcome
2025-03-07 [Comet]
UBB Error We encountered a problem. The reason reported was Database error only visible to forum administrators
2025-06-30 [mole]
Thanks for getting this working again.
2025-07-28 [mole]
UBB Error We encountered a problem. The reason reported was Database error only visible to forum administrators
2025-08-01 [Arend_]
I think it's fixed, I don't have the problem.
2025-10-06 [Comet]
The UBB Error no longer happens for me.
2025-10-21 [M_Moore]
UBB Error We encountered a problem. The reason reported was Database error only visible to forum administrators Please click back to return to the previous page.
2025-10-26 [NTDOC]
System has been cleaned up. Should be okay again now.
2025-10-26 [Allen]
Thank You Doc. Really appreciate your efforts!
|
|
0 registered
and 475 anonymous users online.
|
|
|