![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Differences between time command and usr/bin/time | icedrake | UNIX for Dummies Questions & Answers | 2 | 02-24-2009 10:48 AM |
| Need a command to get part of a record from file | sreenusola | UNIX for Dummies Questions & Answers | 4 | 08-28-2008 07:13 PM |
| Execute a part of shell script only after particular date and time | fed.linuxgossip | Shell Programming and Scripting | 2 | 06-16-2007 10:04 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Time Command - Part 2
I am trying to collect some scripts performance. I wrote:
#!/usr/local/bin/bash echo Locked Objects time /webaplic/monitor_exp_funcional.sh NUM_LOCKED_OBJ echo Users On time /webaplic/monitor_exp_funcional.sh USERS_ON Then I call "test.sh > Results.out" Obviously, the time command send the stdou to standard erro. So, I should call "test.sh 2> Results.out". But I also want the echo inside the script. How can I do it? Thanks in adavance. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|