<?xml version="1.0" encoding="utf-8" ?>

<?xml-stylesheet type="text/xsl" href="/dirk/blog/templates/dirk/rss.xsl" media="screen" ?>
<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Dirks Logbuch (Artikel mit Tag unix)</title>
    <link>https://www.deimeke.net/dirk/blog/</link>
    <description>Die Chronik des schleichenden Wahnsinns ...</description>
    <dc:language>de</dc:language>
    <generator>Serendipity 2.6.0 - http://www.s9y.org/</generator>
    <pubDate>Thu, 26 Apr 2012 10:50:52 GMT</pubDate>

    <image>
    <url>https://www.deimeke.net/dirk/blog/uploads/dd-logo-100-transparent-ohne.png</url>
    <title>RSS: Dirks Logbuch - Die Chronik des schleichenden Wahnsinns ...</title>
    <link>https://www.deimeke.net/dirk/blog/</link>
    <width>72</width>
    <height>34</height>
</image>

<item>
    <title>Kommandozeilen-Anwendungen ...</title>
    <link>https://www.deimeke.net/dirk/blog/index.php?/archives/2985-Kommandozeilen-Anwendungen-....html</link>
            <category>technik</category>
    
    <comments>https://www.deimeke.net/dirk/blog/index.php?/archives/2985-Kommandozeilen-Anwendungen-....html#comments</comments>
    <wfw:comment>https://www.deimeke.net/dirk/blog/wfwcomment.php?cid=2985</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>https://www.deimeke.net/dirk/blog/rss.php?version=2.0&amp;type=comments&amp;cid=2985</wfw:commentRss>
    

    <author>nospam@example.com (Dirk Deimeke)</author>
    <content:encoded>
    Meine private Top 10 oder der Anwendungen für die Kommandozeile, vielleicht sollte ich eher sagen, dass das meine Lieblingsanwendungen sind und nicht unbedingt die, die ich am häufigsten benutze (dann müsste wenigstens &lt;code&gt;sudo&lt;/code&gt; noch dazu).&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://taskwarrior.org/&quot;&gt;Taskwarrior&lt;/a&gt; finde ich gut und dass sage ich nicht nur, weil ich im Core Team bin, sondern eher andersherum, ich bin im Core Team, weil Taskwarrior klasse ist. Taskwarrior zeigt, dass auch Kommandozeilenprogramme durch sinnvollen Einsatz von Farbe und durch übersichtliche leicht zu erlernbare Befehle sehr mächtig und nützlich sein können. Das lohnt sich auch für Leute, die die Kommandozeile &quot;eigentlich&quot; nicht mögen.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://rsync.samba.org/&quot;&gt;rsync&lt;/a&gt; macht, anders als &lt;a href=&quot;http://www.cis.upenn.edu/~bcpierce/unison/&quot;&gt;Unison&lt;/a&gt;, nur Synchronisationen in eine Richtung. Dafür bringt rsync aber auch einen grossen Haufen an (mehr oder weniger) sinnvollen Optionen mit. Selbst lokal kopiere ich grössere Dateien nicht mehr mit &lt;code&gt;cp&lt;/code&gt;, sondern mit rsync, da rsync auch eine Fortschrittsanzeige hat (&lt;code&gt;rsync -Pha quelle ziel&lt;/code&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://openssh.org/&quot;&gt;OpenSSH&lt;/a&gt; ist für mich eine Sammlung von universellen Werkzeugen, was Verbindung zu oder über andere Rechner angeht. rsync kann über OpenSSH laufen, Tunnel können gebaut werden, ein einfacher Proxy ist möglich und die Administration anderer Systeme wäre ohne OpenSSH kaum denkbar.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://htop.sourceforge.net/&quot;&gt;htop&lt;/a&gt; und vielleicht &lt;a href=&quot;http://guichaz.free.fr/iotop/&quot;&gt;Iotop&lt;/a&gt;, was ich aber sehr selten nutze. htop ist ein hervorragender Ersatz für top, der einige hilfreiche Optionen mitbringt und zum Teil Funktionen von ps bzw. pstree obsolet macht.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://sebastien.godard.pagesperso-orange.fr/&quot;&gt;SYSSTAT&lt;/a&gt; ist eine Sammlung von Werkzeugen, die bei der Analyse eines laufenden Systems helfen. Grafische Auswertungen sind mit &lt;a href=&quot;http://sourceforge.net/projects/ksar/&quot;&gt;kSar&lt;/a&gt; möglich. Schaut auch mal in den &lt;a href=&quot;http://adminstories.de/index.php?/archives/116-Sysstat.html&quot;&gt;Beitrag zu Sysstat in den Adminstories&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://git-scm.com/&quot;&gt;Git&lt;/a&gt; ist für mich &lt;strong&gt;das&lt;/strong&gt; Versionskontrollsystem, es hat so viele Vorteile und eine unglaublich reichhaltiges Umfeld an Werkzeugen, dass alles hier den Rahmen sprengen würde. &lt;a href=&quot;http://cre.fm/cre130&quot;&gt;CRE130&lt;/a&gt; möchte ich immer noch als beste Einführung in das Thema verteile Versionskontrollsysteme im Allgemeinen und Git im Speziellen empfehlen.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://sox.sourceforge.net/&quot;&gt;SoX&lt;/a&gt; ist das &quot;Schweizer Taschenmesser&quot; der Audiobearbeitung auf der Kommandozeile. Bis auf Schnitt gibt es kaum etwas, was nicht möglich ist und kaum ein Format, das nicht unterstützt wird.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://betterthangrep.com/&quot;&gt;ack!&lt;/a&gt; ist wie die URL schon sagt &quot;better than grep&quot;, schnell und vielseitig, es macht einfach Spass.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.perl.org/&quot;&gt;Perl&lt;/a&gt; hier zu nennen ist mir echt schwer gefallen, aber als ich mich vor die Wahl gestellt hatte, Perl oder awk hier zu nennen, ist die Wahl nicht schwer gefallen. Perl ist eine einfach zu lernende und sehr mächtige Programmiersprache, die auch sehr nützlich auf der Kommandozeile ist, wie &lt;a href=&quot;http://novosial.org/perl/one-liner/&quot;&gt;Perl One Liners&lt;/a&gt; und &lt;a href=&quot;http://www.unixguide.net/unix/perl_oneliners.shtml&quot;&gt;Hot Perl Oneliners&lt;/a&gt; beweisen&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://curl.haxx.se/&quot;&gt;cURL&lt;/a&gt; ist die eierlegende Wollmilchsau, was Dateiübertragungen angeht, die &lt;a href=&quot;http://curl.haxx.se/docs/features.html&quot;&gt;Features&lt;/a&gt; sind lesenswert und, wenn man sich einmal die &lt;a href=&quot;http://curl.haxx.se/docs/comparison-table.html&quot;&gt;Vergleichstabelle&lt;/a&gt; anschaut, sieht man schnell, dass es das stärkste Download- UND Upload-Werkzeug für eine Vielzahl von Protokollen ist.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.vim.org/&quot;&gt;Vim&lt;/a&gt;; &lt;a href=&quot;http://www.sudo.ws/&quot;&gt;sudo&lt;/a&gt;; host aus den Utilities von &lt;a href=&quot;https://www.isc.org/software/bind/&quot;&gt;bind&lt;/a&gt;; whois - als Client für das &lt;a href=&quot;https://de.wikipedia.org/wiki/Whois&quot;&gt;Whois&lt;/a&gt;-Protokoll; rename (perl-rename in Sabayon); &lt;a href=&quot;http://www.gnu.org/software/screen&quot;&gt;GNU screen&lt;/a&gt; nutze ich regelmässig und finde ich nützlich (ist aber weit entfernt von &quot;toll&quot;; &lt;a href=&quot;https://de.wikipedia.org/wiki/Awk&quot;&gt;awk&lt;/a&gt;; &lt;a href=&quot;http://www.sudo.ws/&quot;&gt;sudo&lt;/a&gt;; ... sind weitere gute Anwendungen, die ich auch mehr oder weniger regelmässig nutze, es aber nicht in die &quot;Top 10&quot; geschafft haben.&lt;br /&gt;
