4 Jun
2013
4 Jun
'13
2:11 p.m.
"C. L. Martinez" <carlopmart@gmail.com> writes:
Any idea why??
Changing destination to a file instead of a pipe, all works as expected:
load averages: 0.16, 0.87, 1.25 25 processes: 24 idle, 1 on processor CPU states: 0.0% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.6% idle Memory: Real: 29M/363M act/tot Free: 2649M Cache: 304M Swap: 0K/3067M
PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND 11308 root 2 0 1440K 3712K sleep kqread 0:01 0.05% syslog-ng
Where can be the problem when pipe is used??
Can you run a strace or truss on it? Once when using pipe(), and another one when using file()? -- |8]