Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Monitoring a huge file

20 views
Skip to first unread message

James

unread,
Sep 8, 2017, 1:43:09 PM9/8/17
to
In Linux/Solaris,
how do you monitor if someone creates a huge file (let'say > 100 GB) in NFS?

TIA
James

Marek Novotny

unread,
Sep 8, 2017, 2:03:30 PM9/8/17
to
On 2017-09-08, James <hsle...@yahoo.com> wrote:
> In Linux/Solaris,
> how do you monitor if someone creates a huge file (let'say > 100 GB) in NFS?

mount the volume and run the following:

find {the path} -size 100G

--
Marek Novotny
https://github.com/marek-novotny

Kaz Kylheku

unread,
Sep 8, 2017, 2:53:11 PM9/8/17
to
On 2017-09-08, James <hsle...@yahoo.com> wrote:
> In Linux/Solaris,
> how do you monitor if someone creates a huge file (let'say > 100 GB) in NFS?

Give them a 99 GB quota, then wait for the complaint notification.

Percival John Hackworth

unread,
Sep 8, 2017, 3:01:23 PM9/8/17
to
On 08-Sep-2017, James wrote
(in article<3f54c40e-fa49-48ba...@googlegroups.com>):
Since it's on NFS, any monitoring would have to happen on the server that's
exporting the filesystem. Use whatever method you use for monitoring--nagios,
icinga, or a cron checking periodically for files > ${SIZE} on the file
system and emailing the sysadmin.

OR, you could put quotas on the exported filesystem to limit what users can
create. But then you'll get angry calls that their workflow stopped because
they can't create files (because they're over quota). That is, after all, a
form of notification.

0 new messages