&lt;br /&gt;
KristÃ³f KovÃ¡cs: &lt;a href=&quot;http://kkovacs.eu/cool-but-obscure-unix-tools&quot;&gt;A little collection of cool unix terminal/console/curses tools&lt;/a&gt;&lt;img src=&quot;https://ssl-vg03.met.vgwort.de/na/0b0ef55249c2448a849b0ca6dcc1a109&quot; width=&quot;1&quot; height=&quot;1&quot; alt=&quot;&quot;&gt; 
    </content:encoded>

    <pubDate>Thu, 26 Apr 2012 09:34:00 +0200</pubDate>
    <guid isPermaLink="false">https://www.deimeke.net/dirk/blog/index.php?/archives/2985-guid.html</guid>
    <category>cygwin</category>
<category>linux</category>
<category>technik</category>
<category>unix</category>

</item>
<item>
    <title>Cipher noch einmal ...</title>
    <link>https://www.deimeke.net/dirk/blog/index.php?/archives/2347-Cipher-noch-einmal-....html</link>
            <category>computer</category>
    
    <comments>https://www.deimeke.net/dirk/blog/index.php?/archives/2347-Cipher-noch-einmal-....html#comments</comments>
    <wfw:comment>https://www.deimeke.net/dirk/blog/wfwcomment.php?cid=2347</wfw:comment>

    <slash:comments>8</slash:comments>
    <wfw:commentRss>https://www.deimeke.net/dirk/blog/rss.php?version=2.0&amp;type=comments&amp;cid=2347</wfw:commentRss>
    

    <author>nospam@example.com (Dirk Deimeke)</author>
    <content:encoded>
    Auf Nachfrage von Alex in den Kommentaren &lt;a href=&quot;http://www.deimeke.net/dirk/blog/index.php?/archives/2346-Cipher-Wahl-fuer-SSH-Kopieraktionen-....html&quot;&gt;dieses Artikels&lt;/a&gt;, habe ich den Test auch noch mit Localhost gemacht.&lt;br /&gt;
&lt;br /&gt;
Mit diesem Skript:&lt;br /&gt;
&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; cipher &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; 3des-cbc aes128-cbc aes192-cbc aes256-cbc aes128-ctr aes192-ctr aes256-ctr arcfour128 arcfour256 arcfour blowfish-cbc cast128-cbc&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #800000;&quot;&gt;${cipher}&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; i &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt;..&lt;span style=&quot;color: #000000;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;dd&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;if&lt;/span&gt;=&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;srv&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;iso&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;ubuntu-10.04.1-server-i386.iso &lt;span style=&quot;color: #000000;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;/&lt;/span&gt;dev&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;null &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;ssh&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-o&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Ciphers &lt;span style=&quot;color: #007800;&quot;&gt;${cipher}&lt;/span&gt;&amp;quot;&lt;/span&gt; localhost &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;dd&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;of&lt;/span&gt;=&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dev&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;null &lt;span style=&quot;color: #000000;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;tail&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-1&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;done&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;done&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
Der beste mittlere Wert ist wieder hervorgehoben:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;3des-cbc&lt;br /&gt;
705077248 bytes (705 MB) copied, 43.7986 s, 16.1 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 46.7042 s, 15.1 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 43.7314 s, 16.1 MB/s&lt;br /&gt;
&lt;br /&gt;
aes128-cbc&lt;br /&gt;
705077248 bytes (705 MB) copied, 9.3959 s, 75.0 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 9.46145 s, 74.5 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 9.94794 s, 70.9 MB/s&lt;br /&gt;
&lt;br /&gt;
aes192-cbc&lt;br /&gt;
705077248 bytes (705 MB) copied, 10.3159 s, 68.3 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 10.6935 s, 65.9 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 10.9322 s, 64.5 MB/s&lt;br /&gt;
&lt;br /&gt;
aes256-cbc&lt;br /&gt;
705077248 bytes (705 MB) copied, 11.2965 s, 62.4 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 11.8836 s, 59.3 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 11.4744 s, 61.4 MB/s&lt;br /&gt;
&lt;br /&gt;
aes128-ctr&lt;br /&gt;
705077248 bytes (705 MB) copied, 13.4396 s, 52.5 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 13.4175 s, 52.5 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 12.8931 s, 54.7 MB/s&lt;br /&gt;
&lt;br /&gt;
aes192-ctr&lt;br /&gt;
705077248 bytes (705 MB) copied, 16.1927 s, 43.5 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 13.1323 s, 53.7 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 15.8256 s, 44.6 MB/s&lt;br /&gt;
&lt;br /&gt;
aes256-ctr&lt;br /&gt;
705077248 bytes (705 MB) copied, 15.2297 s, 46.3 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 17.889 s, 39.4 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 18.0179 s, 39.1 MB/s&lt;br /&gt;
&lt;br /&gt;
arcfour128&lt;br /&gt;
705077248 bytes (705 MB) copied, 7.51314 s, 93.8 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 7.46925 s, 94.4 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 7.40912 s, 95.2 MB/s&lt;br /&gt;
&lt;br /&gt;
arcfour256&lt;br /&gt;
705077248 bytes (705 MB) copied, 7.43831 s, 94.8 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 7.47133 s, 94.4 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 7.52313 s, 93.7 MB/s&lt;br /&gt;
&lt;br /&gt;
arcfour&lt;br /&gt;
&lt;strong&gt;705077248 bytes (705 MB) copied, 7.16657 s, 98.4 MB/s&lt;/strong&gt;&lt;br /&gt;
705077248 bytes (705 MB) copied, 7.33755 s, 96.1 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 7.10961 s, 99.2 MB/s&lt;br /&gt;
&lt;br /&gt;
blowfish-cbc&lt;br /&gt;
705077248 bytes (705 MB) copied, 14.8319 s, 47.5 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 18.36 s, 38.4 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 15.9737 s, 44.1 MB/s&lt;br /&gt;
&lt;br /&gt;
cast128-cbc&lt;br /&gt;
705077248 bytes (705 MB) copied, 21.3008 s, 33.1 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 25.2206 s, 28.0 MB/s&lt;br /&gt;
705077248 bytes (705 MB) copied, 19.5291 s, 36.1 MB/s&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Und, was sagt das ganze nun?&lt;br /&gt;
&lt;br /&gt;
Es gibt nicht den einen perfekten Cipher-Algorithmus, manche Cipher verlangen viel Power auf dem Server, andere viel Power auf dem Client. Man muss je nach Anwendungsgebiet den richtigen auswählen. &lt;img src=&quot;https://ssl-vg03.met.vgwort.de/na/1a9fe9531545436e90d79fbb93bb18cc&quot; width=&quot;1&quot; height=&quot;1&quot; alt=&quot;&quot;&gt; 
    </content:encoded>

    <pubDate>Sat, 25 Sep 2010 12:34:07 +0200</pubDate>
    <guid isPermaLink="false">https://www.deimeke.net/dirk/blog/index.php?/archives/2347-guid.html</guid>
    <category>computer</category>
