$ whatis ptime

The set of commands that work on proc (psudo) based file systems. The list of ptools are: proc, pflags, pcred, pldd, psig, pstack, pfiles, pwdx, pstop, prun, pwait, ptime - proc tools


Examples:

	
# hostname
MySolaris

# ptime pwd
/var/apache2/2.2/htdocs

real        0.018854308
user        0.004619136
sys         0.009618380

# ptime prtdiag
System Configuration: innotek GmbH VirtualBox
BIOS Configuration: innotek GmbH VirtualBox 12/01/2006

==== Processor Sockets ====================================

Version                          Location Tag
-------------------------------- --------------------------

==== Memory Device Sockets ================================

Type        Status Set Device Locator      Bank Locator
----------- ------ --- ------------------- ----------------

==== On-Board Devices =====================================

==== Upgradeable Slots ====================================

ID  Status    Type             Description
--- --------- ---------------- ----------------------------

real        0.021025758
user        0.004807419
sys         0.007792160

# ptime who
wahid   pts/1        2011-09-30 00:14 (192.168.1.4)

real        0.018213510
user        0.005419622
sys         0.008349802

# ptime date
Friday, September 30, 2011 01:25:36 AM PDT

real        0.017707107
user        0.004858805
sys         0.008267569

# ptime -m date
Friday, September 30, 2011 01:25:53 AM PDT

real        0.015190147
user        0.004693870
sys         0.006536437
trap        0.000001376
tflt        0.000000000
dflt        0.000000000
kflt        0.000000000
lock        0.000000000
slp         0.000940548
lat         0.002021864
stop        0.000513338

Please click on " man ptime. " to see the Manual Page for this command.