Changes between Version 3 and Version 4 of CoriolisUnixCommand


Ignore:
Timestamp:
Apr 29, 2014, 10:22:13 AM (10 years ago)
Author:
sommeria
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CoriolisUnixCommand

    v3 v4  
    11= CoriolisUnixCommand - UNIX Command =
    2 
    32== List running processes ==
    4 
    53'''ps'''
    64
    7 Use a pipe grep  ({{{|grep}}}) to select users or processes names.
     5Use a pipe grep  (`|grep`) to select users or processes names.
    86
    97Useful options :
     8
    109 * a : all processes, not only current user's process
    1110 * u : sorted by user
    1211 * f : show arborescence
    1312
    14 exemple ci-dessous : {{{ps fau | grep matlab}}}
     13exemple ci-dessous : `ps fau | grep matlab`
    1514
    1615{{{
     
    2322 sommeria  4098  0.9  2.9 1218768 436936 pts/10 Sl+  07:44   2:06  \_ /opt/matlab/R2009b/bin/glnxa64/MATLAB
    2423}}}
    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)
    2725
    2826== kill process ==
    29 
    3027{{{
    3128kill 'number PID' or stronger  'kill -9 'numero PID'
    3229}}}
    33 
    3430(case of thunderbird: need also to suppress lock files, use command 'rmLock')
    3531
    3632== Synchronisation of files ==
    37 
    3833{{{
    3934rsync -a rep1 rep2/   
    4035}}}
    41 
    4236(be careful with /  , synchronise the directory "rep1" with rep1 existing in rep2 ;)
    4337
    4438== Change file access properties ==
    45 
    4639 * examples (can be performed only by the file owner):
    4740
     
    5750
    5851== Monitor disk space ==
    59 
    6052{{{
    6153 df -a
     
    7870 1,5T
    7971}}}
    80 
    8172== Monitor users ==
    8273List potentially connected users
     
    8576 ps faux | cut -f 1 -d ' ' | sort | uniq
    8677}}}
     78
     79== loadaing the source of uvmat as zip file on the web server ==
     801. get an updated version from the svn server by typing:
     81svn checkout http://servforge.legi.grenoble-inp.fr/svn/soft-uvmat/trunk/src uvmat
     822. compress the folder uvmat as a zip archive, name it as uvmat.v....zip with ... =version number
     833. transfer the archive to the web site using cadaver (like FTP):
     84
     85
     86