General :: Snmp Acting Illogically - In/out( IfInOctets/ifOutOctets) Count Decreases

Dec 23, 2010

I am trying to calculate band Width on few interfaces. Every thing works fine, bandWidth goes up when user loged in it goes down the moment working hrs are over. Only problem is once in a while it show negative bandWidth ? I make that script to send information in-case it negative. here are few examples

Code:

from IP XX.X.X.X interface X
inCounters new = 1056124169 old = 484753332
outCounters new = 71539457 old = 4205963496
inDelta = 571370837

[code]....

Code:

inPut utilization = (change x 8 X 100) / (change in time X connection speed)

but that would not matter because , problem is caused by lowering count on in and out packets.

View 4 Replies


ADVERTISEMENT

General :: Data Transfer Rate Decreases With Dd Command?

Apr 25, 2010

anyone know why this would happen? I ran the following dd command:

Code:
dd if=/dev/sdb1 of=hard/old_dell_desk_part1.img

a USB external drive was mounted to the 'hard' directory with the standard mount command. it is a ntfs-3g filesystem. it is a mechanical drive.

same behavior with solid state memory (flash, and solid state hard drives)

3693492+0 records in
3693492+0 records out
1891067904 bytes (1.9 GB) copied, 274.562 s, 6.9 MB/s

[Code].....

View 14 Replies View Related

CentOS 5 Networking :: Configuring SNMP To Send Traps To SNMP Server?

Aug 12, 2010

I'm trying to configure SNMP service to send traps to SNMP server. I've installed net-snmp-utils, now I need to configure the "snmpd.conf" file...

View 2 Replies View Related

Programming :: DBD::mysql::st Execute Failed: Column Count Doesn't Match Value Count At Row 1

Feb 24, 2010

I have the following perl/DBI script:

Quote:

#!/usr/bin/perl
use DBI;
my ($db, $user, $pw) = ('dbname', '****', '***********');
my $dbh = DBI->connect("DBI:mysql:$db",$user,$pw) or die "Cannot connect to $db: $DBI::errstr

[code].....

The error message is

[Wed Feb 24 13:03:27 2010] myscript.cgi: DBD::mysql::st execute failed: Column count doesn't match value count at row 1 at myscript.cgi. [Wed Feb 24 13:03:27 2010] myscript.cgi: DBI::db=HASH(0x8a30c60)->errstr

View 2 Replies View Related

Ubuntu :: Mb/sec Decreases Slowly Down While Copying To USB-stick?

Mar 26, 2010

I have a "DataTraveller" 16 GB - that gives me slower and slower speeds on copying files to it. It starts with 8-9 Mb/sec, and goes down all the time, until it's down to kb/sec.

View 9 Replies View Related

General :: OS Acting Weird

Jan 7, 2010

Recently I had (and am still having) a lot of trouble with my Fedora 12 installation.First, 3D acceleration and sound stopped working. This was solver by adding my account to the "video" and "audio" groups (I wonder howcome it worked before?).Then, my keyboard stopped working in X. It would work fine in CLI mode, but as soon as I start X not even the Num Lock LED worked! I think I glimpsed that it might be due to a missing keymap or something, but I don't know. I got my computer back by making Xfce's keyboard settings override X, but it still isn't right, and I can't use anything other than Xfce.Recently I tried to burn a CD/DVD but neither Brasero, K3B, nor cdrecord could detect the DVD burner.

View 5 Replies View Related

General :: Audio In Ubuntu 9.10 Acting Weird

Dec 20, 2009

Just like the title, my Ubuntu 9.10 audio acts really weird to me. Sometimes I can't record anything using the sound recorder and the immediate muting of the loud speaker when i plugged in my headphone doesn't work, but then all of sudden it worked and then the problem might occur again. It's like, in some period the audio works perfectly well as if there's not bug, and then it goes wrong.What I noticed is that the problem reoccur when I shutdown/restart my PC and after few minutes/hours/days it works fine again. Does anyone know why this happens and help me solve this problem?

View 2 Replies View Related

Ubuntu :: Lucid X Freezes - Turning Off Visual Effects Decreases Frequency

May 8, 2010

