Software :: Clearing /Proc/Interrupts Counters Without Rebooting System

Dec 7, 2010

I have a question regarding the /proc/interrupts file. Let's say for example I had a server with 2xQuad-Core processors (so we have CPU0 to CPU7 ), and with 5 network interfaces. SMP affinity to all 5 interfaces was set to "ff", so all interfaces have done interrupts on all the processors. he network interfaces interrupts counters should look like this:

24: 32650776 32670506 50315017 32677739 32672119 32677935 32656299 32667496 IO-APIC-fasteoi eth2
27: 35233448 35285546 35317201 52657622 35315835 35339998 35221092 35246597 IO-APIC-fasteoi eth3
55: 37573056 35870363 35874607 35858010 37728061 35880275 35882340 35882127 PCI-MSI-edge eth1
56: 35861392 35863516 35865123 35865342 35864604 40515822 35861250 35863585 PCI-MSI-edge eth0
58: 30173318 30109146 30002990 30016870 30084937 30034759 46517278 30139103 PCI-MSI-edge eth4

Now let's say I've set the affinity to each of the network interfaces, so that it balances one per processor, so we have 5 processors working only for the network interfaces each processor with it's own eth. Now let's assume that the network interfaces generate very few interrupts, and that they show up every 5-6 seconds, so watching cat /proc/interrupts doesn't exactly underline the modifications unless you look with a ruler. Is there a way to reset the counters on /proc/interrupts so that they all start at 0, without rebooting the system?

View 6 Replies


ADVERTISEMENT

Networking :: Find Out What Is The Difference Between Wifi0 And Ath0 (atheros Wifi Card) In Terms Of Packet Counters Shown In Proc/net/dev Pseudofile

Aug 20, 2010

I'm trying to find out what is the difference between wifi0 and ath0 (atheros wifi card) in terms of packet counters shown in proc/net/dev pseudofile. The fact is that wifi0 and ath0 packet counters are different. I've read that wifi0 refers to the physical device and ath0 refers to virtual device over wifi0, so, as far as I know, packets counters in both devices should be the same, isn't it? Another annoying question for me is that ath0 doesn't show any erroneous packets, while wifi0 does.

[Code]..

View 6 Replies View Related

Fedora Installation :: An Error Occurred Mounting Device Proc As /proc: Mount Failed

Jul 6, 2010

I've got the F13 LiveCD that I was able to boot and use using the "nomodeset" boot option. From the desktop I'm trying to perform an Install to Hard Drive. I've read the Install from LiveCD post regarding the creation of a /boot partition and a / root partition. I've tried creating them without the LVM group and with. But every time I appempt to install I get...

An error occurred mounting device proc as /proc: mount failed: (9, None). This is a fatal error and the install cannot continue.

Hardware is a Sager 8887 (P4, 3.06HT, 60GB HDD, Radeon 9000 graphics adapter)

View 7 Replies View Related

Hardware :: Add Memory To The Box Without Rebooting The System?

Feb 26, 2010

Can I add memory to the Linux box without rebooting the system? I think Linux check the hardware at booting time. But if I need to add more memory to the server while I do not want to stop the service. Is there some method to make Linux use the new added memories?

View 5 Replies View Related

Debian :: System Rebooting On Shutdown -h Now Command

Aug 17, 2011

I am running Debian Squeeze on an Intel DH55TC motherboard. When I issue a shutdown command
shutdown -h now

The system goes shutting down. Eveything looks fine, and the main console shows all process being stopped. In the end it says "System will now halt". Then a few seconds later, it restarts. It is unclear what is causing this, because nothing is written to the screen. It just goes blank and starts rebooting. Looking afterwards in syslog doesn't show anything also.

View 14 Replies View Related

Ubuntu Installation :: No Rebooting Required In System / Why Is So?

Feb 6, 2011

Why rebooting is not required in linux after installing an application even if related important files are running?

View 3 Replies View Related

Debian :: System Hangs While Rebooting On Debain

Mar 26, 2010

I have Debian (Kernel 2.6.26-2-686) installed on two computers. On one of them it reboots quite finely but I am having following problem with rebooting Debian on my second computer.When i type reboot at the linux prompt, following messages appear and system hangs up after saying "Restarting System":

