projects
/
feisty_meow.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4808169a78f929358037083d2a8719d1c461ca6e
[feisty_meow.git]
/
list_process_names.sh
1
#!/bin/bash
2
3
# looks for process names for a particular user. if no user is specified, then this
4
# assumes we should look for the current user's processes.
5
6
user="$1"
7
if [ -z "$user" ]; then
8
user="$USER"
9
fi
10
11
ps wuax | grep $user | awk '{ print $11; }'