dhcp status of an interface

hi,

can anyone tell me how to check if my interface is controlled by dhcp?

i tried with ifconfig command

ifconfig interfacename dhcp status

but its showing unknown host : dhcp error.

ps -ef | grep dhcp

cat /etc/network/interfaces

run similar commands on your machine and see what that interface is configured for.

thank you upengan..

I figured out what the problem was.
solaris and linux has different versions of ifconfig. and i was
trying out the solaris syntax in linux machines.