RFDF(1) Rfio User Commands RFDF(1)NAME
rfdf - print information about a mounted filesystem
SYNOPSIS
rfdf filename ...
DESCRIPTION
rfdf provides an interface to the shift remote file I/O daemon (rfiod) for returning information about one or more mounted filesystems.
The filenames may refer to one ore more remote files or directories, each having the form:
hostname:path
or a local file (not containing the :/ character combination). The information for the filesystem on which each file or directory resides
is returned.
The following information may be returned
Path (as specified on the command line)
blocksize
total blocks
free blocks - number of blocks available to non-superuser
total inodes
free inodes
SEE ALSO rfio_statfs64(3)AUTHOR
LCG Grid Deployment Team and DPM Team <hep-service-dpm@cern.ch>
LCG $Date: 2008/06/13 14:32:22 $ RFDF(1)
Check Out this Related Man Page
RFIO_STATFS(3) Rfio Library Functions RFIO_STATFS(3)NAME
rfio_statfs - get information about a mounted filesystem
SYNOPSIS
#include <sys/types.h>
#include "rfio_api.h"
int rfio_statfs (const char *path, struct rfstatfs *statfsbuf);
Under Linux, for large files:
#define _LARGEFILE64_SOURCE
#include <sys/types.h>
#include "rfio_api.h"
int rfio_statfs64 (const char *path, struct rfstatfs64 *statfsbuf);
For large files, under other systems:
#include <sys/types.h>
#include "rfio_api.h"
int rfio_statfs64 (const char *path, struct rfstatfs64 *statfsbuf);
DESCRIPTION
rfio_statfs gets information about a mounted filesystem.
path specifies the logical pathname relative to the current directory or the full pathname of any file in this filesystem.
statfsbuf
is a pointer to a rfstatfs structure:
struct rfstatfs {
long totblks ; /* Total number of blocks */
long freeblks ; /* Number of free blocks */
long bsize ; /* Block size */
long totnods ; /* Total number of inodes */
long freenods ; /* Number of free inodes */
};
struct rfstatfs64 {
signed64 totblks ; /* Total number of blocks */
signed64 freeblks ; /* Number of free blocks */
long bsize ; /* Block size */
signed64 totnods ; /* Total number of inodes */
signed64 freenods ; /* Number of free inodes */
};
The 64 bits function must be used for large filesystems. It has the same syntax as the normal statfs function except that it uses a rfs-
tatfs64 structure.
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ERRORS
ENOENT The named file/directory does not exist or is a null pathname.
EACCES Search permission is denied on a component of the path prefix.
EFAULT path or statfsbuf is a NULL pointer.
ENOTDIR A component of path prefix is not a directory.
ENAMETOOLONG The length of path exceeds CA_MAXPATHLEN or the length of a path component exceeds CA_MAXNAMELEN.
SENOSHOST Host unknown.
SENOSSERV Service unknown.
SECOMERR Communication error.
SEE ALSO Castor_limits(4)AUTHOR
LCG Grid Deployment Team
LCG $Date: 2005/09/20 12:07:09 $ RFIO_STATFS(3)
Hi
I have a tab delimited file with 3 fields. I need to sort this file on the first field and remove all the records where the first field has dulplicates. For eg my file is
133|arrfdfdg|sdfdsg
234|asfsdgfs|aasdfs
133|affbfsde|dgfg
When this file gets sorted I need the result to be ... (2 Replies)
Hi ,
I have inserted some records in a table having column "value1 varchar2(4000)" and want to spool in a file.
I have written as below
set echo off
set feed off
set hea off
set wra off
set lin 500
spo temp_table
and fired select query as below
select value1 from temp_table;
spo... (6 Replies)
Actually i did modification in a file on server by mistake, now its showing current time stamp, is there any way to set the files modified date and stamp to last modifies time.
Please advice here.Thanks in advance.:b: (7 Replies)
Hi All,
I'm a newbie here, i'm just wondering is it possible to convert into uppercase the records in specific field?
ex.
table name = mytable
field1 field2 field3
abd erfdF fdsfdsfsd
how can i convert into uppercase the field2 using sybase?
Please advise,
... (2 Replies)
I am wondering if someone can help a brother out. I am trying to create a DB using a GUI and when I am about to finish, it gets stuck. I hit finish but nothing happens. Any help from the community will be highly appreciated.
... (0 Replies)