Testing this old thing again at squeeze 6.0.4 with 2.6.32 kernel, 
can still reproduce, the long command in previous message shows:


$ while :; do \
    date; /bin/ps -o lstart,command | grep /ps; date; echo; \
  done | \
  perl -ne '
    BEGIN { $/ = "\n\n" }
    @x=grep(s/^(... ... .. ..:..:..).*$/$1/, split(/\n/));
    $p=""; $z=0;
    $z ||= $p gt $_, $p=$_ foreach @x;
    print if $z'
Mon Jan 30 12:00:45 EST 2012
Mon Jan 30 12:00:44 2012 /bin/ps -o lstart,command
Mon Jan 30 12:00:44 2012 grep /ps
Mon Jan 30 12:00:45 EST 2012

Mon Jan 30 12:00:52 EST 2012
Mon Jan 30 12:00:51 2012 /bin/ps -o lstart,command
Mon Jan 30 12:00:51 2012 grep /ps
Mon Jan 30 12:00:52 EST 2012

...

Cheers, Paul

Paul Szabo   [email protected]   http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics   University of Sydney    Australia



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to