The difference that I noted between my two computers is that I don't have ACPI support in the BIOS of the system which is giving me this error whereas the BIOS of my first computer do have ACPI support on which Debain do not give this Restart hanging problem.I have also disabled running the acpid script by running Code: update-rc.d -f acpid remove.

View 3 Replies View Related

General :: System Rebooting On Its Own / Where To Check For Reasons?

Nov 4, 2010

I have NFS fileserver that has served me well for more than year. But recently I noticed that it has started to reboot on its own very frequently, almost once a day! It is most likely not a power related issue as I tried changing UPS/power sources, but no help!So my question is:Is there any log file where I can check which is causing the reboot? There may not be a single logfile, but I need some point to start the investigation!

View 3 Replies View Related

Server :: Pressing Ctrl Alt Del System Not Rebooting?

Jul 2, 2010

As i read in google that if we Ctrl+Alt+Del in linux box system get rebooted i tried in my PC its not rebooting.

even though i un commented the line in /etc/inittab
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

View 5 Replies View Related

Ubuntu :: When System Is "fresh" Booted There Are No Noticeable "Extra Timer Interrupts"?

Feb 25, 2010

See the following output from powertop:

Uptime 5 minutes
Wakeups-from-idle per second : 86,8interval: 15,0s
no ACPI power usage estimate available
Top causes for wakeups:
37,8% (129,7) <interrupt> : uhci_hcd:usb2, uhci_hcd:usb5, rr26xx
23,6% ( 81,0) <kernel core> : hrtimer_start_range_ns (tick_sched_timer)[code]....

As you can see, when system is "fresh" booted there are no noticeable "Extra timer interrupts". As time goes, this number seems to increase. I have tried to find out what causes this behaviour without any luck. I am not even sure if this is any practical problem, as performance seems to be more or less unaffected, but any explanation to this would be nice. Anyone else ever notice this?I am running Ubuntu 9.10 Server edition on a Dell Poweredge SC1420, 64-bit version. The server is used for web and file sharing mostly, with little load. (15 min avg. about 0,10).

View 4 Replies View Related

General :: Ifconfig Indicates Different Interrupt Number For Eth0 Than Proc Aqd Sys File System

Sep 22, 2011

On my system (OpenSUSE 11.4 - kernel 2.6.37) ifconfig indicates different interrupt number for eth0 than proc aqd sys file system.

ifconfig indicates 17:

proc fs indicates 43:

sys fs indicates 43:

Relevant part of lspci -vv output for irq 17 (this belongs to wlan0 and not to eth0):

Relevant part of lspci -vv output for irq 43:

View 1 Replies View Related

General :: Java Process Without Memory Detail In Proc File System?

May 13, 2010

To get the kernel messages of new java process, i refer the details from /proc/<java pid>/stat and /proc/<java pid>/statm files. For some java processes, I didn't find any details in the /proc/<java pid>/statm file. It has only 7 number of 0s. But /proc/<java pid>/stat file has the details. And also this kind of process will have the life time of nearly 1 minute.

Kernel version using: Linux-2.6.18-8.1.8.el5 Is there any possibility of java process without the memory details in the /proc/<java pid>/statm file? If it is possible, how to know the memory related details of that processes?

View 1 Replies View Related

OpenSUSE Network :: Rebooting System Resets / Etc / Hosts

Nov 14, 2010

since upgrade to suse 11.3 every time I reboot pc the file /etc/hosts is reset to default value. I am a web developer so I need to put in there my aliases for 127.0.0.1. It is annoying to do it again and again. Luckily, I don't restart my system very often but still I would like to avoid that.What should I do to stop this resetting? Or is there another place in 11.3 where should I put my entries?

View 9 Replies View Related

Ubuntu :: Linux Working Only Rebooting System From Windows XP

Feb 11, 2010

I have noticed that ubuntu 9.10 (but also other distro and in general those that configure the network automatically at startup) crashed if my pc boot directly with a linux kernel at power on.This does not happen if the first boot is done with windows xp and then rebooting the pc and choosing the same linux kernel.Some distro (for example SysrescueCD) that does not configure the network at startup can work but also with these if I try to configure the network using the command ifconfig eth0 the system crashes.My network card is a SiS191 Ethernet and linux recognized it using sis190 module.I suppose that something happen during the first power on, some inizialization done with windows xp but does not done with linux in fact after a reboot made from windows xp without shutdown the pc, with Linux I can configure the network using ifconfig without crash.
Any ideas to solve this without have to boot always windows as first?

