Lines 22-29
Link Here
|
22 |
if [ -f /var/run/blimitd.pid ]; then |
22 |
if [ -f /var/run/blimitd.pid ]; then |
23 |
ps -uxwwp `cat /var/run/blimitd.pid` |
23 |
ps -uxwwp `cat /var/run/blimitd.pid` |
24 |
else |
24 |
else |
25 |
echo 'blimitd may not be running' |
25 |
echo 'blimitd may not be running...possible processes below...' |
26 |
ps -auxww | grep blimitd | grep -v "($0|grep)" |
26 |
echo |
|
|
27 |
ps -auxww | egrep -e '^USER|blimitd' | egrep -v "($0|grep)" |
28 |
fi |
27 |
;; |
29 |
;; |
28 |
*) |
30 |
*) |
29 |
echo "usage: `basename $0` {start|stop|status}" >&2 |
31 |
echo "usage: `basename $0` {start|stop|status}" >&2 |