Re: BUG: "time" command adding to wrong process.

2014-01-08 Thread James Bonfield
On Wed, Jan 08, 2014 at 10:50:47AM -0500, Chet Ramey wrote: > It's more difficult to get timing information for other individual > processes, and changing the code to do that would interfere with the > ability to time builtins and other shell commands. Understood. Perhaps it just needs a line in t

Re: BUG: "time" command adding to wrong process.

2014-01-08 Thread Chet Ramey
On 1/8/14 7:00 AM, James Bonfield wrote: > Bash Version: 4.1 > Patch Level: 5 > Release Status: release > > Description: > If I have a process running in the background that finishes > while I have a foreground process being timed using the > builtin ti

BUG: "time" command adding to wrong process.

2014-01-08 Thread James Bonfield
pc-linux-gnu Bash Version: 4.1 Patch Level: 5 Release Status: release Description: If I have a process running in the background that finishes while I have a foreground process being timed using the builtin time command, then the CPU time of the background task is err

Re: Fwd: Re: [uml-user] wondering about the output of time command (real/user)

2008-08-04 Thread Chet Ramey
Toralf Förster wrote: Hello, I'm wondering whether it is an issue (pls see below) with the built-in command "time" of my bash (version is 3.2.33(1)-release) or of the liux kernel itself. The kernel. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU[EMAIL

Fwd: Re: [uml-user] wondering about the output of time command (real/user)

2008-08-04 Thread Toralf Förster
Hello, I'm wondering whether it is an issue (pls see below) with the built-in command "time" of my bash (version is 3.2.33(1)-release) or of the liux kernel itself. -- Weitergeleitete Nachricht -- Subject: Re: [uml-user] wondering about the output of time com

Re: time command

2008-06-30 Thread Sam Steingold
Chuck Swiger wrote: On Jun 24, 2008, at 7:47 AM, Sam Steingold wrote: I would like all long-running commands to be auto-timed. i.e., all commands I type at the prompt should be run as if with "time" built-in, but if the real or user time is smaller than some value (specified by the user in an en

Re: time command

2008-06-24 Thread Chuck Swiger
On Jun 24, 2008, at 7:47 AM, Sam Steingold wrote: I would like all long-running commands to be auto-timed. i.e., all commands I type at the prompt should be run as if with "time" built-in, but if the real or user time is smaller than some value (specified by the user in an environment variable

Re: time command

2008-06-24 Thread Sam Steingold
Francis Litterio wrote: Eric Blake wrote: According to Yu Cha Yung on 6/23/2008 12:24 AM: |time ls > time.txt |It doesnt show the information of time in time.txt. That's because in bash, time is a reserved word, and because time's output goes to stderr, not stdout. [...] \time ls >

Re: time command

2008-06-23 Thread Francis Litterio
Eric Blake wrote: > According to Yu Cha Yung on 6/23/2008 12:24 AM: > |time ls > time.txt > |It doesnt show the information of time in time.txt. > > That's because in bash, time is a reserved word, and because time's output > goes to stderr, not stdout. [...] > \time ls >time.txt 2>&1 O

Re: time command

2008-06-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [redirecting to bug-bash, as this is a bash-specific question] According to Yu Cha Yung on 6/23/2008 12:24 AM: |Hi, |I am trying to export the output of time into a text file but failed =sing |the following command: |time ls > time.tx