Top command

Hi ,

can some one please assist me in using top command
im facing following after using top:

# top -hv
UX:sh (top): ERROR: top: syntax error at line 1: `(' unexpected
# top -p
UX:sh (top): ERROR: top: syntax error at line 1: `(' unexpected

thanks in advance

just paste output of which top

in both cases i have same out put
UX:sh (top): ERROR: top: syntax error at line 1: `(' unexpected

Please type at the command prompt:

which top

find // -name top -print

This will tell you where an executable called "top" came from, and where all the files called "top" can be found.

On most systems "top" is an executable and could not produce that shell script error.