diff options
author | ramon <ramongomez@us.es> | 2013-07-18 11:27:26 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2013-07-18 11:27:26 +0000 |
commit | be2da413431413efe34bf224aff20241f686dbdb (patch) | |
tree | 0124b48712f2a279ad25e4bfd8caf538389ae27e /client/shared/lib/httpd | |
parent | 9f4f5ab859613b06b80541bf40b4eaa1ea5b35e9 (diff) |
#612: Integrar código del ticket en rama de desarrollo.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3998 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/lib/httpd')
-rwxr-xr-x | client/shared/lib/httpd/LogCommand.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/shared/lib/httpd/LogCommand.sh b/client/shared/lib/httpd/LogCommand.sh index 9a116f7c..22a73251 100755 --- a/client/shared/lib/httpd/LogCommand.sh +++ b/client/shared/lib/httpd/LogCommand.sh @@ -13,7 +13,8 @@ echo "<tr>" echo "<TEXTAREA NAME='trackloghead' ROWS='13' COLS='175'>" #echo "$(head -n 10 /tmp/command.log.tmp | uniq)" -echo "$(grep -v '^Elapsed:\|^Total [Tt]ime:\|^-\|^|\|^bytes\|^\[' /tmp/command.log.tmp | uniq | head -n 10)" +# UHU - 2013/07/05 - Se incluye el simbolo % y la palabra sent para que se muestre la salida de rsync +echo "$(egrep -v '%|sent|^Elapsed:\|^Total [Tt]ime:\|^-\|^|\|^bytes\|^\[' /tmp/command.log.tmp | uniq | head -n 15)" echo "</TEXTAREA>" echo "</tr>" @@ -23,7 +24,8 @@ echo "<tr>" echo "<TEXTAREA NAME='tracklogtail' ROWS='2' COLS='175'>" #echo "$(tail -n 5 /tmp/command.log.tmp | uniq)" -echo "$(grep '^Elapsed:\|^Total [Tt]ime:\|^-\|^|\|^bytes' /tmp/command.log.tmp | uniq | tail -n 2)" +# UHU - 2013/07/05 - Se incluye el simbolo % y la palabra sent para que se muestre la salida de rsync +echo "$(egrep '%|sent|^Elapsed:\|^Total [Tt]ime:\|^-\|^|\|^bytes' /tmp/command.log.tmp | uniq | tail -n 2)" echo "</TEXTAREA>" |