Parcourir la source

updated 'strace' one-liners

- signed-off-by: trimstray <trimstray@gmail.com>
pull/82/head
trimstray il y a 5 ans
Parent
révision
0ce440acd4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      README.md

+ 1
- 1
README.md Voir le fichier

@@ -1451,7 +1451,7 @@ timeout 30 strace $(< /var/run/zabbix/zabbix_agentd.pid)
###### Track child process and redirect output to a file

```bash
ps auxw | grep 'sbin/[a]pache' | awk '{print " -p " $2}' | xargs strace -o /tmp/strace-apache-proc.out
ps auxw | grep '[a]pache' | awk '{print " -p " $2}' | xargs strace -o /tmp/strace-apache-proc.out
```

###### Track the open request of a network port


Chargement…
Annuler
Enregistrer