• Serghei Iakovlev's avatar
    getting pid fixes · d4a9836f
    Serghei Iakovlev authored
    ```sh
    $ ~ pidof redis-server
    # nothing
    
    $ ~ ps aux | grep [r]edis
    redis      593  0.0  0.0  36900  5564 ?        Ssl  Dec02   1:37 /usr/bin/redis-server 127.0.0.1:6379
    klay     15927  0.0  0.0  16772  6068 pts/6    S+   13:58   0:00 redis-cli
    
    $ ~ uname -a
    Linux edge 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:14:42 CET 2014 x86_64 GNU/Linux
    ```
    d4a9836f
whatisdoing.sh 474 Bytes