Find the answer to your Linux question:
Results 1 to 3 of 3
We recently migrated from HP UNIX to Suse Linux. We have several shell scripts which calls oracle process. In our shell scripts we use command called timex, which is used ...
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    4

    Timex Command

    We recently migrated from HP UNIX to Suse Linux. We have several shell scripts which calls oracle process. In our shell scripts we use command called timex, which is used to return the following output at end of the process.

    real 2.7
    user 0.3
    sys 2.2

    It basically returns the elapsed time during the command, the time spent in the system, and the time spent executing the command. Times are reported in seconds.

    I am trying to find an equivalent in Suse linux and not sure if there is one. Appreciate your inputs.

    Thanks

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Try time. Note this may have the same parameters as timrx so check

    man time

  3. #3
    Just Joined!
    Join Date
    Sep 2009
    Posts
    4
    Time -p is equivalent to timex.

    thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...