getting inode from filename and its associated fds
I want to know is there any command on LINUX that will do following or I have to write a C program?
if i know filename how to get its inode no. and if that file is open what is its no. of FD's (in case file is opened in many programs)