public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: How to identify failed syscalls
Date: Fri, 25 Oct 2013 08:41:54 -0400	[thread overview]
Message-ID: <3034442.P6g9D14k2P@x2> (raw)
In-Reply-To: <526A474C.1010902@gmail.com>

On Friday, October 25, 2013 06:26:20 AM Leam Hall wrote:
> Running aureport gives me a lot of failed syscalls. How do I identify
> what syscalls are failing and what is calling them?

Aureport's purpose is to give summary information. Ausearch gives detailed 
information. To get what syscalls are failing, you can just run the "--syscall 
--summary" report. To se what is calling them is a bit trickier. You can 
isolate the events with ausearch and then pipe them to aureport for 
summarizing:

ausearch --start today -m syscall -sv no --raw | aureport -x --summary

If you need to seethe individual events, then 

ausearch --start today -m syscall -sv no -i

-Steve

      reply	other threads:[~2013-10-25 12:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25 10:26 How to identify failed syscalls Leam Hall
2013-10-25 12:41 ` Steve Grubb [this message]

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=3034442.P6g9D14k2P@x2 \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    /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