# Ejercicio calcular hash en Linux
* https://www.jesusninoc.com/12/02/ejercicios-de-bash-calcular-el-hash-de-un-proceso-en-linux/

# Falta el script de crear un fichero o eliminar un fichero leyendo desde directorio, el ejercicio en la versión final es
* https://www.jesusninoc.com/2014/11/21/creating-deleting-files-user-example/

# Comandos vistos para analizar memoria

|Command|
|---|
|numastat
|ipcs
|lstopo
|numactl
|vmstat
|slabtop
|free
|/proc/meminfo

# proc/stat
http://www.linuxhowtos.org/System/procstat.htm

|Info|Description
|---|---
|user|normal processes executing in user mode
|nice|niced processes executing in user mode
|system|processes executing in kernel mode
|idle|twiddling thumbs
|iowait|waiting for I/O to complete
|irq|servicing interrupts
|softirq|servicing softirqs

# Bucle for en Linux
```Bash
for i in $(pgrep application.x); do ps -mo pid,tid,fname,user,psr -p $i;done
```
