[wiki] [official] use pidof || Matthias-Christian Ott

From: <hg_AT_suckless.org>
Date: Sun, 14 Sep 2008 09:49:24 +0100 (BST)

changeset: 149:0d33cfbbb4a5
user: Matthias-Christian Ott <ott_AT_enolink.de>
date: Tue Sep 02 17:13:37 2008 +0200
files: common/bugs.md
description:
use pidof


diff -r 2273f4793f1b -r 0d33cfbbb4a5 common/bugs.md
--- a/common/bugs.md Tue Sep 02 17:12:25 2008 +0200
+++ b/common/bugs.md Tue Sep 02 17:13:37 2008 +0200
_AT_@ -20,7 +20,7 @@
 
 If you encounter freezes (no crash at all) of the program, you can debug as follows:
 
- $ gdb --quiet `which program` pid
+ $ gdb --quiet `which program` `pidof -s program`
     gdb> bt full
 
 Send the output of that command to the mailinglist along with the output of
Received on Sun Sep 14 2008 - 10:49:24 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:30:26 CEST