Is there an AIX command used to check for the total number of file (or filehandle?) currently opened? And is there a limit set some where in the OS to limit the number of file that can be opened?
It will list all open files. Since most everything in UNIX is a file it can do a lot. For example it can tell you about open sockets. I am pretty sure fuser can't do that.
I'd recommend to download lsof from ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/lsof.tar.gz
or ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/lsof.tar.Z
so you are sure to get the latest version directly from the source.
just to put flesh on the bones of the last post;
fuser -c / | wc | awk '{ NR==2; print $2 }' | read ret_val
will put the # of files opened by other processes in the / filesystem into $ret_val
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.