I have not seen a fix posted yet. I am running Lucid standard Ubuntu on 1000HA with Intel GMA 950 graphics. I periodically have keyboard and mouse freezes. It seems turning off visual effects decreases the frequency of the problem but does not solve it. I turned on the keyboard map of control-alt-backspace and I am able to restart x when it freezes. I am running kernel 2.6.32-22-generic which if I read things correctly includes fixes for x memory leaks.

View 6 Replies View Related

Ubuntu Networking :: 11.4 - Intel Wireless WiFi Link 4965AGN - Download Speed Decreases

Jun 7, 2011

as per pytheas22, i'm attaching few details here. my download speed would starts at 470 kB/s and gradually decreases until it reaches 116 kB/s. Loading web pages seems to be fine.

[Code]...

View 5 Replies View Related

General :: Make A Symlink That Redirects To The Directory Rather Than Acting As An Alternate Path?

Sep 30, 2010

is there a way to make a symlink that redirects to the directory rather than acting as an alternate path? In other word, what I have now is:

[Code]....

I want my pwd to be the hardlink pwd rather than the symlink pwd after changing my directory.

View 2 Replies View Related

General :: Enable High Availability Between Two Squid Proxy Servers Acting As One?

Sep 29, 2010

I have setup proxy server as squid Now i would like to enable High Availability between two squid proxy servers acting as one.

View 6 Replies View Related

General :: Get Statistic By SNMP ?

Aug 7, 2010

I want to add a few linux server to our monitoring system (solarwinds).

We have to get this information by snmp.The items we need are:
1-In Byte Transferred on every network interface
2-Out Byte Transferred on every network interface.
3-Memory Usage
4-Memory Free
5-CPU usage
6-Free Disk space on partiotion
7-Uptime

I could not find snmp OID or names for this object to fetch.

View 2 Replies View Related

General :: Configure SNMP On RH?

Jan 26, 2010

I've got a new install of the following...

[root@big-bad-joe /]# more /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
------------------------------------------------------------------

[code]....

View 1 Replies View Related

General :: Set Up SNMP Monitoring Using Cricket

Feb 12, 2010

I have been trying to set up SNMP monitoring using Cricket. I believe I have Cricket running fine, however I also believe that I have SNMP set up wrong. When I do an SNMPWALK I get the following:

[Code]....

This tells me I have SNMP running, however I would expect to see a lot more data... Am I correct, should I see more data? I spoke to a friend, and he suggested that I have something not set up correctly in SNMP dealing with the community string...

View 1 Replies View Related

General :: Configuring SNMP For MRTG?

Dec 10, 2010

recently i have installed Squid Server and i want to monitor traffic in my lan with mrtg. so i have installed snmp but when i run "snmp -v 1 -c public localhost" i have got "Timeout: no response from localhost". i have turned off the firewall but i get same error.

View 1 Replies View Related

General :: SNMP For Managing Machines Remotely?

May 24, 2011

I just narrowly passed another exam on UNIX Academy. Their DVDs are incredible. While I made some mistakes here and there.I was really stumbled upon a question that was formulated something like "SNMP for managing Linux machines remotely".I can't remember the exact definition. I'm not sure what it was about.I was under impression that SNMP it is a carrier protocol for commands like "ping" and "traceroute". I was trying to read about it online but it is way too broad and technical, they're loosing me on very first page. I suspect there's some kind of product or technology that uses SNMP in some way to handle Linux, I'm not sure.

View 2 Replies View Related

General :: Count Lines And Words?

Feb 15, 2010

How can I display the no. of lines, words and characters for each file in current directory and in sub directory.

wc . * shows errornous result as there are some executable files in that directory.

View 2 Replies View Related

General :: How To Count How Many Of Processes Are Running

Nov 3, 2010

I list all the instances of a running process my doing:ps -ef | grep myprogramThis lists all them.how can I simply output a count of how many are running?

View 2 Replies View Related

General :: Recursively Count All The Files In A Directory?

Oct 12, 2010

I have a really deep directory tree on my Linux box. I would like to count all of the files in that path, including all of the subdirectories.

For instance, given this directory tree:

/home/blue
/home/red
/home/dir/green
/home/dir/yellow
/home/otherDir/

