I need something to get the hard link count from a file in a solaris10 os in java.
parsing ls -l is not an option.
I tried using posix for java http://bmsi.com/java/posix/index.html but couldn't manage to get it working.
Is there any other lightweight API or code to get this info?
See Question&Answers more detail:os