public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Philip Lawatsch <philip@lawatsch.at>
To: linux-kernel@vger.kernel.org
Subject: intr in /proc/stat and number of syscalls made
Date: Tue, 06 Sep 2005 13:16:36 +0200	[thread overview]
Message-ID: <431D7A94.3080006@lawatsch.at> (raw)

Hi,


I'm trying to log some stats for one of my server.

Now what I wanted to log is the number of pagefaults and the number of 
syscalls done since system startup.
(I'm on a system without sysenter)

I thought that /proc/stat's intr line would provide information about 
how often an interrupt was called. But it looks like there are only 
stats about the irqs in there and not about all interrupts.

I've already found /proc/vmstat | grep pgfault which will give me the 
number of pagefaults, but I'm still looking for a way to get the number 
of syscalls.

I also think that the Documenation about /proc/stat is misleading 
(perhaps putting the word irq somewhere in there would be a good idea).


So, is there a way to find out how often the syscall interrupt / 
sysenter handler was run? I'd actually prefer to get the number for each 
interrupt because then I could also track some other nice things.


kind regards Philip

             reply	other threads:[~2005-09-06 11:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-06 11:16 Philip Lawatsch [this message]
2005-09-06 11:23 ` intr in /proc/stat and number of syscalls made Philip Lawatsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=431D7A94.3080006@lawatsch.at \
    --to=philip@lawatsch.at \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox