Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-19-2005, 09:04 AM   #1
Registered: Aug 2004
Location: bangalore india
Posts: 50

Rep: Reputation: 15
5 min load average

hi this is an emergency if any one can help me to find the 5 min load average on a windows 200 box using net statistics server command
through a perl script on windows

i have a linux script which does this but have no clue how to make this work in windows plz can anyone help this is utter emergency

the linux code is

# Description: 5-min load average.
# Sample User Defined Event monitoring script.
$ENV{PATH} = "/bin:/usr/bin:/usr/sbin";
$DATA = `uptime`;
$DATA =~ /average:\s+([\.\d]+),\s+([\.\d]+),\s+([\.\d]+)\s*$/;( knoi need explanation for this line as well) )
if (defined $2) {
print "em_result=$2\n";
} else {
die "Error collecting data\n";

the net statistics server helps to get the values
can anyone help me with a pl script for windows which does the same


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
load average? ampex189 Linux - Newbie 2 03-06-2005 07:17 PM
load average approaching 20 kfiralfia Linux - General 5 09-29-2004 09:35 AM
RH 8 load average is messed up Mike-BB Red Hat 1 07-30-2004 05:59 AM
Load average 1.0, 1.0, 1.0 ? belated Linux - Newbie 4 11-30-2003 03:49 PM
Average load Cyth Linux - General 1 01-22-2002 03:33 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration