×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
0
Language: Bash
Posted by: Roman Ignatov
Added: Nov 30, 2016 11:13 AM
Views: 16
  1. // to show processes which blocking files on file system (in the example filter by specific value)
  2.  
  3. lsof -n | awk '/sess_/'
  4.  
  5. // what processes doing right now
  6.  
  7. ps -e -o pid,comm,wchan=WIDE-WCHAN-COLUMN  
  8.  
  9. // more details about some process with PID, for example, 10406
  10.  
  11. strace -p 10406