Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 907 Bytes

2017-10-30.md

File metadata and controls

36 lines (30 loc) · 907 Bytes

Ejercicio calcular hash en Linux

Falta el script de crear un fichero o eliminar un fichero leyendo desde directorio, el ejercicio en la versión final es

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

for i in $(pgrep application.x); do ps -mo pid,tid,fname,user,psr -p $i;done