Scrigroup - Documente si articole

Username / Parola inexistente      

Home Documente Upload Resurse Alte limbi doc  

AccessAdobe photoshopAlgoritmiAutocadBaze de dateCC sharp
CalculatoareCorel drawDot netExcelFox proFrontpageHardware
HtmlInternetJavaLinuxMatlabMs dosPascal
PhpPower pointRetele calculatoareSqlTutorialsWebdesignWindows

AspAutocadCDot netExcelFox proHtmlJava
LinuxMathcadPhotoshopPhpSqlVisual studioWindowsXml

strace linux command


+ Font mai mare | - Font mai mic


Trimite pe Messenger
ypserv linux command
strace linux command
ftp linux command
vidmode linux command
tftp linux command
ypwhich linux command
rlogind linux command
groupadd linux command
kbdrate linux command
dosfsck linux command


strace [options] command [arguments]

Trace the system calls and signals for command and arguments. strace shows you how data is passed between the program and the system kernel. With no options, strace prints a line to stderr for each system call. It shows the call name, arguments given, the return value, and any error messages generated. A signal is printed with both its signal symbol and a descriptive string.


-a n

Align the return values in column n.


Count all calls and signals and create a summary report when the program has ended.


Debug mode. Print debugging information for strace on stderr.

-e keyword[=[!]values

Pass an expression to strace to limit the types of calls or signals that are traced or change how they are displayed. The values for these expressions can be given as a comma-separated list. Preceding the list with an exclamation mark (!) negates the list. The special values of all and none are valid, as are the values listed with the following keywords.


Abbreviate output from large structures for system calls listed in names.


Print all data read from the given file descriptors.


Trace the listed signal symbols (for example, signal=SIGIO,SIGHUP).


Trace the listed values. values may be a list of system call names or one of the following sets of system calls:


Calls that take a filename as an argument


Interprocess communication




Process management




Unabbreviate structures for the given system call names. Default is none.


Print all data written to the given file descriptors.


Trace forked processes.


Write system calls for forked processes to separate files named when using the -o option.


Print help and exit.


Print instruction pointer with each system call.

-o filename

Write output to filename instead of stderr. If filename starts with the pipe symbol |, treat the rest of the name as a command to which output should be piped.

-O n

Override strace's built-in timing estimates, and just subtract n microseconds from the timing of each system call to adjust for the time it takes to measure thestentry> call.

-p pid

Attach to the given process ID and begin tracking. strace can track more than one process if more than one option -p is given. Type Ctrl-c to end the trace.


Quiet mode. Suppress attach and detach messages from strace.


Relative timestamp. Print time in microseconds between system calls.

-s n

Print only the first n characters of a string. Default value is 32.

-S value

Sort output of -c option by the given value. value may be calls, name, time, or nothing. By default it is sorted by time.


Print time spent in each system call.


Print time of day on each line of output.


Print time of day with microseconds on each line of output.


Print timestamp on each line as number of seconds since the Epoch.

-u username

Run command as username. Needed when tracing setuid and setgid programs.


Print version and exit.


Verbose. Do not abbreviate structure information.


Print all non-ASCII strings in hexadecimal.


Print all strings in hexadecimal.

Politica de confidentialitate



Vizualizari: 495
Importanta: rank

Comenteaza documentul:

Te rugam sa te autentifici sau sa iti faci cont pentru a putea comenta

Creaza cont nou

Termeni si conditii de utilizare | Contact
© SCRIGROUP 2021 . All rights reserved

Distribuie URL

Adauga cod HTML in site