Tags: awk

Sort by: Date / Title /

  1. 5 years ago by spirit
    1. du -sk * | awk '{ if ($1>500) print $2 }'
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2149"></script>
  2. 10 years ago by spirit
    1. lynx -dump http://www.whatismyip.com | grep -i "Your IP is" | awk '{ print $4; }'
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/563"></script>
  3. 10 years ago by paquai13 and saved by 1 other
    1. Par exemple, pour connaitre la place utilisee en memoire par le processus apache2 :
    2. ps -ely | grep '\<apache2\>' | awk '{SUM += $8} END {print SUM}'
    3.  
    4. ou pour connaitre la place en Ko prise par tous les fichiers PNG du repertoire :
    5. ls -l *.png | awk '{SUM += $5} END {print SUM/1024}'
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/404"></script>
  4. sponsorised links

First / Previous / Next / Last / Page 1 of 1 (3 posteets)