System call and dynamic library function call tracing utility found on a number of Unices like Solaris, AIX, FreeBSD, SCO UnixWare, Tru64.
Questions tagged [truss]
6 questions
12
votes
2 answers
Equivalent of "truss -T" and "truss -U" on Linux?
Is there an equivalent of what the -T and -U option of the truss Solaris utility does on Linux.
Those are to specify a system call (-T) or library function (-U) which when called by the traced application would cause it to stop.
Or, said otherwise,…
Stéphane Chazelas
- 522,931
- 91
- 1,010
- 1,501
1
vote
2 answers
Why has cron stopped processing commands?
My Solaris 11 cron appears to have stopped working.
Here is the last output of a cron job I run:
-rw-r--r-- 1 root root 60 Jul 2 20:30 locked_passwords.txt
I setup a test, like this:
* * * * * touch /tmp/testing.txt
It never…
Marinaio
- 298
- 5
- 15
1
vote
1 answer
piping longer strings to tr causes hang and CPU spike
MacOS Yosemite (10.10.5). I know this is the Unix/Linux section...but figure this question probably fits better here than in MacOS land.
My terminal started hanging on startup before showing a prompt...and the CPU usage spiked at the same time. I…
mattpr
- 181
- 7
0
votes
0 answers
How to truss the combined commands via some predefined variable?
If we use the combined commands directly in the truss arguments, it works fine without any problems.
However, if we use the predefined variable of the combined commands indirectly in the truss arguments, it fails.
#
# truss -adefo…
lylklb
- 193
- 4
- 13
0
votes
2 answers
truss on Solaris showing FDs closed that aren't opened
I'm confused. One of our DBAs is reporting an issue with LDAP connection errors. I figured I'd start tracing that from truss to see exactly what it's connecting to, but what I'm seeing makes no sense to me.
This is the full extract from the…
StuWhitby
- 67
- 4
-1
votes
1 answer
Schedule a job to dynamically kill a (truss) process after a minute?
I have been trying to accomplish a simple scheduled task in Solaris 11 with the use of the at command.
Example:
$> kill $(ps -ef | grep -v grep | grep truss | awk '{print $2}') | at now + 1 minute; truss -fp 1706 &
Anyone have any insight?
jas-
- 858
- 5
- 8