Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Performance Monitor

10 views
Skip to first unread message

Curtis Potts

unread,
Mar 4, 2002, 5:53:35 PM3/4/02
to
I have a log setup that traces some counters on our
servers but right now I have to start it manually
everytime the computer is rebooted. Is there a way that
I can get this happening automatically?

Al Dunbar

unread,
Mar 5, 2002, 1:10:07 AM3/5/02
to
Add the "Group Policy" snapin to MMC. In addition to logon/logoff scripts it
gives you access to startup/shutdown scripts. Just create a startup script
that starts your log, and this should happen whenever a server is started.

/Al

"Curtis Potts" <cpo...@ipsco.com> wrote in message
news:b10d01c1c3cf$6a9300b0$9ae62ecf@tkmsftngxa02...

Curtis Potts

unread,
Mar 5, 2002, 9:57:45 AM3/5/02
to
Cool, that gets me a little closer now. You wouldn't
happen to know how you get it to start logging
automatically. I know the exe is perfmon.exe but I am not
sure how I get it to start with the log automatically.

>.
>

Al Dunbar

unread,
Mar 5, 2002, 9:22:26 PM3/5/02
to

"Curtis Potts" <cpo...@ipsco.com> wrote in message
news:ac7801c1c456$1b80c520$36ef2ecf@tkmsftngxa12...

> Cool, that gets me a little closer now. You wouldn't
> happen to know how you get it to start logging
> automatically. I know the exe is perfmon.exe but I am not
> sure how I get it to start with the log automatically.

I assumed that, since you knew how to start the logging manually that you
could start it from a batch file. Note that you can start perfmon from a
batchfile just by giving its name as a command. If you can save your logging
setup into a .msc file, you should be able to start it up with that loaded
with a command such as:

mmc C:\mylog.msc

/Al

Manfred Braun

unread,
Mar 10, 2002, 7:20:40 AM3/10/02
to
Hi Al,

sorry for "breaking in" here and that late ... ;-)

Do you know something of a COM/IDispatch interface for that?? That would
meet my need better!????

Thanks so far and
best regards,
Manfred Braun

(Private)
Lange Roetterstrasse 7
D68167 Mannheim
Germany

mailto:_manfred...@berlin.de
(Remove the anti-spam-underscores to mail me!)

"Al Dunbar" <Luigi...@hotmail.com> schrieb im Newsbeitrag
news:uq9QNYLxBHA.2208@tkmsftngp05...

Al Dunbar

unread,
Mar 10, 2002, 11:39:44 AM3/10/02
to

"Manfred Braun" <_mbr...@manfred.mannheim-netz.de> wrote in message
news:#KBSr3CyBHA.492@tkmsftngp02...

> Hi Al,
>
> sorry for "breaking in" here and that late ... ;-)
>
> Do you know something of a COM/IDispatch interface for that?? That would
> meet my need better!????

Sorry to say, no I don't. But thanks for asking ;-)

Maybe someone else in here will have something to add (I hope).

/Al

Alex K. Angelopoulos

unread,
Mar 10, 2002, 7:13:19 PM3/10/02
to
The farthest I've gone with that is just confirming that it is scriptable - and this is on XP, so Your Mileage May Vary.

This pulls up the Perf Counters selector purely via script:

set oSM = CreateObject("Sysmon")
oSM.BrowseCounters

There is a *very* large tree of COM-accessible items in sysmon.ocx, from which that came.

"Al Dunbar" <Luigi...@hotmail.com> wrote in message news:u8yM8JFyBHA.492@tkmsftngp02...
:
: "Manfred Braun" <_mbr...@manfred.mannheim-netz.de> wrote in message

: > > > >
: > >
: > >
: >
:
:

Harald Ums

unread,
Mar 11, 2002, 1:44:25 AM3/11/02
to
On W2K you could use a fake alert.
In perfmon got to the performance logs and alerts -> alerts tab
Built an alert (eg memory > 0kb) and choose as action start an counter log

Harald Ums

"Curtis Potts" <cpo...@ipsco.com> wrote in message
news:b10d01c1c3cf$6a9300b0$9ae62ecf@tkmsftngxa02...

Manfred Braun

unread,
Mar 15, 2002, 6:07:20 AM3/15/02
to
Hi,

much thanks! To start, I tried your short sample on a w2k server and it
works!!!! I'll have a look into the objectmodel; But this is similar that,
what I want!!!

Best regards,
Manfred Braun

(Private)
Lange Roetterstrasse 7
D68167 Mannheim
Germany

mailto:_manfred...@berlin.de
(Remove the anti-spam-underscores to mail me!)

"Alex K. Angelopoulos" <alex_angelopoulos_at_hotmail_dot_com_remove__>
schrieb im Newsbeitrag news:uxNy4FJyBHA.2200@tkmsftngp02...

Alex K. Angelopoulos

unread,
Mar 15, 2002, 12:50:04 PM3/15/02
to
A fairly good tool to use is either the Microsoft Office VBA Object Browser or Mark Pryor's TLViewer. You can get that from

http://home.sprintmail.com/~mpryor/promo.htm


"Manfred Braun" <_mbr...@manfred.mannheim-netz.de> wrote in message news:OzBp0FBzBHA.1528@tkmsftngp02...
: Hi,

: : >
: :
: :
:
:

0 new messages