parrot_run(1)

NAME

parrot_run - run a program in the Parrot virtual file system

SYNOPSIS

parrot_run [parrot_options] program [program_options]

DESCRIPTION

parrot_run runs an application or a shell inside the Parrot virtual filesystem. Parrot redirects the application's system calls to remote storage systems. Parrot currently supports the following remote storage systems: HTTP, GROW, FTP, GridFTP, iRODS, HDFS, XRootd, Chirp. This list may vary depending on how Parrot was built. Run parrot -h to see exactly what support is available on your system.

Parrot works by trapping the application's system calls through the ptrace debugging interface. It does not require any special privileges to install or run, so it is useful to ordinary users that wish to access data across wide area networks. The ptrace debugging interface does have some cost, so applications may run slower, depending on how many I/O operations they perform.

For complete details with examples, see the Parrot User's Manual

OPTIONS

-a <unix|hostname|ticket|globus|kerberos>
Use this Chirp authentication method. May be invoked multiple times to indicate a preferred list, in order.
-A <file>
Use this file as a default ACL.
-b <bytes>
Set the I/O block size hint.
-c <file>
Print exit status information to file.
-C Enable data channel authentication in GridFTP.
-d <name>
Enable debugging for this sub-system.
-D Disable small file optimizations.
-F Enable file snapshot caching for all protocols.
-f Disable following symlinks.
-E <url>
Endpoint for gLite combined catalog ifc.
-G <gid>
Fake this gid; Real gid stays the same.
-H Disable use of helper library.
-h Show this screen.
-K Checksum files where available.
-k Do not checksum files.
-l <path>
Path to ld.so to use.
-m <file>
Use this file as a mountlist.
-M </foo=/bar>
Mount (redirect) /foo to /bar.
-N <name>
Pretend that this is my hostname.
-o <file>
Send debugging messages to this file.
-O <bytes>
Rotate debug files of this size.
-p <host:port>
Use this proxy server for HTTP requests.
-Q Inhibit catalog queries to list /chirp.
-R <cksum>
Enforce this root filesystem checksum, where available.
-s Use streaming protocols without caching.
-S Enable whole session caching for all protocols.
-t <dir>
Where to store temporary files.
-T <time>
Maximum amount of time to retry failures.
-U <uid>
Fake this unix uid; Real uid stays the same.
-u <name>
Use this extended username.
-v Display version number.
-w Initial working directory.
-W Display table of system calls trapped.
-Y Force sYnchronous disk writes.
-Z Enable automatic decompression on .gz files.

ENVIRONMENT VARIABLES

parrot_run sets the environment variable PARROT_ENABLED to the value 1 for its child processes. This makes it possible to set a visible flag in your shell prompt when parrot_run is enabled.

EXIT STATUS

parrot_run returns the exit status of the process that it runs. If parrot_run is unable to start the process, it will return non-zero.

EXAMPLES

To access a single remote file using vi:
% parrot_run vi /anonftp/ftp.gnu.org/pub/README
You can also run an entire shell inside of Parrot, like this:
% parrot_run bash
% cd /anonftp/ftp.gnu.org/pub
% ls -la
% cat README
% exit
To see the list of available Chirp servers around the world:
% parrot_run ls -la /chirp

COPYRIGHT

The Cooperative Computing Tools are Copyright (C) 2003-2004 Douglas Thain and Copyright (C) 2005-2011 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.

SEE ALSO

  • Cooperative Computing Tools Documentation
  • Parrot User Manual
  • parrot_run(1)
  • parrot_run_hdfs(1)
  • parrot_cp(1)
  • parrot_getacl(1)
  • parrot_setacl(1)
  • parrot_mkalloc(1)
  • parrot_lsalloc(1)
  • parrot_locate(1)
  • parrot_timeout(1)
  • parrot_whoami(1)
  • parrot_md5(1)

  • CCTools 3.4.1 released on 11/11/2011