Howto use LXPLUS:

Index:

Helpful commands for AFS:

Command: Effect: Arguments:
tokens show all AFS tokens the user currently holds  
klog to obtain an AFS tokens different from the one established upon login [] : username to be used for token
unlog destroy all AFS tokens  
fs whereis show on which afs server a file/directory is saved on [] or [] : file or directory to search on AFS
or $HOME : position of home directory on AFS
fs checks check which afs servers are running  
fs listquota show your quota on AFS  
fs listacl show AFS Access Control List (ACL) [] : show ACL of a directory
fs setacl set AFS Access Control List (ACL) -dir : set ACL of path
-acl : set access right for login
access rights:
r : reading of files
w : writing to files
k : locking of files (flock() system call)
l : the right to search for files in the directory, i.e. list which files it contains
i : creation of new files or directories
d : deletion of files
a : the right to change the ACL
all : r+w+k+l+i+d+a
none : delete entry from ACL
read : r+l
write : r+w+k+l+i+d

Helpful commands for LSF:

Command: Effect: Arguments:
bqueues show list and usage of all LSF queues  
bjobs show status of all submitted LSF jobs [-l] <jobid> : job id number of the LSF job
bsub submit a batch job to LSF [-q <queuename>] : start job in specific LSF queue
[-J <jobname;>] : give job specific name
[-o <file>] : use specific output file
<command> [<arguments>] : program/script to be started on LSF with arguments
bkill kill a LSF job jobid : job id number of the LSF job (see bjobs)
bpeek displays the stdout and stderr output of an unfinished LSF job [-f] : use command tail -f to show output
[-q <queuename>] : show output of most recently submitted LSF job in the specified queue
[-m <hostname>] : show output of most recently submitted LSF job executed on the specified host
[-J <jobname>] : show output of most recently submitted LSF job with specified job name
[<jobid>] : operates on the specified job

Helpful commands for CASTOR:

Command: Effect: Arguments:
nsls list CASTOR file or directory [<file>] or [<directory>] : file or directory on CASTOR to list
or $CASTOR_HOME : list users CASTOR home directory
[--class [<classid>]] : to show file class
[-R] : recursively
[-l] : long listing
[-T] : show tape number of file
[--deleted] : show deleted files
nslistclass show attributes for CASTOR classes [--id <classid>] : CASTOR file class id
nsmkdir create a new CASTOR directory <directory> : file or directory on CASTOR to create
rfdir list CASTOR file or directory <file> or <directory> : file or directory on CASTOR to list
or $CASTOR_HOME : list users CASTOR home directory
[-R] : recursively
rfrm remove CASTOR file or directory <file> or <directory> : file or directory on CASTOR to delete
[-r] : recursively
rfrename rename CASTOR file or directory <oldfilename> <newfilename> : rename file from oldfilename to newfilename
or <olddirectoryname> <newdirectoryname> : rename directory from olddirectoryname to newdirectoryname
rfchmod set CASTOR file or directory permissions <accessright> : access right to set
access rights:
+ : add access rigth
- : remove access right
u : user who owns the file
g : other users in file's group
o : other users not in the file's group
a : all users
r : reading of files or directories
w : writing to files or directories
x : executing of files or accessing of directories
<file> or <directory>: file or directory name to change access rights
rfcp copy local file to CASTOR or from CASTOR to local file <localfilename> <castorfilename> : copy file from localfilename to CASTOR
or <castorfilename> <localfilename> : copy file from CASTOR to localfilename
stager_get stage file(s) to disk -M <castorfilename> [-M <castofilename> ...] : file(s) on CASTOR to stage
[--nowait] : do not wait till staging finished
stager_qry view status of file on staging disk -M <castorfilename> : file on CASTOR staging disk

Helpful linux commands:

Command: Effect: Arguments:
find . -exec grep -H <pattern> {} \; searches a pattern in all files in the directory and all its subdirectories <pattern> : pattern to search

-- DanielDobos - 31 Oct 2004

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2013-03-08 - AndrewChen
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback