*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> grio_query_fs (3x)              
Title
Content
Arch
Section
 

Contents


grio_query_fs(3X)					     grio_query_fs(3X)


NAME    [Toc]    [Back]

     grio_query_fs - determine the bandwidth remaining on a file system

SYNOPSIS    [Toc]    [Back]

     #include <grio.h>
     int grio_query_fs(	dev_t fs_dev, int *bytes, int *seconds );

DESCRIPTION    [Toc]    [Back]

     grio_query_fs returns the amount of bandwidth available on	the file
     system specified by fs_dev.  This bandwidth is expressed as the number of
     bytes per second that the file system can provide.	This ratio can be used
     as	a quick	check to determine if the desired bandwidth will be available
     from a given file system, before calling grio_reserve_file(3X) or
     grio_reserve_fs(3X).  The ggd daemon is queried about the remaining file
     system bandwidth.

DIAGNOSTICS    [Toc]    [Back]

     On	success, a zero	is returned and	the bytes and seconds fields contain a
     ratio indicating the available bandwidth.	EIO is returned	if the
     bandwidth of the file system specified by fs_dev cannot be	determined.

FILES    [Toc]    [Back]

     /etc/grio_disks

SEE ALSO    [Toc]    [Back]

      
      
     ggd(1M), grio_associate_file(3X), grio_action_list(3X),
     grio_reserve_file(3X), grio_reserve_fs(3X), grio_unreserve_bw(3X),
     grio_disk(4), grio(5)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
gss_context_time Tru64 Determine remaining lifetime of security context.
fstyp HP-UX determine file system type
timer_gettime IRIX get the time remaining before posix timer expiration
DXmHelpSystemClose Tru64 Closes all of the remaining topic and navigation windows in Bookreader.
lbxproxy Tru64 Low BandWidth X proxy
lbxproxy HP-UX Low BandWidth X proxy
lbxproxy IRIX Low BandWidth X proxy
rqsread IRIX reads the information out of an ELF file that is needed to determine if the file needs to be requickstarted
grio_bandwidth IRIX determines guaranteed-rate I/O device bandwidth
isastream Tru64 Determine if a file descriptor refers to a STREAMS file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service