У меня вот вопрос такой как будет выглядеть регулярное выражение, для захвата имени процесса bash
http://pastebin.com/raw.php?i=xxeAnrU1
... Name: bash ...
Name: bash State: S (sleeping) Tgid: 25734 Pid: 25734 PPid: 25727 TracerPid: 0 Uid: 1000 1000 1000 1000 Gid: 1000 1000 1000 1000 FDSize: 256 Groups: 4 24 27 30 46 109 123 1000 VmPeak: 27564 kB VmSize: 27500 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 5060 kB VmRSS: 5036 kB VmData: 3100 kB VmStk: 136 kB VmExe: 900 kB VmLib: 2240 kB VmPTE: 76 kB VmSwap: 0 kB Threads: 1 SigQ: 0/63288 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000010000 SigIgn: 0000000000384004 SigCgt: 000000004b813efb CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: ffffffffffffffff Cpus_allowed: ff Cpus_allowed_list: 0-7 Mems_allowed: 00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 903 nonvoluntary_ctxt_switches: 84