aboutsummaryrefslogtreecommitdiffstats
path: root/modules/process_count
blob: 7d4d0cafe03c9b4a4b2629eaaf8ace03b90ab583 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# Prints out your process count

PREFIX=' '

get_proc_count()
{
	PROC_COUNT=$(ps -Al | wc -l)

	echo "$PREFIX$PROC_COUNT"
}

get_proc_count