Added PROCESS COUNT module

This commit is contained in:
Baitinq 2021-10-21 13:51:25 +01:00 committed by GitHub
parent e5b929d981
commit c5d1205e0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

14
modules/process_count Normal file
View file

@ -0,0 +1,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