If I pass in /home, I would like for it to return 4 files. Or, bonus points if it returns 4 files, 2 directories. Basically, I want the equivalent of right-clicking a folder on Windows and selecting properties and seeing how many files/folders are contained in that folder.

How can I most easily do this? I have a solution involving a Python script I wrote, but why isn't this as easy as running ls | wc or similar?

View 5 Replies View Related

General :: Get The Physical CPU Socket Count In RHEL?

Jun 30, 2011

We are working on our subscription renewal and now since Red Hat has changed their subscription model we need to give them the number of physical CPU sockets on each system.I have tried looking thru /proc/cpuinfo as well as tried to parse data out from dmidecode but both of those solutions count each individual core as a CPU.Is there a clean and easy way to determine the number of sockets on each system? We also use RHN Satellite to manage our systems but I believe that is pulling the same data from dmidecode

View 2 Replies View Related

General :: Software In Ubuntu That Can Count Scans?

Jan 1, 2011

Is there a software in linux ubuntu that can count scans???

View 1 Replies View Related

General :: Bash Command To Count Files ?

May 3, 2010

I would like to count all the jpgs in my home folder I need a command like this:

~$ Sudo count -R /*/*.jpg

View 3 Replies View Related

General :: Command To Count All Characters In File

Mar 26, 2010

Anybody know and command to count any characters in file? I would like to know the total number of character " (quote) in file. My idea is to check if in a script the total number of this character is pair.

View 4 Replies View Related

General :: Count How Many Number Occurrences In Series?

Jun 2, 2011

i try to make a script in bash that u choose a number for example 501 and another number like 1 and find how much the 1 number repeat in all numbers from 1 to 501 for example 11 -->1 repeat 2 times.in 1 to 501 the number 1 repeat 200 times.

View 4 Replies View Related

General :: Count Words With Comma As Separator?

Feb 16, 2010

I'm trying to count words in a text file that has a comma as separator. I know that I must user wc -w, but wc uses space as a separator

View 2 Replies View Related

General :: Count An Item In A Tab-delimited Txt File?

Mar 6, 2010

in a tab-delimited file, such as:

Code:
111aIab
222bIIbc

[code]...

View 3 Replies View Related

General :: 2.3.68 - Make Command Will Count Then Freeze ?

May 24, 2011

I'm trying to make and make install a driver for my wireless, every time, though, I use the make command, it'll start at 0 and cound almost up to 200,000 and then the computer freezes. I've tried different drivers, same result. I've tried ndiswrapper but that didn't work either.

View 8 Replies View Related

General :: Using Rpm Command To Count The Numbers Of License

Feb 27, 2010

I am a newbie in Linux. Here is my question....

Create the file ~/license_counts, which tables the number of occurrences of packages which are licensed under a given license, for the top 5 most commonly used licenses, sorted in numerically descending order. If performed correctly, your file should be formatted similarly to the following. (Do not be concerned if the actual counts or license names are different. Also, you might notice logically similar licenses, such as LGPL/GPL and GPL/LGPL. Do not make any attempt to combine them into a single entry.)

The resulted format:

I tried some method but cannot get it to work.

View 2 Replies View Related

General :: Application Is Unable To Access Data From Snmp Port

Jul 2, 2010

Iam using snmp to access the remote system data.But according to the requirement iam encoding the snmp request data to OAMPDU packet format and sending to remote system.the remote system receives the OAMPDU packet,decodes it and is sending the snmp packet to snmp agent through UDP socket which is bind to port 161.but iam unable to receive the response from snmp agent.i have created a udp socket which is bind to 161 port to receive the response.

if i use any other free port number other than 161 for receiving snmp agent is not sending the response to that port.can any one please suggest me how to overcome this problem.Can we configure the different ports for tx,rx ?How do we know on which port does snmp sends the response ???

View 1 Replies View Related

General :: Send Snmp Traps Based On Syslog Messages?

Oct 24, 2010

I need to be able to send snmp traps based on certain severity or content of syslog messages. Can this be done from standard linux? Alternatively, are there MIB's out there that support syslog events so I can get the status from snmp?

View 1 Replies View Related







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