aboutsummaryrefslogtreecommitdiff
path: root/src/bin/ipcclean/ipcclean.sh
blob: d3ea2fc576c72b1e79e235df1bc7ecc742293674 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
#
# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/ipcclean.sh,v 1.1.1.1 1996/07/09 06:22:13 scrappy Exp $
#
PATH=_fUnKy_IPCCLEANPATH_sTuFf_:$PATH
export PATH
ipcs | egrep '^m .*|^s .*' | egrep "`whoami`|postgres" | \
awk '{printf "ipcrm -%s %s\n", $1, $2}' '-' | sh