Home

HiLA Shell User Guide

image

Contents

1. Execution of run took 4269ms tasks gt 3 6 version Prints version information about HiLA shell to the console The output will look similar to this gt version EUA Sed 232 ADO ZO ONO gt This information is useful if you ask developers for support e g on the UNICORE support mailing list lt unicore support lists sourceforge net gt HiLA Shell User Guide 3 4 Location Commands 4 1 cd Change directory HiLA Shell keeps track about the current location This command resembles command line behavior where cd or chdir change the current directory respectively the current location 4 2 chdir An alias for cd 4 3 icd Change the current local diretory This is useful if you want to use relative local paths for certain commands e g import export 4 4 Ils List local directory 4 5 Ipwd Display current local directory sites gt lpwd home bjoernh Sie si 4 6 pwd Display the current remote Location EMI UNICOREX_201104071445 gt pwd unicore6 sites EMI UNICOREX_201104071445 EMI UNICOREX_201104071445 gt HiLA Shell User Guide 4 5 Task Management 5 1 abort This command aborts a running Task bonitas illo e aros 5 1 1 Options h help Print help message 5 2 Cancel An alias for abort 5 3 monitor Monitor the forthcoming of a task e g import export or compute task Actually this command works on the Progressable interface thus any Re
2. Guide 6 6 4 1 Options e export Export files from working directory a export all Export all files h help Print help message 7 Data handling commands 7 1 Copy Semantics Some of the data handling commands deal with the movement of data i e copying or moving files either within a single storage or between two storages These operations imply that files can already be existing at the target location Therefore we describe the semantics of handling these cases here All copy and data movement commands follow these semantics Consider operation op lt source file location gt lt target file location gt where op is one of the respective commands and source file location and target file location are valid local or remote file locations If target file location does not exist yet but its parent location does and points to a directory then the source file is put into that directory and given the name of the source file If the parent location is an ordinary file then the operation will fail as files cannot be put underneath other ordinary files If lt target file location gt points to an already existing file the following will happen If lt file location2 gt points to a directory then the file will be copied into the directory If lt file location2 gt points to an ordinary file then that file will only be overwritten if the f force option is given 7 2 cat Output the contents of a remote file to the
3. remote file a gt lt remote file b gt Copy semantics apply 7 12 rm Remove files or directories If you want to remove a directory the r option needs to be given 7 12 1 Options r recursive
4. HiLA Shell User Guide EUROPEAN MIDDLEWARE INITIATIVE UNIC2 RE EUROPEAN MIDDLEWARE INITIATIVE HILA SHELL USER GUIDE UNICORE Team Document Version 1 0 0 EMI Component Version v2 2 Date April 2011 This work is co funded by the EC EMI project under the FP7 Collaborative Projects Grant Agreement Nr INFSO RI 261611 HiLA Shell User Guide Contents 1 Preface 2 Commands 3 General commands DE VER os Soe oh eee eco AS Sek ia es Ey eee tes oak AE eign da 32 Delp soe AO A he a ed oe ee he ea oe be eee Ee BS Eers cd Re Gow Ree Ee Ge ate eo Bee a oe Sf QUIE rar SOME SS BEES PHASES eH Be Se wx DI UME eo be oe Oh EGA aed be eae Oe ba bd A s s pa eS Ae A 4 CO fb Ae ba eee eee bbe ee he ea oe ee ee ee 42 ONO RRA AS MCG ee Se Beales a e ees ete ge ein as de ade NE 4A US vou hae ade bea ee be eae eee ee baw eb abe A Be eee be E eB ee we bh be e g AG Pwd 4 2 Acs Bed 8 4 ate uw ade be BBY AR ae Rae dE G Sill ADO don ote e eR Oe ee AAS BG ee eR Se E Sid CAMEO a IEA eH e tee ee 53 MOM 264 5 444 4 beh ne Ow bee eh eee wee baa eae ee DAP PAMS e cr a odos ws Be SER aes ite ee kw oe aa 6 Job Management 6 1 submit 2 046054 64 2085 E48 4 bea See a ew eS EE G2 PSVADE eros A ae eee eH SK NR A a a Hee Ae aie A ROD ss BP te ci A OA Cleanup 26445844 e bbe edd e eb a bed ee eee bee ed Bb A A A RA U WW U UU U Ww N N N N N nna Ur A A HiLA Shell User Guide 7 Data handling commands
5. dl Copy semanucs pide beyid pha Seed A 2 da COW ss Sk ae Ee ak Oe Oa AL Ee ee Ee al De a Oe AU LS CCMMOd s gay cg Ke Ge Sh Ra RE do Gee A TA CODY 4 4 13 ee Be EME RACES BEERS 2 ta CP 2554468 2864 eee ee ae a Bawa oa Bead Bees aU TO ADOR t aoe Gn a he hoe Ge dom GR ee Ro ome ee SS Ll EXPO eiii sr eH SESE ERE EES BY Te WOKE ci og al Ba ee AL BO ee al Bo ge we AU LD MOVE cese poe eee de eee ere GA wee od eS eS TMO Me a dA Be ORL RES ON es we Be a aa TAL APAMSTER chy a Se ak ae ek BO BAL Pouca a ee we al Fe a AAA DAC A 0 0 0 NNN N N A A A A HiLA Shell User Guide 1 1 Preface HiLA Shell is Grid client based on the HiLA API It was incepted as a demonstrator applica tion to show the features of HiLA in use and to give developers a better understanding of the underlying concepts At the same time the commands implemented in the Shell can serve as templates for ones own developments with HiLA Nonetheless HiLA Shell can be used to access Grid resources and act upon them In the following the available commands of HiLA Shell will be described 2 Commands The first command you should know is help It will list all available commands gt help Available commands are Available commands are cleanup Gale LLS rm ls kel e cancel run quit version help time import Clave lal re move copy export transfer monitor submit status mv lpwd mkdir e exit pwd ep stat chmod cd abort 22 Most commands have a help or h op
6. local console cat lt remote file location gt Be careful with cating binary files they may render your console unusable 7 3 chmod Change file mode bits File mode bits can only be set for the user not for the group or other users like you may know from the UNIX command chmod chmod w true false r true false x true false lt file location gt HiLA Shell User Guide 7 7 3 1 Options w write Set write permission to true false r read Set read permission to true false h help This help message x execute Set executable permission to true false 7 4 copy Copy a file within a storage copy lt file location1 gt lt file location2 gt Copy semantics apply 7 4 1 Options f force Force overwrite T Tecursive recursive operation h help Print help message 7 5 cp An alias for copy 7 6 import Import files from local file system to remote storages Copy semantics apply 7 7 export Export files from remote storages to local file system export lt file location gt lt local file path gt Copy semantics apply 7 8 mkdir Make directory Be sure to give a valid file location Creating directories does not make sense if you do not create them inside a storage HiLA Shell User Guide 8 7 9 move Move files within a Storage 7 10 mv An alias for move Copy semantics apply 7 11 transfer Transfer a remote file to another file or directory transfer lt
7. source implementing this interface can be monitored by it 5 4 status Display status of Tasks 5 4 1 Options 1 log Print the job log h help Print help message 6 Job Management 6 1 submit Submit ajob toa Site HiLA Shell User Guide 5 6 1 1 Options s Site Site to which to submit the job r run Run job right away j jsdl JSDL document to be submitted h help Print help 6 2 start Start a Job that is in state NEW 6 2 1 Options b Block on task Optional argument for blocking limited number of ms h help Print this help message 6 3 run Run a remote command and display its output 6 3 1 Options arg arg Argument e exec Executable s Site Site to which to submit the job an application Application name ver version Application version h help Print help message 6 3 2 Example The following command will run usr bin whoami at the site given by the s option gt run e usr bin whoami s unicore6 sites DEMO SITE 201004221047 demo gt 6 4 cleanup Clean up a Job i e remove it from the site The a option will export all files from the working directory of the Job to the local export directory usually hila2 data lt job id gt The e option which can be given multiple times only exports files that are mentioned by the option Files can be given with a path relative to the working directory of the job HiLA Shell User
8. tion that describes the command and lists possible options and arguments We have separated the commands into five categories for documentation purposes The Location commands category documents all commands that are related to location like the current location or others The Task Management category describes all commands that are needed for task management like aborting or querying the status of a running task Commands for handling acutal compute jobs are documented in the Job Management category Data han dling commands are described in the Data Handling section The General category documents all other commands that could not be attributed to a single one of the other categories 3 General commands 3 1 exit Exit HiLA Shell HiLA Shell User Guide 2 3 2 help List available commands 3 3 Is List children of the current location Salis Be Ie unicore6 sites EMI UNICOREX_201104071445 sites gt or tasks gt ls unicore6 sites EMI UNICOREX_201104071445 tasks de6f68c8 99 b4 4a77 a873 c94a87e27c96 unicore6 sites EMI UNICOREX_201104071445 tasks c77 3714 clc5 4c59 befc 7f1191246704 unicore6 sites EMI UNICOREX_201104071445 tasks 2dbd7cb4 4098 42 a gt 929f b092eff82f52 tasks gt 3 4 quit An alias for exit 3 5 time Execute a command and print how long it took tasks gt time run e bin date s unicore6 sites VSGC_201007221554 ime 23 ES ES ZOO

Download Pdf Manuals

image

Related Search

Related Contents

Deutsch - Schuss Home Electronic  Philips Globe energy saving bulb 8710163390406  [F10].データ変換 [F16].マスター登録  SMAC PRO40  Eléments pour le cours LimeSurvey  Zahnkettentrieb Цепной привод    Manual - Nintendo of Europe  American Dryer Corp. ML-122 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file