head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2001.04.26.02.26.22;	author garbled;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Add the entire "processes" menu.  This will allow
starting/stopping/showing/restarting of things in /etc/rc.d.  Also add a
few quick top(1)-like utilties just to round the menu off.
@
text
@#!/bin/sh
# $NetBSD$

for i in `ls -1 /etc/rc.d`
do
	/etc/rc.d/$i status
done 2>&1 | grep -v unknown | grep -v Usage | grep 'is running' | \
awk '{print $1}'
echo "none"
@
