The trace tag has no wiki summary.
1
vote
1answer
17 views
Wrapper script to list sourced/executed files
Is it possible to write a command which runs my.sh and prints every path sourced or executed by this script recursively - That is, without altering the original code at all? The idea is to verify ...
2
votes
1answer
170 views
How to trace a java-program?
As a sysadmin I sometimes face situations, where a program behaves abnormally, while not creating errors at all or creating nonsense error-messages.
In the past - before java came in - there were two ...
1
vote
1answer
69 views
Is there any way to attach latrace to an already-running process?
I want to trace a running multi-threaded process's library calls. As of 5 November 2012, there's only one way to get ltrace to fully support tracing multi-threaded processes: you must check out and ...
4
votes
2answers
895 views
What does “pollsys” mean? Solaris “truss” output
> truss -p 6482
/2: pollsys(0xE517AD88, 1, 0xE517AE30, 0x00000000) = 0
/2: pollsys(0xE517AD88, 1, 0xE517AE30, 0x00000000) = 0
/2: pollsys(0xE517AD88, 1, 0xE517AE30, 0x00000000) = 0
...
2
votes
1answer
117 views
Is there a way to determine which process creates a file on osx 10.6.8
I would like to know which process has created files on os X 10.6. I'm trying DTrace, which probably will give the right answer, but I have not eyes to see the method. I'm doing this because I think ...
2
votes
1answer
394 views
How to track file change
nsswitch.conf file always corrupts somehow. I do restore from my backup every time it corrupt.
When this file corrupts, its time stamp is changing. Now I wonder if there is a way to track that file ? ...
2
votes
1answer
97 views
Is this task freeze related to ReiserFS (v3)? (or: is ReiserFS getting so old that it should be actively replaced?)
I just had a weird system freeze that I resolved using alt-sysrq-e. Here's my dmesg: https://gist.github.com/1609263
I was wondering whether it might be some kind of deadlock in the reiserfs3 code ...
8
votes
2answers
613 views
strace for library calls
I know of strace, which is super handy for watching system calls. Is there an equivalent that can trace calls to external libraries?
For example, I'm trying to debug some SSLeay misbehavior with a ...
0
votes
1answer
2k views
How to run tcptraceroute utility on UNIX machine?
How can I run the tcptraceroute utility on a UNIX machine?
I want to run a TCP traceroute for port 80.
3
votes
1answer
367 views
What does this Linux kernel trace mean?
I’m running a linux server at home which is mostly a file and e-mail server and a digital video recorder.
All the data goes on an ext4 partition on a software raid-6.
Every now and then (sometimes ...
1
vote
1answer
665 views
How to trace file locks (per directory)
I'm quite new to Linux and I have not really a clue on how to do this.
I've got a directory and I'd like to monitor (output to shell) when a file inside that directory get's a file lock and when it ...