IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 1 > timex man page

timex man page

Section 1 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





User Commands                                            timex(1)



NAME
     timex - time a  command;  report  process  data  and  system
     activity

SYNOPSIS
     timex [-o] [ -p [-fhkmrt]] [-s] command

DESCRIPTION
     The given command is executed; the elapsed time,  user  time
     and  system time spent in execution are reported in seconds.
     Optionally, process accounting data for the command and  all
     its  children  can be listed or summarized, and total system
     activity during the execution interval can be reported.

     The output of timex is written on standard error.

OPTIONS
     The following options are supported:

     -o       Report the total number of blocks read  or  written
              and  total  characters  transferred by  command and
              all its children. This option  works  only  if  the
              process accounting software is installed.



     -p       List process accounting records for command and all
              its children. This option works only if the process
              accounting software is installed. Suboptions  f, h,
              k,  m, r, and t modify the data items reported. The
              options are as follows:


              -f       Print the fork(2)/ exec(2) flag and system
                       exit status columns in the output.




              -h       Instead of  mean  memory  size,  show  the
                       fraction  of total available CPU time con-
                       sumed by the process during its execution.
                       This  ``hog factor'' is computed as (total
                       CPU time)/(elapsed time).



              -k       Instead of memory size, show total  kcore-
                       minutes.






SunOS 5.10          Last change: 14 Sep 1992                    1






User Commands                                            timex(1)



              -m       Show mean core size (the default).



              -r       Show CPU factor (user time/(system-time  +
                       user-time)).



              -t       Show separate system and user  CPU  times.
                       The  number  of blocks read or written and
                       the number of characters  transferred  are
                       always reported.



     -s       Report total system activity (not just that due  to
              command)  that occurred during the execution inter-
              val of  command.  All  the  data  items  listed  in
              sar(1) are reported.



EXAMPLES
     Example 1: Examples of timex.

     A simple example:

     example% timex -ops sleep 60

     A terminal session of arbitrary complexity can  be  measured
     by timing a sub-shell:

     example% timex -opskmt sh
           session commands
     EOT

ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWaccu                    |
    |_____________________________|_____________________________|


SEE ALSO
     sar(1), time(1), exec(2), fork(2), times(2), attributes( 5)





SunOS 5.10          Last change: 14 Sep 1992                    2






User Commands                                            timex(1)



NOTES
     Process records associated with command  are  selected  from
     the  accounting file /var/adm/pacct by inference, since pro-
     cess genealogy is not available. Background processes having
     the  same  user  ID,  terminal ID, and execution time window
     will be spuriously included.

















































SunOS 5.10          Last change: 14 Sep 1992                    3





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 11:25:33 GMT 2007

Your favourite pages:

No pages logged yet...

Top 10 most popular pages:

prstat man page (24546 hits)
(Solaris 10 11_06)

netcat man page (17695 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (13530 hits)
(Solaris 10 11_06)

signal man page (12550 hits)
(Suse Linux 10.1)

startproc man page (11991 hits)
(Suse Linux 10.1)

raidctl man page (11357 hits)
(Solaris 10 11_06)

adv_cap_autoneg man page (10285 hits)
(Solaris 10 11_06)

sqlite3 man page (9729 hits)
(openSUSE 10.2)

CPAN man page (8947 hits)
(Suse Linux 10.1)

BusyBox man page (7702 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Cambridge Plus :: Pyrenees Places of Interest and Areas of Natural Beauty :: Prototype Electronic Assembly :: Classic Bike Piston Rings
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum