4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 125 / 217
Newer►
  • Blog Ysance » Zabbix, Centreon, Nagios, Cacti ou Munin ?

    Article interessant : dissocier metrologie et supervision dans le domaine du monitoring

    January 2, 2014 at 6:00:26 PM GMT+1 - permalink - archive.org - http://blog.ysance.com/decrypt/zabbix-centreon-nagios-cacti-ou-munin/
    monitoring
  • ElasticSearch in 5 minutes - ElasticSearch Tutorial.com

    Sympa de pouvoir requeter (get delete etc) avec des REST API

    January 2, 2014 at 4:13:58 PM GMT+1 - permalink - archive.org - http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html
    elasticsearch
  • Writing an init script for a Java application | Gustavo Straube

    Comment créer un script d'init pour une application java.

    EDIT : ce truc n'a pas marché pour moi :
    s=ps -C 'java -jar /path/to/application.jar' -o pid h
    Du coup, j'ai remplacé par :
    s=$(pgrep --full 'une string unique qui identifie la command line pour lancer mon jar')

    !/bin/sh

    #

    init script for a Java application

    #

    Check the application status

    #

    This function checks if the application is running

    check_status() {

    Running ps with some arguments to check if the PID exists

    -C : specifies the command name

    -o : determines how columns must be displayed

    h : hides the data header

    s=ps -C 'java -jar /path/to/application.jar' -o pid h

    If somethig was returned by the ps command, this function returns the PID

    if [ $s ] ; then
    return $s
    fi

    In any another case, return 0

    return 0

    }

    Starts the application

    start() {

    At first checks if the application is already started calling the check_status

    function

    check_status

    $? is a special variable that hold the "exit status of the most recently executed

    foreground pipeline"

    pid=$?

    if [ $pid -ne 0 ] ; then
    echo "The application is already started"
    exit 1
    fi

    If the application isn't running, starts it

    echo -n "Starting application: "

    Redirects default and error output to a log file

    java -jar /path/to/application.jar >> /path/to/logfile 2>&1 &
    echo "OK"
    }

    Stops the application

    stop() {

    Like as the start function, checks the application status

    check_status

    pid=$?

    if [ $pid -eq 0 ] ; then
    echo "Application is already stopped"
    exit 1
    fi

    Kills the application process

    echo -n "Stopping application: "
    kill -9 $pid &
    echo "OK"
    }

    Show the application status

    status() {

    The check_status function, again...

    check_status

    If the PID was returned means the application is running

    if [ $? -ne 0 ] ; then
    echo "Application is started"
    else
    echo "Application is stopped"
    fi

    }

    Main logic, a simple case to call functions

    case "$1" in
    start)
    start
    ;;
    stop)
    stop
    ;;
    status)
    status
    ;;
    restart|reload)
    stop
    start
    ;;
    *)
    echo "Usage: $0 {start|stop|restart|reload|status}"
    exit 1
    esac

    exit 0

    January 2, 2014 at 2:43:49 PM GMT+1 - permalink - archive.org - http://gustavostraube.wordpress.com/2009/11/05/writing-an-init-script-for-a-java-application/
    init initd jar java script
  • Deux syntaxes pour écrire une fonction en bash

    function sayhello() {
    echo hello
    }

    OR

    sayhello() {
    echo hello
    }

    Et en one-line :

    sayhello() { echo hello; }

    January 2, 2014 at 2:24:13 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?zlvmKw
    bash fonction function
  • ownCloud Forums • View topic - WebDAV SNI

    J'ai du faire ça pour que la synchro fonctionne car mon certificat n'est pas au meme nom que mon domaine owncloud...
    Quand je serai motivé, je referai un certificat correctement, en attendant je me note la rustine ici juste au cas où :

    i have to set CURLOPT_SSL_VERIFYHOST => 1 in array $curlSettings in file 3rdparty/Sabre/DAV/Client.php to use WebDAV correctly with my setup. If not i get the warning message in admin-screen.

    • ajout entrée hosts
    January 1, 2014 at 7:04:00 PM GMT+1 - permalink - archive.org - http://forum.owncloud.org/viewtopic.php?f=23&t=10293
    owncloud
  • 7 little known but super useful PHP functions | CatsWhoCode.com
    December 31, 2013 at 2:10:19 PM GMT+1 - permalink - archive.org - http://www.catswhocode.com/blog/7-little-known-but-super-useful-php-functions
    php
  • Puppet, the Catalog, and You
    December 31, 2013 at 12:13:25 PM GMT+1 - permalink - archive.org - http://somethingsinistral.net/blog/puppet-the-catalog-and-you/
    catalog graph puppet
  • Pour mieux comprendre PHP

    3 articles à lire :
    http://julien-pauli.developpez.com/tutoriels/php/compilation/
    http://julien-pauli.developpez.com/tutoriels/php/internals/presentation/
    http://julien-pauli.developpez.com/tutoriels/php/internals/bases-creer-extension/
    http://tech.covoiturage.fr/author/julien_pauli/
    +Bonus :
    http://julien-pauli.developpez.com/tutoriels/php/sapis/
    https://support.cloud.engineyard.com/entries/26902267-PHP-Performance-I-Everything-You-Need-to-Know-About-OpCode-Caches

    December 30, 2013 at 4:49:54 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?bHKQ5A
    learning php
  • Beautiful Android Themes, Wallpapers, and Homescreens

    Plein de theme pour android.
    Testables facilement avec l'application en plus !

    December 30, 2013 at 3:12:24 PM GMT+1 - permalink - archive.org - http://mycolorscreen.com/
    android theme
  • software - node.js

    Excellent :D

    December 30, 2013 at 2:39:43 PM GMT+1 - permalink - archive.org - http://harmful.cat-v.org/software/node.js
    catv node
  • thumbnail
    How do diff over ssh? - Server Fault

    vimdiff /path/to/file scp://remotehost//path/to/file

    December 30, 2013 at 10:45:25 AM GMT+1 - permalink - archive.org - http://serverfault.com/questions/59140/how-do-diff-over-ssh
    diff remote vim
  • Les programmeurs ne sont pas des branleurs ! - Framablog

    gros +1

    December 28, 2013 at 11:34:40 PM GMT+1 - permalink - archive.org - http://www.framablog.org/index.php/post/2013/12/28/Les-programmeurs-ne-sont-pas-des-branleurs
    article dev productivité
  • Tags et RSS au menu de poche 1.3 - LinuxFr.org

    application Android pour faire du offline plz -_-

    December 28, 2013 at 8:35:16 AM GMT+1 - permalink - archive.org - http://linuxfr.org/news/tags-et-rss-au-menu-de-poche-1-3
    poche
  • Ma procédure d'installation Archlinux - Vintherine : le blog

    Moi aussi faudra que je teste, je cinnais plusieurs personnes qui apprécient cette distrib.

    via arnaudb(https://arnaudb.net/shaarli/?WzE6mw)

    December 28, 2013 at 8:27:27 AM GMT+1 - permalink - archive.org - http://blog.vintherine.org/post/2013/11/19/Ma-proc%C3%A9dure-d-installation-Archlinux
    archlinux distrib
  • phpGraph : afficher des graphiques svg grâce à php - Ecyseo

    à utiliser pour faire les statistiques de dépenses pour une catégorie

    via sebsauvage

    December 27, 2013 at 10:00:11 PM GMT+1 - permalink - archive.org - http://www.ecyseo.net/article/29/phpgraph-afficher-des-graphiques-svg-grace-a-php.html
    graph php
  • The UNIX School: sed - 25 examples to delete a line or pattern in a file
    December 27, 2013 at 4:07:46 PM GMT+1 - permalink - archive.org - http://www.theunixschool.com/2012/06/sed-25-examples-to-delete-line-or.html
    sed
  • Jmxterm - CyclopsGroup.org Wiki

    Tool pour monitorer des values exposées en jmx
    $>beans
    $>bean java.lang:name=G1\ Eden\ Space,type=MemoryPool
    $> info
    $> get XXX

    echo "beans" | java -jar jmxterm-1.0-alpha-4-uber.jar --url localhost:9010 -n|grep -i garbage

    echo "get -b java.lang:type=Memory HeapMemoryUsage" | java -jar jmxterm-1.0-alpha-4-uber.jar --url localhost:9010 -n

    echo "get -b java.lang:name=G1\ Eden\ Space,type=MemoryPool CollectionUsage" | java -jar jmxterm-1.0-alpha-4-uber.jar --url localhost:9010 -n

    or use input file

    pid=$(ps...)
    java -jar jmxterm-1.0-alpha-4-uber.jar -n <<EOF

    open $pid
    beans
    EOF

    December 27, 2013 at 2:57:12 PM GMT+1 - permalink - archive.org - http://wiki.cyclopsgroup.org/jmxterm
    cassandra java jmx monitoring
  • namei - Linux Command - Unix Command

    Une commande qu'elle est bien :

    namei /path/to/the/deepest/file

    Affiche toutes les permissions + les owners de toute l'arborescence jusqu'au fichier.

    via nicolasc

    December 27, 2013 at 10:13:39 AM GMT+1 - permalink - archive.org - http://linux.about.com/library/cmd/blcmdl1_namei.htm
    arbo droit linux permissions right
  • Renommer un node munin sans perdre l'historique

    cp les rrd dans un dossier tmp
    dans ce dossier :
    for file in ./*.rrd; do mv $file $(echo $file|sed 's-ancien.com-nouveau.com-'); done

    mv ces nouveau rrd dans la bonne arbo

    changer la conf munin master

    December 26, 2013 at 4:51:59 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?XXfwKA
    munin
  • Chatteren » Convert flac to mp3 using ffmpeg, retain ID3 tags

    Pourquoi hein ? pour pouvoir les lire dans ma voiture !

    December 23, 2013 at 8:14:06 PM GMT+1 - permalink - archive.org - http://herself.movielady.net/2011/06/21/convert-flac-to-mp3-using-ffmpeg-retain-id3-tags/
    ffmpeg flac mp3
Links per page: 20 50 100
◄Older
page 125 / 217
Newer►
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation