http://qs321.pair.com?node_id=11104656


in reply to Re^12: Complex file manipulation challenge
in thread Complex file manipulation challenge

% ps -Upostfix PID TT STAT TIME COMMAND 1114 - I 0:08.52 qmgr -l -t fifo -u 57382 - I 0:00.04 pickup -l -t fifo -u 82762 - I 0:01.28 tlsmgr -l -t unix -u % ps -Upostfix --libxo=json {"process-information": {"process": [{"pid":"1114","terminal-name" +:"- ","state":"I","cpu-time":"0:08.52","command":"qmgr -l -t fifo -u" +}, {"pid":"57382","terminal-name":"- ","state":"I","cpu-time":"0:00.0 +4","command":"pickup -l -t fifo -u"}, {"pid":"82762","terminal-name": +"- ","state":"I","cpu-time":"0:01.28","command":"tlsmgr -l -t unix -u +"}]} }

Replies are listed 'Best First'.
Re^14: Complex file manipulation challenge
by karlgoethebier (Abbot) on Aug 18, 2019 at 16:49 UTC

    Yes, i know less or more.

    But look:

    Karls-Mac-mini:~ karl$ ps -Upostfix --libxo=json ps: illegal option -- - usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]] [-g grp[,grp...]] [-u [uid,uid...]] [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]] ps [-L]

    Different implementation i guess. That's a part of the problem.

    Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help