#!/bin/bash

while [ 1 ]; do
	LPROC=`ps aux | wc -l`
	LPROC=`expr $LPROC - 1`
	echo "Liczba procesow: $LPROC"
	sleep 2
done

