1834046 Members
2558 Online
110063 Solutions
New Discussion

Re: nfile- file full

 
SOLVED
Go to solution
CHRIS SLATER_2
New Member

nfile- file full

I have been receiving file full error messages.

using sar -v 2 5

file -sz column shows
2086/2512

It obviously reaches 2512 when full.

How can I see what is using the files ?

Thanks,
Chris
10 REPLIES 10
Devender Khatana
Honored Contributor

Re: nfile- file full

Hi,

Yes obviously it is above 80% but if this was captured at a peak time then you should not worry about it and keep on monitoring it when it crosses the 90% mark even once increase it.

HTH,
Devender
Impossible itself mentions "I m possible"
CHRIS SLATER_2
New Member

Re: nfile- file full

Thanks, to increase it is fine.

But I was interested in how to see which processes/users are using the most files etc
Devender Khatana
Honored Contributor

Re: nfile- file full

Hi,

#ps -eaf

Will list all the current progresses.

HTH,
Devender
Impossible itself mentions "I m possible"
Arunvijai_4
Honored Contributor

Re: nfile- file full

Hi Chris,

# UNIX95= ps -ef -o cpu,pcpu,pid,comm

will help you.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
RAC_1
Honored Contributor
Solution

Re: nfile- file full

Do you have lsof tool?? If yes, do as follows. this would give what files are open by what user.

lsof -u "user_name"

Get lsof here.
http://hpux.connect.org.uk
There is no substitute to HARDWORK
CHRIS SLATER_2
New Member

Re: nfile- file full

Thanks,
Number of processes great, can tie that back to the original sar the result is 360 used of 650 but how do these processes link to nfile
John Waller
Esteemed Contributor

Re: nfile- file full

Chris,

I think the utility lsof is what you are looking for :

http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/binaries/hpux/

This will list the open files on your system as well as other useful information. If you search the web you can find quite a few man pages on the lsof command to help.
Arunvijai_4
Honored Contributor

Re: nfile- file full

Hi Chris,

You can download "lsof" from http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.75/

It will help you to find out the files used by a particular process.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
CHRIS SLATER_2
New Member

Re: nfile- file full

Thanks to all for help and wisdom!!
Sivakumar TS
Honored Contributor

Re: nfile- file full

Dear,

You can use ps -eaf to find all open process at the point of time.

You may try #top command also.

With Regards,

SIva.
Nothing is Impossible !