view bin/cmd @ 7143:e343a173231d

<oerjan> le/rn testing/Testing can only do so much.
author HackBot
date Sun, 06 Mar 2016 16:49:44 +0000
parents ccc447c7c094
children 83a25804a4c6
line wrap: on
line source

#!/bin/bash
pid="$PPID"
[ -n "$1" ] && pid="$1"; cut -d "" -f 3 < /proc/$pid/cmdline