<category>linux</category>
<category>openssh</category>
<category>unix</category>

</item>
<item>
    <title>Cipher-Wahl für SSH-Kopieraktionen ...</title>
    <link>https://www.deimeke.net/dirk/blog/index.php?/archives/2346-Cipher-Wahl-fuer-SSH-Kopieraktionen-....html</link>
            <category>computer</category>
    
    <comments>https://www.deimeke.net/dirk/blog/index.php?/archives/2346-Cipher-Wahl-fuer-SSH-Kopieraktionen-....html#comments</comments>
    <wfw:comment>https://www.deimeke.net/dirk/blog/wfwcomment.php?cid=2346</wfw:comment>

    <slash:comments>12</slash:comments>
    <wfw:commentRss>https://www.deimeke.net/dirk/blog/rss.php?version=2.0&amp;type=comments&amp;cid=2346</wfw:commentRss>
    

    <author>nospam@example.com (Dirk Deimeke)</author>
    <content:encoded>
    Durch die geschickte Wahl der &lt;a href=&quot;http://de.wikipedia.org/wiki/Cipher_Suite&quot; class=&quot;websnapr&quot;&gt;Cipher Suite&lt;/a&gt; bei Kopieraktionen über die SSH kann man sehr viel Transferzeit sparen.&lt;br /&gt;
&lt;br /&gt;
Ich habe das einmal mit einem kleinen Skript getestet. Der Test wurde in einem 100 MBit/s-Netz gemacht. Sender und Empfänger hingen am gleichen Switch.&lt;br /&gt;
&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; cipher &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; 3des-cbc aes128-cbc aes192-cbc aes256-cbc aes128-ctr aes192-ctr aes256-ctr arcfour128 arcfour256 arcfour blowfish-cbc cast128-cbc&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #800000;&quot;&gt;${cipher}&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; i &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt;..&lt;span style=&quot;color: #000000;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;scp&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-c&lt;/span&gt; &lt;span style=&quot;color: #800000;&quot;&gt;${cipher}&lt;/span&gt; stardust-lan:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;srv&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;iso&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;ubuntu-10.04.1-server-i386.iso .&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;rm&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;.iso&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;done&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;done&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
Das führte zu diesem Resultat, die Kopieraktion, bei der der mittlere Wert am besten ist, habe ich fett markiert:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;3des-cbc&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   7.0MB/s   01:36&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   6.7MB/s   01:41&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   6.7MB/s   01:40&lt;br /&gt;
&lt;br /&gt;
aes128-cbc&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   8.0MB/s   01:24&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   8.0MB/s   01:24&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   8.0MB/s   01:24&lt;br /&gt;
&lt;br /&gt;
aes192-cbc&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   8.0MB/s   01:24&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   7.6MB/s   01:29&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   8.3MB/s   01:21&lt;br /&gt;
&lt;br /&gt;
aes256-cbc&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB  11.0MB/s   01:01&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   9.9MB/s   01:08&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB  10.3MB/s   01:05&lt;br /&gt;
&lt;br /&gt;
aes128-ctr&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   7.9MB/s   01:25&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   8.1MB/s   01:23&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   8.1MB/s   01:23&lt;br /&gt;
&lt;br /&gt;
aes192-ctr&lt;br /&gt;
&lt;strong&gt;ubuntu-10.04.1-server-i386.iso  100%  672MB  11.0MB/s   01:01&lt;/strong&gt;&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB  11.2MB/s   01:00&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB  10.7MB/s   01:03&lt;br /&gt;
&lt;br /&gt;
aes256-ctr&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   9.1MB/s   01:14&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB  10.2MB/s   01:06&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB  10.7MB/s   01:03&lt;br /&gt;
&lt;br /&gt;
arcfour128&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   9.3MB/s   01:12&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   9.2MB/s   01:13&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   9.3MB/s   01:12&lt;br /&gt;
&lt;br /&gt;
arcfour256&lt;br /&gt;
&lt;strong&gt;ubuntu-10.04.1-server-i386.iso  100%  672MB  11.0MB/s   01:01&lt;/strong&gt;&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB  11.2MB/s   01:00&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB  10.9MB/s   01:02&lt;br /&gt;
&lt;br /&gt;
arcfour&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB  10.7MB/s   01:03&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB  10.7MB/s   01:03&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB  10.2MB/s   01:06&lt;br /&gt;
&lt;br /&gt;
blowfish-cbc&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   9.1MB/s   01:14&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   9.2MB/s   01:13&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   8.9MB/s   01:16&lt;br /&gt;
&lt;br /&gt;
cast128-cbc&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   8.3MB/s   01:21&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   8.4MB/s   01:20&lt;br /&gt;
ubuntu-10.04.1-server-i386.iso  100%  672MB   8.6MB/s   01:18&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
66% Differenz in der Zeit im Extremen ist ein guter Grund, sich darüber Gedanken zu machen. Bei Kopieraktionen über das Internet lohnt sich zusätzlich noch, die Kompression einzuschalten.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Wichtig: Das sagt nur etwas über Übertragungszeiten und nicht über die Qualität der Ciphers aus!&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Anwendung (&quot;-C&quot; oder &quot;Compression yes&quot; nur bei langsamen Netzwerken):&lt;br /&gt;
&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;scp&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-c&lt;/span&gt; aes192-ctr &lt;span style=&quot;color: #660033;&quot;&gt;-C&lt;/span&gt; quelle host:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;ziel&lt;br /&gt;rsync &lt;span style=&quot;color: #660033;&quot;&gt;-avze&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;ssh -o &amp;quot;Ciphers aes192-ctr&amp;quot; -o &amp;quot;Compression yes&amp;quot;&#039;&lt;/span&gt; quelle&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt; host:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;ziel&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
Oder gleich als Eintrag in die ~/.ssh/config:&lt;br /&gt;
&lt;tt&gt;Host *&lt;br /&gt;
   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour&lt;br /&gt;
  Compression yes&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Achtung:&lt;/strong&gt; In der Config sollte man direkt mehrere Ciphers in Reihenfolge der eigenen Präferenzen eintragen, es kann sein, dass ein entferntes System eine bestimmte Cipher nicht beherrscht.&lt;img src=&quot;https://ssl-vg03.met.vgwort.de/na/4ad5c546d36b48f5af4d6fce3ccf041f&quot; width=&quot;1&quot; height=&quot;1&quot; alt=&quot;&quot;&gt; 
    </content:encoded>

    <pubDate>Thu, 23 Sep 2010 14:26:00 +0200</pubDate>
    <guid isPermaLink="false">https://www.deimeke.net/dirk/blog/index.php?/archives/2346-guid.html</guid>
    <category>computer</category>
