Skip to main content

Questions tagged [strace]

strace is a debugging utility for tracing system calls and signals under Linux.

3 votes
1 answer
105 views

I own two systems, host-a and host-b, connected in a lan via a switch; they both have no firewall. When I run clockdiff in each of them I receive the error message that the other host is down. All ...
Janis's user avatar
  • 139
0 votes
0 answers
41 views

So I am writing a program that automatically determines the dependencies of an application and writes a FROM scratch dockerfile based on them using strace. I was testing it on a MariaDB, but it failed ...
ReGeLePuMa's user avatar
0 votes
0 answers
66 views

So, I decided to start learn about system call with strace and want to observe network-related system call on apache2 processes, here's how I attach it: pidof -s apache2 pstree -sTp <pid-from-pidof&...
ReYuki's user avatar
  • 33
0 votes
1 answer
243 views

I am very new to linux and as such would appreciate any pointers with respect to understanding system calls and having the ability, knowledge and tools to reverse-engineer their origin or their ...
N S's user avatar
  • 1
1 vote
0 answers
2k views

OS is Debian 12. I copied some data to a usb drive, then ran the sync command to ensure I could remove it safely. The sync command then appeared to be stuck. After waiting for half an hour, I tried ...
cat pants's user avatar
  • 167
4 votes
1 answer
2k views

The problem: typing in the terminal on Ubuntu takes seconds until the typed character appears. I first noticed this after I moved large chunks of data onto another LUKS encrypted HDD which I mounted ...
VerteXVaaR's user avatar
4 votes
1 answer
487 views

(I think) I have a relatively good understanding of how Linux permissions work - traditional Unix DAC permissions, and how they're represented, security context in relation to processes (i.e. cred ...
genericuser99's user avatar
0 votes
1 answer
369 views

I use strace to trace the behavior of a bash process. The purpose is to find out the order bash loads its configuration files. I am running the following command under zsh: strace -e openat bash ...
Visrut's user avatar
  • 137
3 votes
1 answer
1k views

I strace a curl command: strace -s 2000 -f curl google.com and see 2 DNS queries recvfrom(3, "\302\325\201\200\0\1\0\1\0\0\0\0\6google\3com\0\0\34\0\1\6google\3com\0\0\34\0\1\0\0\0\362\0\20*\0\...
Rocherlee's user avatar
  • 133
1 vote
1 answer
105 views

I am using slim login manager. when I log out from my session, or restart slim from the commandline: service slim restart I get blank console for couple of minutes, before the slim login screen ...
Martin Vegter's user avatar
3 votes
1 answer
2k views

I have a symlink to a world-readable file that a c program is being unable to read. redshift is supposed to pick up configuration from $HOME/.config/redshift/redsihft.conf automatically, but it wasn't....
ealfonso's user avatar
  • 1,017
1 vote
1 answer
234 views

I am learning to use redirection. the typical operation is like below: command > file 2>&1 Refer to APUE 3.10 and 3.12, I think the critical syscall sequence is like below: open(...
Yao Li's user avatar
  • 21
0 votes
1 answer
1k views

So I wanted to know how files are opened by zsh like .xinitrc, .xprofile, .zprofile, and exactly in which order. So I have decided to strace on zsh process with the grep command to see how the open ...
Visrut's user avatar
  • 137
0 votes
1 answer
1k views

I have tmux and wanted to set some custom configurations, but I cannot find a default tmux.conf file. tmux -V tmux 3.3a According to the manpage: -f file Specify an alternative ...
Stonecraft's user avatar
0 votes
0 answers
458 views

A process is stucked at recvfrom syscall. > sudo strace -p 4146278 strace: Process 4146278 attached recvfrom(9 ... I looked up under /proc/4146278/fd. fd 9 seems to be a socket. > sudo ls -al /...
Wei Qiu's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
15