Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Monitoring directories using Tru64 v5.1
@ 2003-03-11 14:59 nictu
  2003-03-12  8:06 ` TyBreaker
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: nictu @ 2003-03-11 14:59 UTC (permalink / raw)



Hi,

How  would monitor directories under Tru64 v5.1 ? Performance Manager
works for domains, but I may need to check on individual directories.

help and advice much appreciated,

nictu.

--
Posted via http://dbforums.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Monitoring directories using Tru64 v5.1
  2003-03-11 14:59 Monitoring directories using Tru64 v5.1 nictu
@ 2003-03-12  8:06 ` TyBreaker
  2003-03-12 14:27 ` nictu
  2003-03-13 12:20 ` nictu
  2 siblings, 0 replies; 5+ messages in thread
From: TyBreaker @ 2003-03-12  8:06 UTC (permalink / raw)


nictu wrote:
> Hi,
> 
> How  would monitor directories under Tru64 v5.1 ? Performance Manager
> works for domains, but I may need to check on individual directories.
> 
> help and advice much appreciated,
> 
> nictu.
> 
> --
> Posted via http://dbforums.com

Are you after disk usage (du) or file integrity (tripwire) or something 
else?

du will give you a disk usage of a particular path eg "du -ks 
/home/a_user" will spit that out in KB and you could place it in a 
script and do other stuff with the results as well as kicking it off 
from cron if you want regular updates.

tripwire is an open source integrity checker if you're wanting to 
monitor any changes to the file system at all.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Monitoring directories using Tru64 v5.1
  2003-03-11 14:59 Monitoring directories using Tru64 v5.1 nictu
  2003-03-12  8:06 ` TyBreaker
@ 2003-03-12 14:27 ` nictu
  2003-03-13  7:42   ` TyBreaker
  2003-03-13 12:20 ` nictu
  2 siblings, 1 reply; 5+ messages in thread
From: nictu @ 2003-03-12 14:27 UTC (permalink / raw)



Thanks Tybreaker,

Sorry I was not more clear in my original post.

Basically I'm trying to monitor the number of files in certain
directories, the advfs command 'showfsets' does list the number of files
but, of course for mounted filesets.

I guess I could count the Inodes somehow, I know Performance Manager
will do something like that.

Thanks again,

 nictu.

--
Posted via http://dbforums.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Monitoring directories using Tru64 v5.1
  2003-03-12 14:27 ` nictu
@ 2003-03-13  7:42   ` TyBreaker
  0 siblings, 0 replies; 5+ messages in thread
From: TyBreaker @ 2003-03-13  7:42 UTC (permalink / raw)


> I guess I could count the Inodes somehow, I know Performance Manager
> will do something like that.

I know you can get inode info by doing an 'ls -i' but not sure how you'd 
get a summary for a whole directory hierarchy with a single command - do 
you know perl at all?   It could do a count for a hierarchy quite 
quickly with a simple recursive script - plenty to download off the net 
too that do this type of recursion through directories.

You mentioned the showfsets command does this but for mounted filesets - 
are you wanting to monitor unmounted filesets as well?  I'm pretty sure 
you'd have to mount it before you could scan it with anything.  Do you 
know dxadvfs at all?  It potentially may spit out similar stuff to the 
showfsets command but again not sure if it tells you about unmounted stuff.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Monitoring directories using Tru64 v5.1
  2003-03-11 14:59 Monitoring directories using Tru64 v5.1 nictu
  2003-03-12  8:06 ` TyBreaker
  2003-03-12 14:27 ` nictu
@ 2003-03-13 12:20 ` nictu
  2 siblings, 0 replies; 5+ messages in thread
From: nictu @ 2003-03-13 12:20 UTC (permalink / raw)



Hi Tybreaker,

Thanks for the further advice. Using Perl sounds interesting, I
check that out.

Thanks again,

nictu.

--
Posted via http://dbforums.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-13 12:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-11 14:59 Monitoring directories using Tru64 v5.1 nictu
2003-03-12  8:06 ` TyBreaker
2003-03-12 14:27 ` nictu
2003-03-13  7:42   ` TyBreaker
2003-03-13 12:20 ` nictu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox