ludocus Posted July 3, 2008 Posted July 3, 2008 (edited) I was inspired by PsaltyDS' udf to make a SBA (Simple But Advanced) Task Manager... So here it is: SBA_Task_Manager.au3 I had to get the If $oProc.GetOwner($sUserName, $sUserDomain) = 0 Then $avProcs[$n][3] = $sUserDomain & "\" & $sUserName line out because if a process stops.. (like when it closes: run notepad.exe and then close notepad (the win it self) will error the udf..) Functions: -See process Name, Priority, Path, CPU (usage), MEM (usage), Date created and Size.. -End a process.. -Export all processes to a file.. -Copy selected process.. Hope you guys like it.. Edited July 3, 2008 by ludocus
Andreik Posted July 3, 2008 Posted July 3, 2008 I was inspired by PsaltyDS' udf to make a SBA (Simple But Advanced) Task Manager... So here it is: SBA_Task_Manager.au3 I had to get the If $oProc.GetOwner($sUserName, $sUserDomain) = 0 Then $avProcs[$n][3] = $sUserDomain & "\" & $sUserName line out because if a process stops.. (like when it closes: run notepad.exe and then close notepad (the win it self) will error the udf..) Functions: -See process Name, Priority, Path, CPU (usage), MEM (usage), Date created and Size.. -End a process.. -Export all processes to a file.. -Copy selected process.. Hope you guys like it..I like your script. muttley
PsaltyDS Posted July 3, 2008 Posted July 3, 2008 I was inspired by PsaltyDS' udf to make a SBA (Simple But Advanced) Task Manager... So here it is: SBA_Task_Manager.au3 I had to get the If $oProc.GetOwner($sUserName, $sUserDomain) = 0 Then $avProcs[$n][3] = $sUserDomain & "\" & $sUserName line out because if a process stops.. (like when it closes: run notepad.exe and then close notepad (the win it self) will error the udf..) Functions: -See process Name, Priority, Path, CPU (usage), MEM (usage), Date created and Size.. -End a process.. -Export all processes to a file.. -Copy selected process.. Hope you guys like it.. That's pretty cool. muttley You might want to slow the updates down, and make the window resizeable so you can see more of the data. To prevent the crash caused by COM OBJ errors you mentioned, just add a COM error handler to silently catch and handle them. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Jango Posted July 4, 2008 Posted July 4, 2008 Nice, Do you think it's hard to add opened port by process ?
ludocus Posted July 4, 2008 Author Posted July 4, 2008 No,, I would not know how.. @PsaltyDS: Thnx,, @Andreik: Thnx,,
Bam Posted December 4, 2008 Posted December 4, 2008 i love the ability to export a list but i have an idea what if u put in somthing where it records the first time that process has ran with the program runing that way u can easly see if thiers any thing new runing on ur computer
Ascend4nt Posted March 1, 2009 Posted March 1, 2009 Nice idea and implementation. Only problem is AutoIT3's memory consumption grows incrementally the longer the script runs. Don't know if it's a problem with the WMI memory leak bug they are talkingabout in the _ProcessListProperties thread or not.. Another implementation could make use of the non-WMI functions that are around to get the same basic information. And if you're really ambitious you can create a 'Applications' tab like Task Manager.. Anyway, nice job, Ascend4nt My contributions: Performance Counters in Windows - Measure CPU, Disk, Network etc Performance | Network Interface Info, Statistics, and Traffic | CPU Multi-Processor Usage w/o Performance Counters | Disk and Device Read/Write Statistics | Atom Table Functions | Process, Thread, & DLL Functions UDFs | Process CPU Usage Trackers | PE File Overlay Extraction | A3X Script Extract | File + Process Imports/Exports Information | Windows Desktop Dimmer Shade | Spotlight + Focus GUI - Highlight and Dim for Eyestrain Relief | CrossHairs (FullScreen) | Rubber-Band Boxes using GUI's (_GUIBox) | GUI Fun! | IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) | Magnifier (Vista+) Functions UDF | _DLLStructDisplay (Debug!) | _EnumChildWindows (controls etc) | _FileFindEx | _ClipGetHTML | _ClipPutHTML + ClipPutHyperlink | _FileGetShortcutEx | _FilePropertiesDialog | I/O Port Functions | File(s) Drag & Drop | _RunWithReducedPrivileges | _ShellExecuteWithReducedPrivileges | _WinAPI_GetSystemInfo | dotNETGetVersions | Drive(s) Power Status | _WinGetDesktopHandle | _StringParseParameters | Screensaver, Sleep, Desktop Lock Disable | Full-Screen Crash Recovery Wrappers/Modifications of others' contributions: _DOSWildcardsToPCRegEx (original code: RobSaunder's) | WinGetAltTabWinList (original: Authenticity) UDF's added support/programming to: _ExplorerWinGetSelectedItems | MIDIEx UDF (original code: eynstyne) (All personal code/wrappers centrally located at Ascend4nt's AutoIT Code)
Manko Posted March 4, 2009 Posted March 4, 2009 (edited) Hi! That was some speedy updating! Sorry for bitching, but your script doesn't report CPU correctly. Not even close to correctly on my puter... Saw that with another WMI-based process manager on this forum... Dunno what's with that?! Have you compared with built-in taskmanager? /Manko [Edit: Have to be honest, but preferably not overly negative.] Edited March 4, 2009 by Manko Yes i rush things! (I sorta do small bursts inbetween doing nothing.) Things I have rushed and reRushed:* ProDLLer - Process manager - Unload viri modules (dll) and moore...* _WinAPI_ProcessListOWNER_WTS() - Get Processes owner list...* _WinAPI_GetCommandLineFromPID() - Get commandline of target process...* _WinAPI_ThreadsnProcesses() Much info if expanded - optional Indented "Parent/Child"-style Processlist. Moore to come... eventually...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now