tips_and_tricks
How to delete spaces from file names on Unix systems using Shell
for f in *; do mv "$f" `echo $f | tr ' ' '_'`; done
How to get your IP addresses on Unix systems
ifconfig | awk '/inet/'
And on Microsoft Windows
ipconfig
If you need to know your public IP address, please visit ifconfig.bsd.am
If your internet connection is slow at the office, do the following tests:
- Copy a large file (more than 100MB) from one of the local servers to you. If the copy speed is low, then there’s an issue with the WiFi. Try reconnecting, it might help.
- If the copy speed is acceptable, do a speed test using Speedtest.net. If the speed is high (more than 250Mbps) then there are no issues connecting to Armenian networks.
- Try doing a speed test using https://librespeed.org/ , make sure you use a Western European server such as Amsterdam or Frankfurt, if the speed is low, then there’s an issue at IIAP.
List Slurm jobs with pretty formatting
$ squeue -o "%.9i %.9P %.24j %.8u %.3t %.16M %.6D %.19R %.4C %.10m"
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) CPUS MIN_MEMORY
6070 comp0a gatk nate R 22-23:37:18 1 comp0 4 12G
6071 comp0a gatk nate R 22-23:37:05 1 comp0 4 12G
6072 comp0a gatk nate R 22-23:35:49 1 comp0 4 12G
6073 comp0a gatk nate R 22-23:35:46 1 comp0 4 12G
6074 comp0a gatk nate R 22-23:35:43 1 comp0 4 12G
6075 comp0a gatk nate R 22-23:35:40 1 comp0 4 12G
6178 comp0a computel2 davit R 9-22:25:52 1 comp0 40 75G
6268 comp0a vc_d.sh smbat R 1-19:44:22 1 comp0 4 50G
6275 comp0a qc_fecal_cfdna mherk R 2:40:11 1 comp0 20 30G
tips_and_tricks.txt · Last modified: by 37.26.174.181