<category>linux</category>
<category>openssh</category>
<category>unix</category>

</item>
<item>
    <title>sysstat und kSar ...</title>
    <link>https://www.deimeke.net/dirk/blog/index.php?/archives/2303-sysstat-und-kSar-....html</link>
            <category>computer</category>
    
    <comments>https://www.deimeke.net/dirk/blog/index.php?/archives/2303-sysstat-und-kSar-....html#comments</comments>
    <wfw:comment>https://www.deimeke.net/dirk/blog/wfwcomment.php?cid=2303</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>https://www.deimeke.net/dirk/blog/rss.php?version=2.0&amp;type=comments&amp;cid=2303</wfw:commentRss>
    

    <author>nospam@example.com (Dirk Deimeke)</author>
    <content:encoded>
    Die kleinen Helferlein zum Performance-Monitoring aus der &lt;a href=&quot;http://sebastien.godard.pagesperso-orange.fr/&quot; class=&quot;websnapr&quot;&gt;sysstat&lt;/a&gt;-Sammlung werden vermutlich einige von Euch kennen. Falls nicht, lasst Euch von der hässlichen Homepage nicht blenden ... &quot;Niemals ein Buch nach seinem Einband beurteilen!&quot;.&lt;br /&gt;
&lt;br /&gt;
Einige Basis-Informationen sind in &lt;a href=&quot;http://blog.credativ.com/de/2010/03/howto-sys-admin-werkzeug-der-woche-sysstat.html&quot; class=&quot;websnapr&quot;&gt;diesem Blog hier&lt;/a&gt; zu finden, auf das ich nach der Suche der eigentlichen Homepage gestossen bin.&lt;br /&gt;
&lt;br /&gt;
Die eigentliche Stärke von sysstat ist allerdings das periodische Aufzeichnen von Performance-Werten. Dazu muss man auf einem Ubuntu- oder Debian-System nach der Installation in der Datei /etc/default/sysstat enabled auf &quot;true&quot; setzen und fertig.&lt;br /&gt;
&lt;br /&gt;
Im Standard zeichnet sar (System Activity Report) in je 10 Minuten einen Wert auf, wenn man das ändern möchte, kann man andere Zeitvorgaben in der Datei /etc/cron.d/sysstat machen.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:6174 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;450&quot; height=&quot;338&quot;  src=&quot;https://www.deimeke.net/dirk/blog/uploads/ywc.png_all-cpu.png&quot;  alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Ein &quot;sar -A&quot; zeigt wie viele Werte aufgezeichnet werden und da ist ein grafischer Helfer willkommen. Der lässt sich in &lt;a href=&quot;http://ksar.atomique.net/&quot; class=&quot;websnapr&quot;&gt;kSar&lt;/a&gt; finden. Dieses Programm kann auch per SSH auf einem entfernten Host die Daten suchen und grafisch aufbereiten. Oben seht Ihr die CPU-Werte des root-Servers von gestern.&lt;br /&gt;
&lt;br /&gt;
Neben einzelnen Grafiken lässt sich auch ein kompletter Report im PDF-Format erstellen: &lt;a href=&quot;https://www.deimeke.net/dirk/blog/uploads/ywc.pdf&quot; title=&quot;ywc.pdf&quot; target=&quot;_blank&quot;&gt;ywc.pdf&lt;/a&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 05 Aug 2010 20:00:00 +0200</pubDate>
    <guid isPermaLink="false">https://www.deimeke.net/dirk/blog/index.php?/archives/2303-guid.html</guid>
    <category>computer</category>
