01-05-2011
read the truss manpage... you'll find everything there...
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hai Friends
How can i instal only the linux kernel in a system.
Thanks in advance
Collins (3 Replies)
Discussion started by: collins
3 Replies
2. Solaris
hello solaris friends,
I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url:
http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png
I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
3. Ubuntu
Hi,
Could you please provide me the url's for linux software on x86 platform means on pentiunm processes and installtion documentation?
Regards,
Rajesh (2 Replies)
Discussion started by: pmrajesh21
2 Replies
4. Solaris
Hi,
Sun ultra enterprise1 supports solaris10i version.
Sun ultra enterprise1 supports view sonic 19 inch LCD Monitor. (1 Reply)
Discussion started by: jagadeesh
1 Replies
5. What is on Your Mind?
what computer minimum specification is required to install Linux?
Is it possible to install window vista and Linux together? (1 Reply)
Discussion started by: sureshdoranga
1 Replies
6. Solaris
Hi All,
Good Morning. I am trying to install solaris 10 in my ultra 10 work station using CD. But i am getting the following error, can anyone helping me on this.
ok boot cdrom - install
Boot device : /pci@1f,0/pci@1,1/ide@3/cdrom@2,0:f File and args: - install
Can't read disk label.... (11 Replies)
Discussion started by: gowthamakanthan
11 Replies
7. Solaris
Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error.
Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies
8. Solaris
Hello
Hope someone can help me on my issue. I tried to install Xampp. all are working fine except Apache. I edited xampp starting script file by modifying port from 80 to 2110. the same for /opt/xampp/etc/httpd.conf I change listing port from 80 to 2110
root@mtcksafhtest01 # ./xampp... (2 Replies)
Discussion started by: samer.odeh
2 Replies
LEARN ABOUT FREEBSD
truss
TRUSS(1) BSD General Commands Manual TRUSS(1)
NAME
truss -- trace system calls
SYNOPSIS
truss [-facedDS] [-o file] [-s strsize] -p pid
truss [-facedDS] [-o file] [-s strsize] command [args]
DESCRIPTION
The truss utility traces the system calls called by the specified process or program. Output is to the specified output file, or standard
error by default. It does this by stopping and restarting the process being monitored via ptrace(2).
The options are as follows:
-f Trace descendants of the original traced process created by fork(2), vfork(2), etc.
-a Show the argument strings that are passed in each execve(2) system call.
-c Do not display individual system calls. Instead, before exiting, print a summary containing for each system call: the total system
time used, the number of times the call was invoked, and the number of times the call returned with an error.
-e Show the environment strings that are passed in each execve(2) system call.
-d Include timestamps in the output showing the time elapsed since the trace was started.
-D Include timestamps in the output showing the time elapsed since the last recorded event.
-S Do not display information about signals received by the process. (Normally, truss displays signal as well as system call events.)
-o file
Print the output to the specified file instead of standard error.
-s strsize
Display strings using at most strsize characters. If the buffer is larger, ``...'' will be displayed at the end of the string. The
default strsize is 32.
-p pid Follow the process specified by pid instead of a new command.
command [args]
Execute command and trace the system calls of it. (The -p and command options are mutually exclusive.)
EXAMPLES
# Follow the system calls used in echoing "hello"
$ truss /bin/echo hello
# Do the same, but put the output into a file
$ truss -o /tmp/truss.out /bin/echo hello
# Follow an already-running process
$ truss -p 34
SEE ALSO
kdump(1), ktrace(1), ptrace(2)
HISTORY
The truss command was written by Sean Eric Fagan for FreeBSD. It was modeled after similar commands available for System V Release 4 and
SunOS.
BSD
May 12, 2009 BSD