svn commit: r45420 - head/de_DE.ISO8859-1/books/handbook/basics

Benedict Reuschling <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: bcr
Date: Fri Aug  8 19:00:36 2014
New Revision: 45420
URL: http://svnweb.freebsd.org/changeset/doc/45420

Log:
  Update to r39947:
  Prefer the use of pgrep instead of ps | grep for exactly the reason
  specified in the handbook: ps is "racy".
  
  Submitted by:	Bjoern Heidotting
  Obtained from:	The FreeBSD German Documentation Project

Modified:
  head/de_DE.ISO8859-1/books/handbook/basics/chapter.xml

Modified: head/de_DE.ISO8859-1/books/handbook/basics/chapter.xml
==============================================================================
--- head/de_DE.ISO8859-1/books/handbook/basics/chapter.xml	Fri Aug  8 18:54:33 2014	(r45419)
+++ head/de_DE.ISO8859-1/books/handbook/basics/chapter.xml	Fri Aug  8 19:00:36 2014	(r45420)
@@ -5,7 +5,7 @@
 
      $FreeBSD$
      $FreeBSDde$
-     basiert auf: r39830
+     basiert auf: r39947
 -->
 <chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="basics">
   <info><title>Grundlagen des UNIX Betriebssystems</title>
@@ -2170,21 +2170,14 @@ Swap: 256M Total, 38M Used, 217M Free, 1
 	wenn er ein <literal>SIGHUP</literal> empfängt.</para>
 
       <step>
-	<para>Suchen Sie die Prozess-ID des Prozesses, dem Sie ein Signal
-	  schicken wollen.  Benutzen Sie dazu &man.ps.1; und &man.grep.1;.
-	  Mit &man.grep.1; können Sie in einer Ausgabe nach einem
-	  String suchen.  Da &man.inetd.8; unter dem Benutzer
-	  <systemitem class="username">root</systemitem> läuft und Sie das Kommando als
-	  normaler Benutzer absetzen, müssen Sie &man.ps.1; mit
-	  <option>ax</option> aufrufen:</para>
-
-	<screen>&prompt.user; <userinput>ps -ax | grep inetd</userinput>
-  198  ??  IWs    0:00.00 inetd -wW</screen>
-
-	<para>Die Prozess-ID von &man.inetd.8; ist 198.  In einigen
-	  Fällen werden Sie auch das <literal>grep inetd</literal>
-	  Kommando in der Ausgabe sehen.  Dies hat damit zu tun, wie
-	  &man.ps.1; die Liste der laufenden Prozesse untersucht.</para>
+        <para>Suchen Sie die Prozess-ID des Prozesses, dem Sie ein
+          Signal schicken wollen.  Benutzen Sie
+          dazu &man.pgrep.1;.</para>
+
+	<screen>&prompt.user; <userinput>pgrep -l inetd</userinput>
+198 inetd -wW</screen>
+
+        <para>Die Prozess-ID von &man.inetd.8; ist 198.</para>
       </step>
 
       <step>

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.