<category>linux</category>
<category>unix</category>

</item>
<item>
    <title>Gelöscht und nicht freigegeben ...</title>
    <link>https://www.deimeke.net/dirk/blog/index.php?/archives/2259-Geloescht-und-nicht-freigegeben-....html</link>
            <category>linux</category>
    
    <comments>https://www.deimeke.net/dirk/blog/index.php?/archives/2259-Geloescht-und-nicht-freigegeben-....html#comments</comments>
    <wfw:comment>https://www.deimeke.net/dirk/blog/wfwcomment.php?cid=2259</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://www.deimeke.net/dirk/blog/rss.php?version=2.0&amp;type=comments&amp;cid=2259</wfw:commentRss>
    

    <author>nospam@example.com (Dirk Deimeke)</author>
    <content:encoded>
    Einer der grossen Stolpersteine, die Nutzern im Weg liegen, sind Dateien, die sie gelöscht haben, deren Speicherplatz aber nicht freigegeben wurde.&lt;br /&gt;
&lt;br /&gt;
Um das Problem zu verdeutlichen, erzeuge ich einmal eine 1 GB Datei:&lt;br /&gt;
&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;$ &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;dd&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;if&lt;/span&gt;=&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dev&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;zero &lt;span style=&quot;color: #007800;&quot;&gt;of&lt;/span&gt;=&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;tmp&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;GB-Datei &lt;span style=&quot;color: #007800;&quot;&gt;bs&lt;/span&gt;=&lt;span style=&quot;color: #000000;&quot;&gt;1024&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;count&lt;/span&gt;=&lt;span style=&quot;color: #000000;&quot;&gt;1048576&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;df&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-h&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;tmp&lt;br /&gt;Filesystem &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;Size &amp;#160;Used Avail Use&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;%&lt;/span&gt; Mounted on&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dev&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;sda1 &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; 142G &amp;#160;118G &amp;#160; 17G &amp;#160;&lt;span style=&quot;color: #000000;&quot;&gt;88&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;%&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
In einem zweiten Fenster lese ich jetzt die Datei mit less&lt;br /&gt;
&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;less&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;tmp&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;GB-Datei&lt;/div&gt;&lt;br /&gt;
Jetzt lösche ich die Datei im ersten Fenster:&lt;br /&gt;
&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;rm&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;tmp&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;GB-Datei&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;df&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-h&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;tmp&lt;br /&gt;Filesystem &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;Size &amp;#160;Used Avail Use&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;%&lt;/span&gt; Mounted on&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dev&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;sda1 &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; 142G &amp;#160;118G &amp;#160; 17G &amp;#160;&lt;span style=&quot;color: #000000;&quot;&gt;88&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;%&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
Der Speicherplatz wurde nicht freigegeben, weil noch ein Prozess die Datei benutzt. Um herauszufinden wer noch offene Dateien hat, hilft der Befehl lsof (list open files, Lektüre der man-page lohnt sich!).&lt;br /&gt;
&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;lsof &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; deleted&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;less&lt;/span&gt; &amp;#160; &amp;#160; &amp;#160;&lt;span style=&quot;color: #000000;&quot;&gt;2204&lt;/span&gt; &amp;#160; &amp;#160; &amp;#160; dirk &amp;#160; &amp;#160;4r &amp;#160; &amp;#160; &amp;#160;REG &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;&lt;span style=&quot;color: #000000;&quot;&gt;8&lt;/span&gt;,&lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;1073741824&lt;/span&gt; &amp;#160; &amp;#160;&lt;span style=&quot;color: #000000;&quot;&gt;2621637&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;tmp&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;GB-Datei &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;deleted&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;ps&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-fp&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;2204&lt;/span&gt;&lt;br /&gt;UID &amp;#160; &amp;#160; &amp;#160; &amp;#160;PID &amp;#160;PPID &amp;#160;C STIME TTY &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;TIME CMD&lt;br /&gt;dirk &amp;#160; &amp;#160; &amp;#160;&lt;span style=&quot;color: #000000;&quot;&gt;2204&lt;/span&gt; &amp;#160;&lt;span style=&quot;color: #000000;&quot;&gt;1807&lt;/span&gt; &amp;#160;&lt;span style=&quot;color: #000000;&quot;&gt;7&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;17&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;26&lt;/span&gt; pts&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt; &amp;#160; &amp;#160;00:00:&lt;span style=&quot;color: #000000;&quot;&gt;25&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;less&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;tmp&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;GB-Datei&lt;/div&gt;&lt;br /&gt;
Wenn jetzt das less-Kommando verlassen wird, ergibt sich:&lt;br /&gt;
&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;df&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-h&lt;/span&gt;&lt;br /&gt;Filesystem &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;Size &amp;#160;Used Avail Use&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;%&lt;/span&gt; Mounted on&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dev&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;sda1 &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; 142G &amp;#160;117G &amp;#160; 18G &amp;#160;&lt;span style=&quot;color: #000000;&quot;&gt;87&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;%&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
Einen Hinweis noch am Ende. Sehr häufig gibt es die Herausforderung, dass das Log eines Serverdienstes zu gross wird und man kein Wartungsfenster bekommt, um die Logdateien wegzuräumen.&lt;br /&gt;
&lt;br /&gt;
Wenn wirklich dringend Platz geschaffen werden muss, kann man mit&lt;br /&gt;
&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dev&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;null &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt; logdatei&lt;/div&gt;&lt;br /&gt;
oder&lt;br /&gt;
&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt; logdatei&lt;/div&gt;&lt;br /&gt;
Die Datei auf null Bytes verkleinern. dabei wird das Dateihandle nicht verändert, der Serverdienst logged also weiter in die gleiche Datei.&lt;img src=&quot;https://ssl-vg03.met.vgwort.de/na/37b622a2be174caca2ee8daa79ca7eeb&quot; width=&quot;1&quot; height=&quot;1&quot; alt=&quot;&quot;&gt; 
    </content:encoded>

    <pubDate>Thu, 01 Jul 2010 17:40:00 +0200</pubDate>
    <guid isPermaLink="false">https://www.deimeke.net/dirk/blog/index.php?/archives/2259-guid.html</guid>
    <category>linux</category>
<category>sysadmin</category>
<category>unix</category>

</item>

</channel>
</rss>
