Hardware :: Calculating IOPS For The System?

Oct 4, 2010

calculating the IOPS for my system ?I had understood that IOPS could be calculated by monitoring IOSTAT. The r/s (reads/sec) and w/s (write/sec) combined basically gave you the peak IOPS.However having monitored iostat for my app during a performance test, the figures I'm seeing lead me to believe that iostat couldn't be a reliable way to calculate IOPS. I get values of over 10,000 for w/s! I didn't think this was possible given the storage system i have (4 x 7500rpm sata disks in raid 5).

View 1 Replies


ADVERTISEMENT

Server :: IOPS On Multiple Server Single Mount Point System?

May 28, 2010

In my production setup, i have 3 servers using the same mount point. However, i see that the IOPS is low. Does this kind of architecture have any impact on IOPS. In case it is neutral, how can i tune my setup for better IOPS.

View 1 Replies View Related

Server :: Disparity In IOPS Between Sar And IOStat?

Jul 19, 2011

I have a RHEL5 server that hosts an apache SSL proxy and about 20 tomcat instances. As of late we've had latency issues on the system that I can't pin down. In trying to diagnose whether the local HD is being over-utilized, I started gathering disk utilization stats using iostat and sar. For Sar, I'm using the "tps" metric, and for IOStat I'm combining reads and writes per second for the raw disk device, sda. When I put the stats into excel, the profile of the graphed data points match up for the most part, but sar is reporting the values for the same data points as being many magnitudes higher. Can anybody give me a hint as to why one tool would report the same data differently when (as far as I know) both of them pull their disk I/O stats from the same place?

View 4 Replies View Related

Server :: How To Measure IOPS In Linux

Apr 8, 2011

I want to virtualize some servers but need to figure out what their current IOPS are. I only have CLI access to the servers. Does anyone know how to do this?

View 3 Replies View Related

Red Hat / Fedora :: Calculating The Throughput Of A Server?

Feb 21, 2011

I have read many articles on hdparam to calculate the disk read and write speeds and some on interface and CPU limits. But is there a structured way of calculating the maximum throughput of a server including all the subsystems. Like storage, CPU, network, memory and so on? So that I can create a script that i can run on a newly installed Linux machine and calculate the maximum throughput .

View 4 Replies View Related

Programming :: Calculating Average In PHP Array?

Jan 27, 2010

With array in php. All I was having the following columns:

Code:

Now Like the Above there were more variables defined through script:

Code:

Now what the above code is doing is calculating average of above values from columns{1-?,4-?)..likewise

Say If I remove two Machine and calculate the avg.

View 1 Replies View Related

Ubuntu :: Creating Script For Calculating Payments

Jul 16, 2010

Recently I was trying to make a quick script for calculating payment between workers. I got stuck however. Here is what I am in for...

#!/bin/bash
#Setting the calculator
calc=` bc << EOF
scale=4
a=$2*($3/100)
b=$4
a/b
EOF
`
I've saved the $1 for further script.
#Creating the script
while [ -n $1 ]
do
case $1 in
workerA) read -p "Enter the total sum: " total
total=$2;
read -p "Enter the percentage:" percent
percent=$3;
read -p "Enter number of workers:" workers
workers=$4 ;;
*) echo "Error usage!"
break
esac
done

My script ends here. It just does not work. Did I sat the vars in the wrong way?

View 5 Replies View Related

General :: Calculating Process Memory Usage?

May 13, 2010

What originally seemed like an easy thing to calculate has given me a big headache. Perhaps someone can help me with my issue. I am trying to find, in particular, how much memory certain application processes are taking. The process always is the same name, main_server, but with an argument to tell it what to do when running as a daemon.

When running the following command against all "main_server" processes, it produces a result in megabytes based on the output of the rss field in 'ps'.

