Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion Windows Sysadmin using TWAPI - examples.
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
PatrickF  
View profile  
 More options Jan 24 2005, 11:49 pm
Newsgroups: comp.lang.tcl
From: "PatrickF" <chpp...@yahoo.com.au>
Date: 24 Jan 2005 20:49:50 -0800
Local: Mon, Jan 24 2005 11:49 pm
Subject: Windows Sysadmin using TWAPI - examples.
I have created some examples of Tcl Windows system administration
scripts using the twapi extension.  These are located at:

http://aspn.activestate.com/ASPN/Cookbook/Tcl?kwd=Windows

The scripts produce email alerts/reports such as the following
generated off a DB2 database server.  In this case physical memory
usage has spiked over 90% because a remote user is browsing a 700MB log
file using notepad.

########################################################################### ########
# Eros - Check Memory Usage on Eros at = 25-01-2005 09.43.22.
#                      *****
# Author:            Patrick Finnegan
# Report File:       D:/reports/notify/checkMem.txt
########################################################################### ########

Eros -  Memory utilization is 92.0%.

Physical memory:              Total 2559 MB, Available
193 MB
Commit:                       Total 10590 MB, Available
7273 MB
Swap files:                   C:\pagefile.sys,
D:\pagefile.sys
Allocated swap file space:    8031 MB

Available swap file space:    7080 MB

*****************************************
Memory utilization - Top Ten
*****************************************

ProcessName          ProcessId WorkingSet
WorkingsetPeak

db2syscs.exe              1752     649 mb         649
mb
notepad.exe               4936     603 mb         783
mb
db2syscs.exe              1672     376 mb         397
mb
asnapply.exe              3864      30 mb          30
mb
asnapply.exe              4872      23 mb          23
mb
RaidServ.exe              2180      18 mb          22
mb
asnapply.exe              3996      17 mb          17
mb
DfrgNTFS.exe              5220      12 mb          36
mb
tclsh.exe                 1324      11 mb          11
mb
services.exe               288       9 mb          12
mb

*****************************************
The End
*****************************************


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.