Changes between Version 3 and Version 4 of CoriolisUnixCommand
- Timestamp:
- Apr 29, 2014, 10:22:13 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CoriolisUnixCommand
v3 v4 1 1 = CoriolisUnixCommand - UNIX Command = 2 3 2 == List running processes == 4 5 3 '''ps''' 6 4 7 Use a pipe grep ( {{{|grep}}}) to select users or processes names.5 Use a pipe grep (`|grep`) to select users or processes names. 8 6 9 7 Useful options : 8 10 9 * a : all processes, not only current user's process 11 10 * u : sorted by user 12 11 * f : show arborescence 13 12 14 exemple ci-dessous : {{{ps fau | grep matlab}}}13 exemple ci-dessous : `ps fau | grep matlab` 15 14 16 15 {{{ … … 23 22 sommeria 4098 0.9 2.9 1218768 436936 pts/10 Sl+ 07:44 2:06 \_ /opt/matlab/R2009b/bin/glnxa64/MATLAB 24 23 }}} 25 26 '''List process with a given processname''' (list of PID numbers): {{{ps -u 'username' | grep processname}}} ({{{|grep}}} detects a string in any display) 24 '''List process with a given processname''' (list of PID numbers): `ps -u 'username' | grep processname` (`|grep` detects a string in any display) 27 25 28 26 == kill process == 29 30 27 {{{ 31 28 kill 'number PID' or stronger 'kill -9 'numero PID' 32 29 }}} 33 34 30 (case of thunderbird: need also to suppress lock files, use command 'rmLock') 35 31 36 32 == Synchronisation of files == 37 38 33 {{{ 39 34 rsync -a rep1 rep2/ 40 35 }}} 41 42 36 (be careful with / , synchronise the directory "rep1" with rep1 existing in rep2 ;) 43 37 44 38 == Change file access properties == 45 46 39 * examples (can be performed only by the file owner): 47 40 … … 57 50 58 51 == Monitor disk space == 59 60 52 {{{ 61 53 df -a … … 78 70 1,5T 79 71 }}} 80 81 72 == Monitor users == 82 73 List potentially connected users … … 85 76 ps faux | cut -f 1 -d ' ' | sort | uniq 86 77 }}} 78 79 == loadaing the source of uvmat as zip file on the web server == 80 1. get an updated version from the svn server by typing: 81 svn checkout http://servforge.legi.grenoble-inp.fr/svn/soft-uvmat/trunk/src uvmat 82 2. compress the folder uvmat as a zip archive, name it as uvmat.v....zip with ... =version number 83 3. transfer the archive to the web site using cadaver (like FTP): 84 85 86