Code:
CALC=0
for ea in
`ps -e -orss=,args= |
sort -b -k1,1n |
pr -TW$COLUMNS |
grep main_server |
grep -v "grep main_server" |

[Code]...

Currently I am left scratching my head. For capacity planning purposes, it would be nice to know how many more 'main_server' processes could run on the system without causing it to swap. Knowing the buffer and cache usage will go down as running processes demand more memory, I prefer to look at the free memory excluding cache and buffers. However, since 'ps' is reporting the processes are using more memory than free reports is in use without those things, I have no way to know how many more processes the system can support. I played around with different fields in 'ps', such as vsize, size, etc, but with no luck in matching up any numbers.

View 7 Replies View Related

General :: Calculating Protocol Bandwidth Usage

Feb 17, 2010

I'm trying to create a script that will find the bandwidth usage of certain protocols only. For example, SMTP. I would like it to just return a number. Is there a known command/parameters to output something like this?

View 2 Replies View Related

Programming :: Calculating Average From Python Script

Apr 25, 2010

I'm trying to write a python script that will calculate my test scores from a text file named "exams."

Sample input would be:

Output will look like:

I have the following code:

Code:

My intent is to sum the values found in L and divide by len(L).

I think my issue is that when I split the values, I get a string array (ex. ['85', '90'] ), which makes it hard to do calculations.

View 5 Replies View Related

Programming :: Calculating Bandwidth With SNMP And Bash?

Mar 25, 2011

I'm writing a script which will calculate bandwidth usage, I'm monitoring the bandwidth with cacti and the results don't quite line up, can someone either correct my script (if it contains faults) or tell me why the results aren't the same. I'm using a guide obtained from cisco here: [URL]. Here's my code:

Code:
SNMPCOMMUNITY=public
IP=127.0.0.1
INTNUMBER=1
OUT=$(snmpget -v2c -c $SNMPCOMMUNITY $IP ifOutOctets.$INTNUMBER | awk '{print $4}')

[Code]....

View 2 Replies View Related

General :: Debian - Filesystem - Difference In Calculating Size Using Df & Du?

Jun 30, 2011

When I run df it shows the root device is full.

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 9.4G 0 100% /

I looked at the inode usage and there is pretty much space available for root device

Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda1 640K 103K 538K 16% /

But, when I run the du command, it shows I have used only 2G out of 9.9G.

ip-10-204-70-44:/$ du -xh --max-depth=1
14M ./etc
4.0K ./mnt[code]....

It just driving me crazy and interesting too. This is big problem for us since the root disk / is full and some of the function in our site is failing.

View 2 Replies View Related

Server :: Calculating Percentage Of Swap Usage / Consumption

Dec 18, 2009

My monitor tools indicate that the percentage of swap used is more than the ideal , so I want to calculate which process is consuming from the swap. I tried the following but it didn't help be 100%

#ps -eo vsz,rss,pid,args | sort -n

How to accurately calculate which process consuming from swap, just the swap no ram + swap!

View 6 Replies View Related

Server :: Syslog Collector - Calculating Severity Of Message?

Jan 18, 2010

I am writing my own syslog collector, but im stuck with calculating the severity of the message. The PRI value is calculated:-
Code:
(Facility * 8) + Severity
But from the context of a collector, neither Facility or severity would be known? You need to know either severity or Facility to calculate facility or severity?! The RFC goes in to no more detail about calculating the severity value, other tan this expression.

View 1 Replies View Related

Server :: An Unresolvable Problem Occurred While Calculating The Upgrade

Dec 21, 2010

I am trying to update from ubuntu 10.04.1 to 10.10 using the do-release-upgrade command. I get this error:

Code:

An unresolvable problem occurred while calculating the upgrade: The package 'update-manager-core' is marked for removal but it is in the removal blacklist.

This can be caused by:

* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu

The first two can't be correct right? So... If the third one is true. How can I find these packages? Or, is there any other way to upgrade to 10.10?

View 5 Replies View Related

Programming :: Awk Syntax For Calculating Average And Standard Deviation

Apr 20, 2011

I have a data in a column.

Code:

I want to calculate average and standard deviation. As first step I want to calculate average for the data than calculate (del=data - avg) for all the data.

I suppose get

Code:

For this I use AWK and the code goes like this

Code:

But I get different answers.

Code:

Why the answers are so different? since this is wrong I can not continue calculating the standard deviation.

View 6 Replies View Related

General :: Calculating Handoff Latency In Mobile Ipv6 Environment

Nov 30, 2010

i have installed ns 2.33 and added the patch mobiwan for supprting mobile ipv6. i ran some tcl scripts , and below is the trace file generated. calculate the handoff latency, and if someone has awk or perl script to do so, tcl file [URL] out.tr [URL]

View 1 Replies View Related

General :: Want To Write Script For Calculating Usage Of Software From Text File Contains Log

Sep 10, 2009

Actually i m new to scripting in Linux, we have RedHat Server Edition 4 in which different software licences are installed and software itself installed at client side. the usage of the software is recorded daily in a text file which is of format

I want to write a script that checks that for any OUT & IN, if utility, user and Client PC Name are same then subtract OUT Time from IN Time. This has to be done for each & every user and utility.Is there any GUI programming possible in Linux.

View 7 Replies View Related

Ubuntu Installation :: Error Upgrading To 10.10 - An Unresolvable Problem Occurred While Calculating The Upgrade

Apr 26, 2011

I have just tried to upgrade to Ubuntu 10.10 from 10.04 using the update manager

It asks me for me password and then a window opens saying "Upgrading Ubuntu to version 10.10"

It gets to "setting new software channels" then a message pops up saying "third party sources disabled" next a little error icon appears in the Notification Area then another message saying: Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

This can be caused by:
-Upgrading to a pre-release version of Ubuntu
-Running the current pre-release version of Ubuntu
-Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.

View 1 Replies View Related

General :: Reading A .CSV File And Then Calculating Average Per Minute Basis In Shell Script

Apr 23, 2010

I am new to shell script and to this form as well, I did try to search for a similar post like mine here, but could not find one.

Here is what I'm trying to do:

I am trying to grep server logs to find a specific string and then capture the time stamp and the value of that grep string in them. The log file prints out messages on per sec basis.

My script is able to grep the server logs for the entire period of my load runs and then outputted it to a .csv file too.

Unfortunately this .csv file is too large to extract it on my PC and to generate graphs as it exceeds the excel limit. I need some help on how to read this .csv file in a shell script and then take an average on per min basis before I can export it out on my desktop and generate graphs for analysis. example of the out in my .csv file:

View 1 Replies View Related

General :: Bash: Calculating In Array And Storing Result In Array?

Dec 2, 2010

I have an array called arrayini which stores numbers. I want to take log to the base 2 of each of the numbers in that array and put it in file called result. I've used the following code to do it.

Code:

size=${#arrayini[@]}
for ((i=0;i<size;i++))
do
echo "scale = 12; l(${arrayini[$i]})/l(2)" | bc -l
done >result

It works fine but its taking pretty long to calculate since I've got about 230,000 items in the array. So I decided to store the result into an array hoping that it'd be faster. I tried the following code. arrayresult is where I try and store the result. The code doesn't work because of the second last line.

Code:

unset arrayresult
size=${#arrayini[@]}
for ((i=0;i<size;i++))
do
arrayresult[$i]="scale = 12; l(${arrayini[$i]})/l(2)" | bc -l
done >FILE2

There is a syntax error clearly.

View 6 Replies View Related

Ubuntu Servers :: Combine Servers To Parallel Calculating?

Mar 24, 2011

We have 5 servers here. What we are going to setup is not a Web server. We want to combine these servers to parallel calculating. I have searched for some information. May be cloud computing would be our choice. I don't know whether I am right.and if I decide to use the cloud, is Ubuntu server my best choice?Can anyone give me some clue about this?

View 4 Replies View Related

Ubuntu Installation :: Upgrade From 10.04 To 10.10 Error "Could Not Calculate The Upgrade An Unresolvable Problem Occurred While Calculating The Upgrade"

Feb 12, 2011

I keep getting the following msg as I try to upgrade from 10.04 -> 10.10 ... "Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. This can be caused by:

* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report." I don't think any of the issues above apply - can anyone offer advice on how to get around or "force " the upgrade

View 1 Replies View Related

OpenSUSE Install :: Moving A Moderately Complex System From An Old System To A New System

Sep 25, 2010

My problem is that I need to move a moderately complex system from an old system to a new system. The old system is a core 2 duo running on an asus p5k-se (p35 chipset) M/B, Nvidia 8500 gt, 3 x sata II hard disks, 1 x sata dvd, 1 x ide hd, 4GB ram. It runs opensuse 11.1 kde 4 as a desktop system + samba server, apache server, database server + other non-opensuse software. In addition some of the opensuse software is not the default 11.1 versions as later versions were required. The nvidia driver is from the nvidia repo. There are several file systems, some under LVM.

The new system will be a core5 760, asus p7p55d-e M/b (p55 chipset), nvidia 240, 3 x sata II HD, 1 x sata dvd, 4GB ram and possibly 1 x ide HD. This M/B also includes USB 3 & sata III. I have no USB 3 devices but this may eventually change. I have no plans for sata III and believe that it may be better to attach any sata III SSD to the sata II bus.

What I would like to do is to move the hard disks from old system to the new system. What I would like to know is, if the system is left at 11.1, is the system likely to work with the new hardware. If the answer is no, if the system was upgraded to 11.3, would the transfer of the hard disks then work? In order to upgrade from 11.1 to 11.3 using the DVD i believe I should get rid of all non-default repos. I assume that I should also get rid of anything that was installed from them, e.g. the nvidia driver and any software versions installed manually outside RPM. Also is there any default 11.1 software that should be removed either before or after the upgrade to 11.3

View 4 Replies View Related

Ubuntu :: Internal Disk In A Running System Usb-booted System Does Not Result In The System Detecting The Disk

Feb 27, 2011

My system decided to crash on me, hard. It was humming along happily for about 2 months and now doesn't boot. If I boot from hard-disk, I get grub. Launching the first kernel choice hangs. I thought maybe the install was corrupt, so I booted from usb install disk. The usb hdd didn't boot; something about an error trying to access /dev/sda . Unplugging the internal disk and plugging in the usb install disk does result in the system booting. Plugging in the internal disk in a running system usb-booted system does not result in the system detecting the disk.

How do I know if the disk is physically broken? This seems unlikely since it does manage to launch grub consistently. Or is this still possible? How can I try to mount whatever is left? The usb install disk doesn't even list the /dev/sd*. Any pointers on how to reformat the drive if it's not being mounted?

View 1 Replies View Related

Fedora :: System Fonts Wrong Until I Select System-Appearance Menu / Resolve This?

May 23, 2010

This is a bit of an odd problem that's been happening to me recently. My home folder is a version of Fedora old, I've been using the same one between Fedora 11 and 12 (which I'm now using).

When booting up, I notice that my system fonts are not the ones I have manually set. They're the ugly version, whatever exact font it is. It's only when I select System->Appearances from the menu that the system seems to detect my seletions to use Liberation fonts in all areas, and then everything instantly switches to the more visually pleasing Liberation fonts. This is a strange bug, I was wondering if anyone has experienced this or can point me in the right direction?

View 5 Replies View Related

OpenSUSE Install :: Installation Stopped At: System Probing - Searching For System Files

May 18, 2011

I'm new to openSUSE, this is the first time i try to install openSUSE version 11.4. on my IBM Thinkpad T43 (on which SUSE Linux version 8.0 has been running before without problems). I have downloaded the ISO images and successfully burned the ISO images on a blank DVD. Having placed my openSUSE DVD in the drive and rebooted my laptop I can see the boot screen.

I then select installation with arrow up/down and press enter. Choosing language and keyboard layout works fine, as well as accepting the license agreement. However, when it comes to 'System Probing' the installation stops at 'Search for system files'. The cursor shows a little turning disk but the rest of the screen is blocked.

View 3 Replies View Related

Ubuntu :: System Crashing 10.04 \ Running Again Is To Press The On/off Button Until The System Powers Off And Restart?

Sep 6, 2010

I am an absolutely beginner with Linux (ubuntu). I got fed up with widows and decided it was time to go. I installed (clean install from a cd) ubuntu 10.04 on my desktop. It is an hp compaq d220 MT.It looks good and feels good, well at least for a while since it keeps crashing. The screen starts to flicker, goes black, and the only way to get it up and running again is to press the on/off button until the system powers off and restart.

View 2 Replies View Related

General :: Is There System Admin Tool For RHEL On Montioring And Logging System Memory

Apr 20, 2011

Is there a system admin tool for RHEL on montioring and logging system memory used and released that can dump to a log file?I'm having an issue with memory not being released when an application is closed. I need to have a tool monitor and log so I can troubleshoot to verify that it's an application not the OS.

View 2 Replies View Related

Debian Multimedia :: Resizing Mate System Monitor Freezes System

Apr 4, 2016

Happens on Jessie AMD64 with mate, I can't go to a tty to kill mate system monitor, mouse stop working, keyboard stop working. I tried changing the theme, and now it freeze opening mate system monitor.

View 0 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved