473,796 Members | 2,740 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Perl script to monitor windows server components

2 New Member
Hi all,

I am new to perl programming. I am in look out of a script which will help me to monitor the following components of windows 2003 servers on a periodic basis
- CPU utilization
-Disk utilization
-memory utilization

I would like to schedule the script to run on a linux machine

Can anyone help me with this or direct me to a site where i can find the required info

Thanks in advance for ur help
Mar 15 '08 #1
4 2804
numberwhun
3,509 Recognized Expert Moderator Specialist
Hi all,

I am new to perl programming. I am in look out of a script which will help me to monitor the following components of windows 2003 servers on a periodic basis
- CPU utilization
-Disk utilization
-memory utilization

I would like to schedule the script to run on a linux machine

Can anyone help me with this or direct me to a site where i can find the required info

Thanks in advance for ur help
I would start by searching cpan to see if there are any modules that can help me. I know that there are Windows related modules, so start there.

Regards,

Jeff
Mar 15 '08 #2
KevinADC
4,059 Recognized Expert Specialist
Windows has many applications that already do this, why would you want to use perl?
Mar 15 '08 #3
shijizz
2 New Member
Hi KevinADC,

can you put more light on what you said? Are you talking about performance monitor? I do get confused with the different counters available.What exactly is the counters that i need to use if i want to monitor the following

- current available free disk space
- current memory utilization status
- Current CPU utilization

I have tried the performance advisor application provided by windows.It do give me the memory and CPU utilization, but not the free disk space. Also there is no facility in the tool to mail the details to an Administrator

I checked in CPAN also. Didnt find what i need.. Can anyone help
Mar 16 '08 #4
KevinADC
4,059 Recognized Expert Specialist
I would find a Windows forum and ask your questions there. Make sure to mention the version of Windows you are using. You may have to write some type of script to do the emailing but for all I know there is a Windows application that will also take care of that.
Mar 16 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
6557
by: dpackwood | last post by:
Hello, I have two different scripts that do pretty much the same thing. The main perl script is on Windows. It runs and in the middle of it, it then calls out another perl script that then should run on a Unix box I have. Both scripts run ok, except for the part when Windows try's to call out the Unix script. I have it set up where the Unix is mapped through a drive letter and can drop stuff into the Unix box. It is going through another...
3
11120
by: Stuart H | last post by:
Since bash is horrible at date statements i had to convert my bash script to perl....now i have a headache.. I had help to convert but now in modifying i have messed it up.. i'm checking a returned value from a sql query and comparing it against the date. The two possible output types $ /usr/local/bin/sqsh -Uuser -Ppassword -S sql1 -h -i test.sql
0
6449
by: Danny Jensen | last post by:
I need to test if certain processes on a unix box were running. I wanted to use whatsup gold to do the testing. First I needed to go to the whatsup configure>monitors & services menu to add this tcp/ip port 1555 service with the folowing lines: Send=psef /dj/myco/rf.monitor\r\n Expect=~1 the psef above is a command that the unix server executes. The unix box communicates back a 1 if the test is successful and a 0 if it is
10
1701
by: Mark | last post by:
I am working on a monitor system - web page that will show what processes are running on different computers. How would I get such information? All I need is a name of a process (title on a taskbar is fine) and whether it's running or not Am I way of a target? Will appreciate ay idea Thank
3
2581
by: hardieca | last post by:
I would like to build a web application that will monitor a mailbox for new emails and then send a response. I have a reseller package with my hosting company, but they don't want to give me direct access to the mail server's API for security reasons. Can I instead somehow occasionally query my mailbox with POP? They won't deploy a standard app on their server because its shared amongst many resellers, is there a way I can do this with...
1
1469
by: jonathan184 | last post by:
how to monitor and find out if files test1_* and test2_* files were sent in an hour and if not send an email This is on a unix system basically I got a cronjob that runs every sec polling a ftp dir which name dir1 and transfers the file to another server So there are two types of files i want to check if are coming through and if they did not come through in an hour send an email. so files test1_* and test2_* I am checking for. Could...
21
34441
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most obvious of which is the sharing of files. For example, you upload images to a server to share them with other people over the Internet. Perl comes ready equipped for uploading files via the CGI.pm module, which has long been a core module and allows users...
22
2946
by: Dan Rumney | last post by:
Hi all, I've been writing Javascript for quite a while now and have, of late, been writing quite a lot of AJAX and AJAX-related code. In the main, my dynamically generated pages are created using Perl on the backend, with Javascript providing limited frontend functionality. As an example, an expanding tree would be fully populated on the server-side and then presented to the browser, with Javascript and CSS being used to vary the...
7
1689
by: pavanip | last post by:
Hi, I am newer to Perl script.I don't know about perl. I have to do one project in perl. That is already developed.But I have to do some modifications to that.Please tell me what are the components I have to install in our system to run the perl script.My operating system is Windows XP. And how to compile and run the script.Here my major problem is script is not opening.Is there any other alternative to open the script.That file is in .cgi...
0
9535
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10201
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9061
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7558
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6802
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5454
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4130
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.