15 lines
156 B
Bash
Executable File
15 lines
156 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Prints out your process count
|
|
|
|
PREFIX=' '
|
|
|
|
get_proc_count()
|
|
{
|
|
PROC_COUNT=$(ps -Al | wc -l)
|
|
|
|
echo "$PREFIX$PROC_COUNT"
|
|
}
|
|
|
|
get_proc_count
|