Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am now faced with trying to debug some odd crashes for a commercial application, the dreaded SAS, and I am looking for some clues that might help to diagnose the issue.

Of course I check the SAS runtime logs, and I also check /var/log/messages. Nothing in /var/log/messages, but the SAS runtime log seems to indicate a memory or disk space issue:

ERROR: Insufficient space in file WORK.'#tf0533'n.UTILITY.
ERROR: Insufficient space in file WORK.20110609_BCH.DATA.

There is surely enough disk space, so I am lead to believe it might be a memory issue. What other system logs or even tools can I use for looking for further information (such as writing to a full disk device, spikes in memory usage, swapfs errors, etc.)?

share|improve this question
Can you get your application to show full paths? Maybe you have enough space on your data filesystem but /tmp got full at some point. – Gilles Jun 15 '11 at 16:30

You can trace system calls via strace and calls to library functions via ltrace.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.