4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
    Type 1 or more characters for results.
    Links per page: 20 50 100
    page 1 / 1
    4 results tagged status x
    • thumbnail
      regex - Bash: One-liner to exit with the opposite status of a grep command? - Stack Overflow

      La commande eb d'amazon retourne toujours 0 même quand elle foire.. pas pratique pour repérer une erreur dans les script de CI..

      Mes scripts bash commencent tous avec "set -e" pour sortir en erreur des qu'il y a un probleme

      La commande eb me pose donc problème, j'ai fixé ça de cette mainère en attendant de trouver mieux :

      eb blablabla 2>&1 | ( ! grep ERROR)

      De cette manière, si dans le stdout ou dans le stderr on trouve 'ERROR', le grep va matcher et renvoyer 1 (dans une utilisation normale, grep retourne 0 si il match, mais avec le point d'exclamation, on inverse ce retour)

      Ce qui aura pour effet de passer mon script en erreur !

      4 janvier 2017 à 10:46:12 UTC+1 - permalink - archive.org - http://stackoverflow.com/questions/15367674/bash-one-liner-to-exit-with-the-opposite-status-of-a-grep-command
      code error exit grep status
    • Svn status output

      Pour avoir toujours l'output dans le même ordre (trié), ajouter au bashrc :

      function svn() {
      case $* in
      st ) shift 1; command svn status | sort -k 2 ;;

      • ) command svn "$@" ;;
        esac
        }
      7 janvier 2015 à 10:35:15 UTC+1 - permalink - archive.org - https://links.infomee.fr/?nPIw-g
      status svn
    • Enable Nginx Status Page

      le server-status de nginx : comment interpréter l'output

      Interpretation

      Active connections – Number of all open connections. This doesn’t mean number of users. A single user, for a single pageview can open many concurrent connections to your server.
      Server accepts handled requests – This shows three values.
          First is total accepted connections.
          Second is total handled connections. Usually first 2 values are same.
          Third value is number of and handles requests. This is usually greater than second value.
          Dividing third-value by second-one will give you number of requests per connection handled by Nginx. In above example, 10993/7368, 1.49 requests per connections.
      Reading – nginx reads request header
      Writing – nginx reads request body, processes request, or writes response to a client
      Waiting – keep-alive connections, actually it is active – (reading + writing).This value depends on keepalive-timeout. Do not confuse non-zero waiting value for poor performance. It can be ignored. Although, you can force zero waiting by setting keepalive_timeout 0;
      6 octobre 2014 à 14:29:14 UTC+2 - permalink - archive.org - https://rtcamp.com/tutorials/nginx/status-page/
      nginx server-status status
    • Activer et configurer le server-status Apache (mod_status) - Blog de Florian Bogey
      31 mars 2014 à 18:16:57 UTC+2 - permalink - archive.org - http://www.blog.florian-bogey.fr/activer-et-configurer-le-server-status-apache-mod_status.html
      apache status
    Links per page: 20 50 100
    page 1 / 1
    Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation