Operating System - HP-UX
1847398 Members
2815 Online
110264 Solutions
New Discussion

nap( ) equivalent with HP-UX 11i

 
nuwendam
Occasional Advisor

nap( ) equivalent with HP-UX 11i

Hi,

It seems nap (suspend execution of process for a specified delay) function does not exist under HP-UX.

Does anyone know what to use instead of nap ?

Thanks
3 REPLIES 3
melvyn burnard
Honored Contributor

Re: nap( ) equivalent with HP-UX 11i

Are you possibly looking for sleep?
My system has nap on it, but it is supplied with the C++ product.

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Bill McNAMARA_1
Honored Contributor

Re: nap( ) equivalent with HP-UX 11i

On an 11.00 system and on an 11i MCOE system I was not able to find a specif nap command, on both systems I was able to man napms() but not nap()

Later,
Bill
It works for me (tm)
melvyn burnard
Honored Contributor

Re: nap( ) equivalent with HP-UX 11i

on my 11.00 system:
swlist -l file |grep nap
C-Plus-Plus.CODELIBS: /usr/contrib/codelibs/nap

so I suspect that is what it is you have not yet loaded.

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!