projects
/
feisty_meow.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tweak3
[feisty_meow.git]
/
scripts
/
processes
/
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; }'