Giter Club home page Giter Club logo

cmssh's Introduction

Interactive shell for CMS experiment, http://cms.cern.ch

Dependencies:
-------------
The cmssh shell is written in IPython. So by definition it requires
python (version 2.6 and above), IPython, as well as GRID middleware tools
(Globus, SRM Client). All tools (except python) are installed via
cmssh_install.py script for your convenience.

Installation:
-------------
Download cmssw_install.py script and use it for install purpose. See
cmssh_install.py --help
for more instructions.

Usage:
------
Upon installation you will get a link to cmssh script. Just run it, e.g.

# <path>/soft/bin/cmssh

Welcome to cmssh, master@2012-11-14 19:28:25 GMT
Loading dependencies:................. DONE

cmssh+pylab Python environment [backend: MacOSX].

Available cmssh commands:
find         search CMS meta-data (query DBS/Phedex/SiteDB)
dbs_instance show/set DBS instance, default is DBS global instance
mkdir/rmdir  mkdir/rmdir command, e.g. mkdir /path/foo or rmdir T3_US_Cornell:/store/user/foo
ls           list file/LFN, e.g. ls local.file or ls /store/user/file.root
rm           remove file/LFN, e.g. rm local.file or rm T3_US_Cornell:/store/user/file.root
cp           copy file/LFN, e.g. cp local.file or cp /store/user/file.root .
info         provides detailed info about given CMS entity, e.g. info run=160915
das          query DAS service
das_json     query DAS and return data in JSON format
jobs         status of job queue or CMS jobs
read         read URL/local file content
root         invoke ROOT
du           display disk usage for given site, e.g. du T3_US_Cornell

Available CMSSW commands (once you install any CMSSW release):
releases     list available CMSSW releases, accepts <list|all> args
install      install CMSSW release, e.g. install CMSSW_5_0_0
cmsrel       switch to given CMSSW release and setup its environment
arch         show or switch to given CMSSW architecture, accept <list|all> args
scram        CMSSW scram command
cmsRun       cmsRun command for release in question

Available GRID commands: <cmd> either grid or voms
vomsinit     setup your proxy (aka voms-proxy-init)
vomsinfo     show your proxy info (aka voms-proxy-info)

Query results are accessible via results() function, e.g.
   find dataset=/*Zee*
   for r in results(): print r, type(r)

List cmssh commands    : commands
cmssh command help     : cmshelp <command>
Install python software: pip <search|(un)install> <package>

cms-sh|1>

License:
--------
cmssh is distributed as a part of CMS experiment software. Please consult
CMS experiment page for more information. The GRID middleware tools are
covered by their own individual licenses, please see licenses directory.

cmssh's People

Contributors

vkuznet avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.