Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2601f5
)
Use cut instead of awk for some sort of mem saving.
author
Marco Peereboom
<marco@conformal.com>
Wed, 30 Sep 2009 02:50:11 +0000
(
02:50
+0000)
committer
Marco Peereboom
<marco@conformal.com>
Wed, 30 Sep 2009 02:50:11 +0000
(
02:50
+0000)
From Sepp0 <sepp0@openbsderos.org>
baraction.sh
patch
|
blob
|
history
diff --git
a/baraction.sh
b/baraction.sh
index
1b9d0ea
..
57f0e60
100644
(file)
--- a/
baraction.sh
+++ b/
baraction.sh
@@
-12,7
+12,7
@@
print_date() {
}
print_mem() {
- MEM=`/usr/bin/top | grep Free: | awk {'print $6'}`
+ MEM=`/usr/bin/top | grep Free: | cut -d " " -f7`
echo -n "Free mem: $MEM "
}