|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Monitor redundent processes running on the Windows ServerHi Everyone,
I am looking for some Vbs scrip that can monitor for redundent processes and send me an email alert when that happens. Your help would be much appreciated. Cheers, Ash. "ash" <a**@discussions.microsoft.com> wrote in message How do you define a redundant process?news:029843B3-7BF8-4628-8A86-FF3F5F33E014@microsoft.com... > Hi Everyone, > > I am looking for some Vbs scrip that can monitor for redundent processes > and > send me an email alert when that happens. > Your help would be much appreciated. > > Cheers, > Ash. Hi,
Same process opening again and again with out closing the earlier one. For example: If i go to Taskmanager and check the current running processes then i want to find if there are more than one process running with the same name . If so the script should send me an alert email mentioning about that process. Cheers, Ash. Show quoteHide quote "Pegasus (MVP)" wrote: > > "ash" <a**@discussions.microsoft.com> wrote in message > news:029843B3-7BF8-4628-8A86-FF3F5F33E014@microsoft.com... > > Hi Everyone, > > > > I am looking for some Vbs scrip that can monitor for redundent processes > > and > > send me an email alert when that happens. > > Your help would be much appreciated. > > > > Cheers, > > Ash. > > How do you define a redundant process? > > > Just because a task appears several times in the Task Manager does not mean
that it is redundant. It is perfectly normal to have several tasks called "svchost.exe", "cmd.exe" or others. Perhaps you can explain what you're trying to achieve. Show quoteHide quote "ash" <a**@discussions.microsoft.com> wrote in message news:6548EEC4-92EE-4B99-8AF4-16E2D2A62117@microsoft.com... > Hi, > > Same process opening again and again with out closing the earlier one. > > For example: If i go to Taskmanager and check the current running > processes > then i want to find if there are more than one process running with the > same > name . If so the script should send me an alert email mentioning about > that > process. > > Cheers, > Ash. > > "Pegasus (MVP)" wrote: > >> >> "ash" <a**@discussions.microsoft.com> wrote in message >> news:029843B3-7BF8-4628-8A86-FF3F5F33E014@microsoft.com... >> > Hi Everyone, >> > >> > I am looking for some Vbs scrip that can monitor for redundent >> > processes >> > and >> > send me an email alert when that happens. >> > Your help would be much appreciated. >> > >> > Cheers, >> > Ash. >> >> How do you define a redundant process? >> >> >> "ash" <a**@discussions.microsoft.com> wrote in message That's not always an error. I often have two or more instances of notepad news:6548EEC4-92EE-4B99-8AF4-16E2D2A62117@microsoft.com... > Hi, > > Same process opening again and again with out closing the earlier one. > > For example: If i go to Taskmanager and check the current running > processes > then i want to find if there are more than one process running with the > same > name . If so the script should send me an alert email mentioning about > that > process. open to examine multiple text files, each of which appears as a process. /Al Show quoteHide quote > Cheers, > Ash. > > "Pegasus (MVP)" wrote: > >> >> "ash" <a**@discussions.microsoft.com> wrote in message >> news:029843B3-7BF8-4628-8A86-FF3F5F33E014@microsoft.com... >> > Hi Everyone, >> > >> > I am looking for some Vbs scrip that can monitor for redundent >> > processes >> > and >> > send me an email alert when that happens. >> > Your help would be much appreciated. >> > >> > Cheers, >> > Ash. >> >> How do you define a redundant process? >> >> >> Hi,
Some of the processes are not getting terminated when it completes the job. We use Arkeia for backups. Arkeia uses a process called Arkfs.exe in windows. I was monitoring process last week i found there were 50 and odd arkfs.exe processes opened. What i am thinking is to develop a vbs script to send me a report or such every day listing the duplicate/redundent processes running. I will totally agree with you that there can be redundent processes. Cheers, Ash. Show quoteHide quote "Al Dunbar" wrote: > > "ash" <a**@discussions.microsoft.com> wrote in message > news:6548EEC4-92EE-4B99-8AF4-16E2D2A62117@microsoft.com... > > Hi, > > > > Same process opening again and again with out closing the earlier one. > > > > For example: If i go to Taskmanager and check the current running > > processes > > then i want to find if there are more than one process running with the > > same > > name . If so the script should send me an alert email mentioning about > > that > > process. > > That's not always an error. I often have two or more instances of notepad > open to examine multiple text files, each of which appears as a process. > > /Al > > > Cheers, > > Ash. > > > > "Pegasus (MVP)" wrote: > > > >> > >> "ash" <a**@discussions.microsoft.com> wrote in message > >> news:029843B3-7BF8-4628-8A86-FF3F5F33E014@microsoft.com... > >> > Hi Everyone, > >> > > >> > I am looking for some Vbs scrip that can monitor for redundent > >> > processes > >> > and > >> > send me an email alert when that happens. > >> > Your help would be much appreciated. > >> > > >> > Cheers, > >> > Ash. > >> > >> How do you define a redundant process? > >> > >> > >> > > > If you're concerned about redundAnt arkfs.exe processes then you should
check specifically for these processes, not just for any redundAnt process, perhaps like by getting the Task Scheduler to run this batch file once every day: @echo off for /F %%a in ('tasklist ^| find /i /c "arkfs.exe"') do if %%a LSS 2 goto :eof Blat.exe is a command line mailer that you can download from a number of blat.exe /.. /.. sites. Note that line 2 in this batch file is a long line. It start with the word "for" and ends with the word ":eof". Show quoteHide quote "ash" <a**@discussions.microsoft.com> wrote in message news:B838B81A-6223-4CDA-BC0E-3F4720043231@microsoft.com... > Hi, > > Some of the processes are not getting terminated when it completes the > job. > We use Arkeia for backups. Arkeia uses a process called Arkfs.exe in > windows. > I was monitoring process last week i found there were 50 and odd arkfs.exe > processes opened. What i am thinking is to develop a vbs script to send me > a > report or such every day listing the duplicate/redundent processes > running. > I will totally agree with you that there can be redundent processes. > > Cheers, > Ash. > > "Al Dunbar" wrote: > >> >> "ash" <a**@discussions.microsoft.com> wrote in message >> news:6548EEC4-92EE-4B99-8AF4-16E2D2A62117@microsoft.com... >> > Hi, >> > >> > Same process opening again and again with out closing the earlier one. >> > >> > For example: If i go to Taskmanager and check the current running >> > processes >> > then i want to find if there are more than one process running with the >> > same >> > name . If so the script should send me an alert email mentioning about >> > that >> > process. >> >> That's not always an error. I often have two or more instances of notepad >> open to examine multiple text files, each of which appears as a process. >> >> /Al >> >> > Cheers, >> > Ash. >> > >> > "Pegasus (MVP)" wrote: >> > >> >> >> >> "ash" <a**@discussions.microsoft.com> wrote in message >> >> news:029843B3-7BF8-4628-8A86-FF3F5F33E014@microsoft.com... >> >> > Hi Everyone, >> >> > >> >> > I am looking for some Vbs scrip that can monitor for redundent >> >> > processes >> >> > and >> >> > send me an email alert when that happens. >> >> > Your help would be much appreciated. >> >> > >> >> > Cheers, >> >> > Ash. >> >> >> >> How do you define a redundant process? >> >> >> >> >> >> >> >> >> Hi,
Thanks for the reply. I did found another way. I did a vb script: 1) To get all the process Name, Date and time when they started. 2) Write that info into a .csv file. 3) Send an email with that .csv file attached one in a week. Thanks a lot for all the help :). Cheers, Ash. Show quoteHide quote "Pegasus (MVP)" wrote: > If you're concerned about redundAnt arkfs.exe processes then you should > check specifically for these processes, not just for any redundAnt process, > perhaps like by getting the Task Scheduler to run this batch file once every > day: > > @echo off > for /F %%a in ('tasklist ^| find /i /c "arkfs.exe"') do if %%a LSS 2 goto > :eof > blat.exe /.. /.. > > Blat.exe is a command line mailer that you can download from a number of > sites. > Note that line 2 in this batch file is a long line. It start with the word > "for" and ends with the word ":eof". > > "ash" <a**@discussions.microsoft.com> wrote in message > news:B838B81A-6223-4CDA-BC0E-3F4720043231@microsoft.com... > > Hi, > > > > Some of the processes are not getting terminated when it completes the > > job. > > We use Arkeia for backups. Arkeia uses a process called Arkfs.exe in > > windows. > > I was monitoring process last week i found there were 50 and odd arkfs.exe > > processes opened. What i am thinking is to develop a vbs script to send me > > a > > report or such every day listing the duplicate/redundent processes > > running. > > I will totally agree with you that there can be redundent processes. > > > > Cheers, > > Ash. > > > > "Al Dunbar" wrote: > > > >> > >> "ash" <a**@discussions.microsoft.com> wrote in message > >> news:6548EEC4-92EE-4B99-8AF4-16E2D2A62117@microsoft.com... > >> > Hi, > >> > > >> > Same process opening again and again with out closing the earlier one. > >> > > >> > For example: If i go to Taskmanager and check the current running > >> > processes > >> > then i want to find if there are more than one process running with the > >> > same > >> > name . If so the script should send me an alert email mentioning about > >> > that > >> > process. > >> > >> That's not always an error. I often have two or more instances of notepad > >> open to examine multiple text files, each of which appears as a process. > >> > >> /Al > >> > >> > Cheers, > >> > Ash. > >> > > >> > "Pegasus (MVP)" wrote: > >> > > >> >> > >> >> "ash" <a**@discussions.microsoft.com> wrote in message > >> >> news:029843B3-7BF8-4628-8A86-FF3F5F33E014@microsoft.com... > >> >> > Hi Everyone, > >> >> > > >> >> > I am looking for some Vbs scrip that can monitor for redundent > >> >> > processes > >> >> > and > >> >> > send me an email alert when that happens. > >> >> > Your help would be much appreciated. > >> >> > > >> >> > Cheers, > >> >> > Ash. > >> >> > >> >> How do you define a redundant process? > >> >> > >> >> > >> >> > >> > >> > >> > > >
Continued xcopy script
xcopy errorlevel problem in script File monitoring Batch file to delete files dynamically Help with VBscript powershell storage management Bulldog (Need help with script downloaded from script center) Stored Passwords in Internet Explorer How to run a script by a domain user ? Copying Files from Client PC to Server |
|||||||||||||||||||||||