Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I get milliseconds in a ksh script on HP-UX?

Status
Not open for further replies.

newDBA

MIS
Nov 8, 2001
21
FR
Can I output millisecond from a ksh script on HP-UX? I know how to get seconds, but milliseconds?


 
in a ksh you could convert secs to milsecs

secs=1000
let "milsecs=$secs*1000"
echo $milsecs

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top