View 2 Replies View Related

General :: System Is Rebooting From A Crash/power Failure?

May 8, 2010

I'm trying to come up with a startup init script that will check to see if the system was shut down gracefully, or if it is rebooting from a poweroff or something similar?Anyone know of a way to check for this condition with the least amount of room for false positives or vice versa?My intial thought is just a startup script that will will check for a file on startup, and on a proper reboot/shutdown just touch the file. But id like to avoid that type of script if possible,

View 2 Replies View Related

Ubuntu :: After Rebooting The System The Desktop Background Image Not Showing Up

Jun 1, 2010

I have installled ubuntu 9.04 and windows XP. After rebooting the system the desktop background image which i saved earlier is not showing up in Ubuntu.

View 1 Replies View Related

Security :: Can't Zero Out Counters In Iptables

Feb 25, 2010

I have a problem with iptables, when I execute

[code]....

View 5 Replies View Related

General :: How To Update Newly Created Partion In RHEL6 Without Rebooting System?

Apr 17, 2011

How to update newly created partion in RHEL6 without rebooting the system?partprobe /dev/sdaN...does not work here in RHEL6, however it did work in RHEL 5.

View 2 Replies View Related

Security :: Prevent A Non-root User From Shutting Down, Rebooting Or Suspend The System?

Mar 3, 2010

I'm using Gnome and I'd like to still have the ability to reboot/shutdown from one particular account as well as root. How would I modify the chmod command to add this ability?Also, I have a few users who just will hold the power button in to shutdown the machine. How can I keep them from doing this?// Pruned from the vintage 2007 Prevent a non-root user from shutting down, rebooting or suspend the system thread. Please create new threads instead of resurrecting ancient ones.

View 2 Replies View Related

OpenSUSE Network :: Ifconfig Eth0 RX Dropped Counters Since 11.4

Jun 1, 2011

I have been noticing a trend on boxes running 11.4 getting RX dropped packets where prior to 11.4 they did not get them. Basically every box running 11.4 now logs dropped RX packets. Have tried changing cables, and in one case replaced the NIC with a different brand (and driver) nic. Also played with receive buffers and yet the counters still increment. In addition to OpenSUSE, I run several operating systems to include Centos, Scientific Linux, Debian, OpenIndiana, HP-UX, VMS and so forth. So far this anomaly has only shown up on machines running OpenSUSE 11.4. Any one else noticing this on your OS 11.4 machines? If so, were you able to resolve?

[code]....

View 7 Replies View Related

Server :: Cygwin Scp File Copy Counters Stop Increment / Decrement

May 31, 2011

I'm running cygwin 1.7.7 on a win2k3R2 Standard edition server. I have a RHEL 4.7 linux host I'm scp'ing files from to the windows system using a simple cygwin scp command from what appears to be OpenSSH_5.5p1 on the cygwin host. When I run the simple scp command on the cygwin host, the counters initially display and increment/decrement, albeit what is at a much slower rate than is actually taking place. After the percent complete reaches a little less than 10%, all the counters from the cygwin console window cease to increment/decrement.

However, when I cd to the directory on the cygwin host where the file is being scp'ed to, the file is continuing to be transferred and a much higher rate than the counters seem to show. Finally, when the file transfer is complete by directly seeing the byte count as equal between the hosts, the scp counters will suddenly jump to 100% complete. This is not the case with my linux to linux scp's. The counters increment/decrement as expected and transfers are about what I'd expect over the same network infrastructure. This appears to be a cygwin ssh/scp implementation issue. I've posited this question to cygwin with no response as yet. The only reference I've been able to find on the 'net refers to buffering causing file transfers to appear to complete later than the transfer really does..........

View 3 Replies View Related

Programming :: Configure Cpu Interrupts Manually?

Dec 17, 2010

I was installing freebds for one of my friends and during the entire install the top never crossed 1.0. When I install linux top always shows a cpu load of more than 1.0.Also on the bsd when copying a huge file (4gb) it takes a long time but then the load never goes beyond 1.0. Linux will do it much faster but then there is a difference in the cpu load time.What I want to know is is there anyway I can interupt the processor so that the load does not go beyond 1.0.

View 11 Replies View Related

Programming :: Generating Timer Interrupts In C?

Jul 23, 2010

I'm trying to understand how interrupts work. Is there a way to generate timer interrupts in C. Also can we enter into the protected mode of the CPU. Does OS (specifically, linux) place any restrictions on user programs entering protected mode. If it does not, do we just have an assembly language program which changed the mode, followed by the C code... I'm just trying to understand how things work at the lowest level. So I'm trying to write few snippets to test my understanding.

View 3 Replies View Related

General :: Getting Notified In User-space On Interrupts?

Jun 27, 2010

I hope this is the right place to post to because I haven't found any other related forums.I'm working on an AMD opteron running Linux 2.6.28.6 I want to preload a hardware performance counter (register) with a value to have it overflow after a number of a specific event counts. As I understand, when the counter in the register overflows, an interrupt will be generated and handled by the appropriate interrupt handler. How can my user-level application get notified whenever the interrupt occurs? I want to obtain information on the instruction that caused the overflow. Is this possible? I think this is different than responding to signals with sigaction().

View 1 Replies View Related

Networking :: FreeNAS Error With NIC - Missed TX Interrupts

Sep 6, 2010

So I've been researching this on my new NAS. I just tried to register the IP on the new system to have an issue pop up that says:
"msk0: watchdog timeout (missed Tx interrupts) -- recovering"
The error repeats then ends with no set IP. I tried the loader.conf fix but I cannot write to the system its installed on (embedded on a harddrive + data + swap) but it gives me a issue with write privileges which I thought would have been fixed by chmod +w /cf.

View 1 Replies View Related

CentOS 5 :: Kernel Parameter Available For Interrupts Handling?

Sep 16, 2010

Is there any Kernel parameter available for interrupts handling, In the case of busy server how we can tune the kernel to handle interrupts effectively.

View 4 Replies View Related

General :: Switch To VGA Graphics Mode Without BIOS Interrupts?

Feb 14, 2009

I am working on development of an TOS that runs in Protected Mode. I am required to switch it from text mode to graphics mode. Everywhere I google I get only one solution set AX to 0013h and call INT 10 and easily the VGA Graphics Mode is set.

I am working in protected mode and hence cannot use INT 10. Can someone please guide me? I came across a post where it was said that this can be done by setting the VGA registers, but I could not understand much from the link provided in the post on how to implement it.

View 1 Replies View Related

Fedora Security :: Spurious Interrupts And Kernel Seg Faults?

Jun 22, 2009

What does this means:

[6867450.202500] hpet1: lost 1 rtc interrupts
[6867450.548506] hpet1: lost 2 rtc interrupts
May 24 20:20:01 vms2 kernel: [6886829.451310] console-kit-dae[19655]: segfault at 198 ip 00007f4c31b7fe09 sp 000000004036c090 error 4 in libglib-2.0.so.0.1800.2[7f4c31b53000+c3000]"

View 1 Replies View Related

Ubuntu Multimedia :: NVidia Sharing Interrupts With Usb Controller: Acceptable?

May 1, 2011

I'm getting random system hangs and display issues when using my computer with my nVidia graphics card. On a lark, i checked /proc/interrupts and noticed that the nvidia device is sharing an interrupt with one of my USB boards, as well as my integrated sound card. i managed to move my sound card by editing my alsa-base and adding:

Code: options snd-hda-intel enable_msi=1 This helps mostly, but i'm still getting intermittant issues. is there any way to shift the interrupt of my gfx card (or usb controller) to avoid this potential conflict? i know the devices should be able to co-exist, but i've seen several people having issues when an nVidia card shares interrupts.

[Code]...

View 1 Replies View Related

General :: Mask Local Timer Interrupts In User Space?

Oct 27, 2010

I am trying to figure out how to mask local timer interrupts on a specific core of a multicore system from within user space. The interrupts are causing latency spikes of 3-10u that we would like to remove. We are only running 1 thread on the core h everything shielded except for these timer interrupts. This thread makes no system calls and thus is never getting context switched out. I am not looking to turn them off entirely but rather turn them off, run my code, turn them on in a continuous loop. The thread runs in user space which we are hoping to maintain. We also have no desire to modify the kernel if possible. I've read about using spinlock_irqsave() but it appears (not positive) that it must be used within kernel space.

View 3 Replies View Related







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